Ask coding questions

← Back to all posts
Exporting
Bunnytoes

I was trying to export this from intellij to replit, but I copied the html code, but it won't run, it just shows the code, of the project, how can I get it to run? I want it to do this because intellij writes  and replit doesn't

Voters
Bunnytoes
Comments
hotnewtop
sn236

@Bunnytoes,You have written or copied the code inside span, so it takes it as text. If this is a java file I think you need to create a java file in this project and link it with html

Bunnytoes

@sn236 how do I do that?

sn236

@Bunnytoes You can use the same method you use to link javascript.

<script src="filename.js"></script
Bunnytoes

@sn236 can you help me make a run button?

CodeMaster007

I’m confused, were you trying to run the Java file through html?

Bunnytoes

@CodeMaster007 yes I went to the export in it and I can't figure out how to make it run