+ 2
wut the...
I type in the exact code the program tells me to, and there is always an error telling me that < isn't a legal mark and I cant put it in. Heres what I have got so far and can't fix line 2. <html> <head></head> <body> <script> document.write("Hello World") </script> </body> </html>
1 Answer
0
Are you saving that file as a .html? Save it as sitename.html and then run it... (or if you are doing that code in sololearn's code playground put javascript code in 'JS'...
Anyway, if that dont work explain a little bit more.