Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

Step 15 , is not passing and i don’t understand why? please help.

Your code so far

console.log("Hello! I'm your coding fun fact guide!");

let botName;
let botLocation;
let favoriteLanguage;

favoriteLanguage = "JavaScript"

botName="Lulu"

botLocation=" your laptop"

const botNameSentence="My name is " + botName + " and I live on " + botLocation+ ".";
console.log(botNameSentence);

const favoriteLanguageSentence= "My favorite programming language is " + favoriteLanguage + ".";
console.log(favoriteLanguageSentence);

let codingFact = "Did you know that " + favoriteLanguage + " can be used to code anything!" ;
console.log(codingFact);

codingFact= "Did you know that " + favoriteLanguage + " is good to use if you want to make your website interactive !";
console.log(codingFact);

codingFact= "Did you know that " + favoriteLanguage + " is different from Java!";
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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

double check your spacing, you have an extra space in one of the variables so you don’t see the issue just looking at the console

1 Like

Please show me where the mistake is , i just checked my spacing and tried to fix what i thought was wrong. Please show me so i know what to avoid doing in the near future , because honestly i tried fixing but its still not passing.

fixed it , thank you , it was the spacing