Loading workspace environment...
Understand the fundamental concept of programming: giving clear, unambiguous instructions to a computer.
console.log("Hello, World!");Outputs a message or value to the console screen.// Step 1: Print the start message
console.log("Starting tea preparation...");
// Step 2: Print each action in order
console.log("Step 1: Fill the kettle with water.");
console.log("Step 2: Boil the water to 100 degrees Celsius.");
console.log("Step 3: Pour into the mug and steep for 3 minutes.");
// Step 3: Print the finished state
console.log("Tea is ready to drink!");Starting tea preparation...
Step 1: Fill the kettle with water.
Step 2: Boil the water to 100 degrees Celsius.
Step 3: Pour into the mug and steep for 3 minutes.
Tea is ready to drink!console.log("Starting...");Tells the runtime to output the quoted text to the screen.// Step 1: ...A code comment ignored by the computer, written purely for humans.console.log(Hello World!);console.log("Hello, World!");Architectural Explanation: Text messages must be enclosed in quotes (double or single quotes). Without quotes, the computer thinks Hello and World are variable names and throws an error.
console.log("Apple");
console.log("Banana");
console.log("Cherry");Write a program that logs 3 steps of your morning routine in sequential order.