Hi I am learning javascript as school and successfully made a window.alert program, however I want to make my .html page less messy, so can I copy and paste the .js code in a .js file then link that .js file into my .html page?
Here are my pages, open them in google (I made them with thimble)
Oh man, i donโt know what i was thinking when i wrote that
The correct syntax is <scriptsrc = java.js></script>
If you solved your problem iโm happy, but i just realized few minutes ago of what i wrote: Iโm sorry if my mistake wasted your time