wut the... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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>

7th Feb 2018, 2:30 PM
Konrad Souser
Konrad Souser - avatar
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.
7th Feb 2018, 2:56 PM
Ice
Ice - avatar