Javascript 2.2 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Javascript 2.2

I have no idea what I’m doing wrong at all I do document.write(“JS is cool”) but nothing I’m new to all this and that’s what they taught me to do in Java script 2.1 please help

27th May 2021, 12:44 AM
Alex Ramistella
3 Answers
+ 4
You need to use double quotes (" ") and console.log() console.log ("Antarctica is cool")
27th May 2021, 12:50 AM
Simba
Simba - avatar
+ 2
https://code.sololearn.com/WMxIt4icDO4p/?ref=app Try this and see that you haven't got any space between all this
3rd Mar 2022, 12:13 PM
Ahmed Waiz
Ahmed Waiz - avatar
27th May 2021, 1:03 AM
Paul K Sadler
Paul K Sadler - avatar