Tell us what’s happening:
All the code works up to the point when i insert the last line, then it acts like everything isn’t there. For example, I’m on the last step and i finish typing in the last line of code, and it sets me back to the first step. I don’t know if this is a bug, or something is wrong with my code.
Your code so far
console.log("Hello! I'm your coding fun fact guide!");
let botName = "triviaBot";
let botLocation = "Your computer";
let favoriteLanguage = "Code";
console.log("My name is " + botName + " and I live on " + botLocation + ".");
console.log("My favorite programming language is " + favoriteLanguage + ".");
let codingFact = "People use " + favoriteLanguage + " to build huge softwares.";
console.log(codingFact);
codingFact = "They used " + favoriteLanguage + " to make me too!";
console.log(codingFact);
codingFact = "I think " + favoriteLanguage + " is the best EVER!";
console.log(codingFact);
// Area of concern.
console.log('It was fun sharing these facts with you. Goodbye!- ' + botName + ' from ' + botLocation +);
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 JavaScript Trivia Bot - Build a JavaScript Trivia Bot