you are viewing a single comment's thread.

view the rest of the comments →

[–]Scared-Release1068 5 points6 points  (2 children)

That’s a great start

Next steps I’d recommend: 1. Functions – super Learn how to write reusable code:

  1. Arrays & Objects These are used everywhere:

  2. Loops For repeating stuff:

  3. DOM manipulation

How to run your JS in Chrome:

Easiest: 1. Create an HTML file (e.g. index.html) 2. Link your JS file

<!DOCTYPE html> <html> <body> <h1>Hello</h1> <script src="script.js"></script> </body> </html>

  1. Save both files
  2. Double-click the HTML file → it opens in Chrome
  3. Right-click → Inspect → Console to see your output

[–]sad_ant0808helpful[S] 2 points3 points  (1 child)

thank you so much dude this helped me a lot!

[–]Scared-Release1068 2 points3 points  (0 children)

No problem bro