Do I need to place script tags around the console.log("message"); commands?
If I don't use script tags, the "console.log("message");" shows up on the webpage. But Dave didn't say to use them - 1) do I need to use them, and 2) if not, how do I get the text of the command NOT to show up on the page? Thanks!
Steven Parker207,979 Points
Congratulations on resolving your own issue.
<script> tags, but for anything substantial it's much better to have a separate file and load that from the HTML.
Mohammed Munier Hamoud Shikh1,616 Points
Yes, you must put els ""or ''if you want to print a String (Text).But later you will see that we are able to print the content of the variables.