Javascript Beginner Bootcamp (2020) -
// Output: // Loop number: 1 // Loop number: 2 // Loop number: 3 // Loop number: 4 // Loop number: 5 Let’s put everything together. Open your console and type this:
let name = "Alex"; // This can change later const birthYear = 1995; // This will NEVER change console.log(name + " was born in " + birthYear); javascript beginner bootcamp (2020)
Got questions? Drop them in the comments. And yes — == vs === ? Always use === in 2020. You’ll thank me later. Share it with a friend who still thinks HTML is a programming language. // Output: // Loop number: 1 // Loop
But before you build the next billion-dollar startup, you need to learn how to talk to the computer. And yes — == vs ===
const askMood = () => let mood = prompt("How are you feeling today? (happy, tired, confused)"); if (mood === "happy") console.log("🎉 Keep that energy! JS is fun when you're happy."); else if (mood === "tired") console.log("☕ Take a 5-min break. Coffee helps. So does sleep."); else if (mood === "confused") console.log("🤔 That's normal! Confusion is the first step to understanding."); else console.log("📝 Whatever you're feeling, keep coding. You've got this.");
This is designed for absolute beginners. No computer science degree required. No prior coding experience needed. Just you, a browser, and a little bit of curiosity.