🎉 Just shipped my first JavaScript project! Built a Random Quote Generator in ~2 hours. Live: https://lnkd.in/dDxUUcRD What I learned: - Arrays store multiple items in one variable - Math.random() generates random numbers (Math.floor() rounds them down!) - document.getElementById() finds HTML elements - .textContent changes what's displayed - onclick connects buttons to functions What confused me at first: → Why commas are needed between array items → The difference between randomIndex and the actual quote Tech stack: HTML, CSS (Flexbox), JavaScript Next week: Building a CRUD To-Do List app Small wins add up! 💪 #100DaysOfCode #JavaScript #WebDevelopment #LearnInPublic

To view or add a comment, sign in

Explore content categories