JavaScript I
Javascript for Beginners
Embark on your coding journey with our JavaScript Beginner Course! Discover the core concepts of JavaScript, from variables and data types to basic operations. Unleash your potential to create interactive web experiences and build a strong foundation for web development. Join us to unlock the magic of code and shape the future of the web! 🚀💻
- Day 1
Concept:
Resources:
Assignments:
[{"_type":"heading","level":3,"text":"Your Task"},{"_type":"paragraph","spans":[{"text":"Step 1: Display a welcome message in the console:\n\n \"Welcome to Tony’s Café — Where Genius Meets Coffee\"\n "}]},{"_type":"paragraph","spans":[{"text":"Step 2: Store the following details in variables:\n \n Café Name\n Owner Name ("},{"text":"Tony Stark","bold":true},{"text":")\n Café Location\n Coffee Price\n \n "}]},{"_type":"paragraph","spans":[{"text":"Step 3: Use console.log() to print all the stored details neatly."}]},{"_type":"heading","level":3,"text":"💡 Bonus Challenge"},{"_type":"paragraph","spans":[{"text":"Try using template literals (`backticks`) for a cleaner message:"}]},{"_type":"codeBlock","language":"plaintext","code":"console.log(`Welcome to ${cafeName}! Run by ${owner}, located at ${location}.`);"},{"_type":"paragraph","spans":[{"text":"Tip: Go to Submit via Editor, select JavaScript from the dropdown, write your code, and click Run — you’ll see your output in the console!"}]}]
- Day 2
Concept:
Resources:
Assignments:
[{"_type":"paragraph","spans":[{"text":"You're going to create a digital welcome board for Tony’s Café! Make a few small edits in the JavaScript code — and watch the popup appear with your personalized café greeting! ☕"}]},{"_type":"heading","level":3,"text":"Your Tasks"},{"_type":"paragraph","spans":[{"text":"Fix the Welcome Message:\n\n In the JS code, you’ll find a wrong or incomplete message inside alert().\n\n Replace it with this correct greeting:\n\n \"Welcome to Tony’s Café — Where Genius Meets Coffee!\"\n "}]},{"_type":"paragraph","spans":[{"text":"Ask the Customer’s Name:\n\n Use prompt() to ask:\n\n \"What’s your name, dear guest?\"\n "}]},{"_type":"paragraph","spans":[{"text":"Display Personalized Greeting:\n\n Use another alert() to display:\n\n \"Hello,