Hello world/Newbie: Difference between revisions
Content added Content deleted
Simple9371 (talk | contribs) m (→{{header|JavaScript}}: added 'code' tags) |
|||
Line 892: | Line 892: | ||
=={{header|JavaScript}}== |
=={{header|JavaScript}}== |
||
1. |
1. Go to the "Developer Console" part of your preferred web browser. |
||
2. |
2. You can choose between the <code>console.log()</code> method or the <code>alert()</code> method (suggestion: try both). |
||
⚫ | |||
⚫ | |||
<lang>console.log("Hello, World!");</lang> |
<lang>console.log("Hello, World!");</lang> |
||
This will be printed on the Console tab part of your web browser. |
|||
⚫ | |||
<lang> |
|||
⚫ | |||
</lang> |
|||
⚫ | |||
⚫ | |||
<lang>alert("Hello, World!");</lang> |
<lang>alert("Hello, World!");</lang> |
||
This will appear in the shape of a 'pop-up' in your browser. |
|||
3. |
3. There is no number 3, Happy Coding! |
||
=={{header|jq}}== |
=={{header|jq}}== |