10 JavaScript Exercises

1. Sum of Two Numbers (Basics: Variables, Input, Output) Learning Objectives Task Ask the user for two numbers, add them, and show the result. Sample Solution Explanation 2. Even or Odd? (Conditionals) Learning Objectives Task Ask the user for a number and tell them whether it’s even or odd. Sample Solution Explanation 3. Countdown (Loops) ...