Tell us what’s happening:
Step 1
In this workshop you will learn how to work with JavaScript fundamentals by building a greeting bot.
In this first step, you will want to output a message to the console from the greeting bot.
Remember that you learned about console.log() and strings in previous lessons.
Here is a reminder of how to use console.log() with strings:
Example Code
console.log(“Hello, World!”);
Add a console.log() statement that outputs the string “Hi there!” to the console. Don’t forget your quotes around
Your code so far
// User Editable Region
console.log('"Hi there!"');
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/153.0.0.0 Safari/537.36
Challenge Information:
Build a Greeting Bot - Step 1