Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

I try whole day but can not find out where is wrong with no15 – the last message. Some one please help me!

Your code so far

console.log("Hello! I'm your coding fun fact guide!");
let botName="Terry";
let botLocation="LA";
let favoriteLanguage="C";
let firstsent="My name is "+ botName+ " and I live on "+ botLocation+".";
console.log(firstsent);
let secondcent="My favorite programming language is "+favoriteLanguage +".";
console.log(secondcent);
///1 time
let codingFact="Like Math";
console.log(favoriteLanguage +" " +codingFact );
//re 1
codingFact="its hard to use " + favoriteLanguage;
console.log(codingFact);
//re2
codingFact="but it's important to learn " +favoriteLanguage;
console.log(codingFact);
//re3 
codingFact="but it's important to learn " + favoriteLanguage;
console.log(codingFact);
// Farewell message
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/139.0.0.0 Safari/537.36

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot
https://www.freecodecamp.org/learn/full-stack-developer/lab-javascript-trivia-bot/lab-javascript-trivia-bot

the last test is seeing this, double check if you have more condingFact than requested


I try to remove //re3 and face with no14 issue : Missing the third reassign codingFact

please post your code, do not share a screenshot

you need to review this one
codingFact does not contain favoriteLanguage here

and you are not printing condingFact only

1 Like

Thanks for your prop support. I made it done