What is the work of console.log in website ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the work of console.log in website ?

4th Feb 2022, 2:40 PM
makhrab dip
3 Answers
+ 6
Hello, makhrab dip You view the your output in console section of inspect tool Right click on chrome's page click on inspect, where you can view console section console.log() is for printing anything in console, it may helpful for checking things by not changing in your website! Happy Learning 🙂
4th Feb 2022, 2:45 PM
Abhiyantā
Abhiyantā - avatar
+ 3
makhrab dip I think spck editor is helpful for checking or in Sololearn also you can see the result of console.log()
5th Feb 2022, 2:31 AM
Abhiyantā
Abhiyantā - avatar
0
makhrab dip The main purpose of console.log is debugging error or problem in code
4th Feb 2022, 4:10 PM
A͢J
A͢J - avatar