- 3

Javascript no input

I solve it by console.log("js is fun") but it shows no input pls help

4th Jul 2021, 6:53 AM
Cozmo
4 Answers
+ 2
J should be uppercase in Js. Maybe there is a punctuation mark(! or .) at the end. console.log("Js is fun.")
4th Jul 2021, 7:45 AM
Simba
Simba - avatar
+ 1
Thx guys
4th Jul 2021, 8:53 AM
Cozmo
0
console.log("string") prints "string" in the console. To ask for an input use prompt(). Example : prompt("What is your favorite programming language?");
4th Jul 2021, 7:01 AM
Saphal Poudyal
Saphal Poudyal - avatar
0
what is the input it says No input pls there is someone who can help me to this I typed console.log("Js is fun!"); what is the input
28th Aug 2021, 5:35 AM
ifrah abdi
ifrah abdi - avatar