Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

I can’t pass the following step:

You should log to the console “My name is (botName) and I live on (botLocation).” and add the variables to the string. part.

I’m not sure what I’m doing wrong.

Your code so far

console.log("Hello! I'm your coding fun fact guide!");
const botName = "Voltron";
const botLocation = "Planet Zorgon";
const favoriteLanguage = "JavaScript";
console.log("My favorite programming language is " + favoriteLanguage + ".");
console.log("My name is " + botName + " and I live on " + botLocation + ".");

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Hi

You need to put the console logs in the order they ask for.

1 Like