Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

I have tried this exercise a number of times and it fails I cannot see what I am doing wrong as the console output seems correct

Your code so far

console.log("Hello! I'm your coding fun fact guide!");
let botName
botName = "Robert";
let botLocation;
botLocation = "Alpha Centuri";
let favoriteLanguage;
favoriteLanguage = "HTML"
console.log("My name is " + (botName) + " and I live on " + (botLocation));
console.log("My favorite programming language is " + (favoriteLanguage));
let codingFact = "You can view any websites " + (favoriteLanguage);
console.log(codingFact);
codingFact = (favoriteLanguage) + " was invented in 1993.";
console.log(codingFact);
codingFact = (favoriteLanguage) + " Stands for HyperText Markup Language.";
console.log(codingFact);
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/143.0.0.0 Safari/537.36

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

  • all of your console log is missing “dot” after each string.

add them and try again, happy coding :slight_smile:

1 Like

Yep, that was the problem. I just could’nt see it …. Thanks

1 Like