If you find it difficult to style the output, we can do it in the JavaScript console.
The steps are as follows:
Click on Inspect Element in the browser's Developer Tools, and then scroll down to see your new string!
Print this code in the JavaScript console:
console.log("%cHello world","font:size:40px; color:blue ");
Change the text to whatever you want and then hit enter
Now you can see the changes in the console tab
Have fun and enjoy coding!😊
Top comments (1)
intresting...🤔