How do you print using console.log() | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do you print using console.log()

Console.log("JavaScript")

13th May 2021, 8:01 PM
Kings Shibombi
Kings Shibombi - avatar
4 Answers
0
You capitalized "C" and JavaScript is case senstive language. Try console.log("JavaScript") instead.
13th May 2021, 8:56 PM
Hisham YUM 🇲🇦
Hisham YUM 🇲🇦 - avatar
0
also, console.log() output to web console... that mean if you run your code in a browser, you must display the console by yourself in most cases (including sololearn code playground website) ^^ however, if you run your console.log() code through sololearn app', the console output should be redirected to a pop-up frame wich could then be expanded or hided by swiping its title bar...
14th May 2021, 2:56 AM
visph
visph - avatar
0
console.log("hello"),js is case sensitive
14th May 2021, 11:21 AM
E.S Cherish
E.S Cherish - avatar