Javascript: Beginner Bootcamp (2020) |best|

Published: March 15, 2020 Difficulty: Beginner Cohort: Spring 2020

let hour = 14; // 2 PM if (hour < 12) console.log("Good morning, coder!"); else if (hour < 18) console.log("Good afternoon! Keep typing."); else console.log("Evening coding session? Nice."); javascript beginner bootcamp (2020)

let name = "Alex"; // This can change later const birthYear = 1995; // This will NEVER change console.log(name + " was born in " + birthYear); Published: March 15

// Define the function function greetUser(userName) return "Hey " + userName + ", welcome to 2020!"; // 2 PM if (hour &lt

Try this: