Build A Javascript Trivia Bot - Step 14

I cannot get Step 14 to pass. I’m pretty sure I’ve got all 3 coding facts and logged them properly.

I’ve tried with and without the last codingFact, neither will pass.

Here’s my code:

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

let botName = "Henry";
let botLocation = "Iowa";
let favoriteLanguage = "Javascript"

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

let codingFact = "My favorite programming language is " + favoriteLanguage + ".";
console.log(codingFact);

codingFact = favoriteLanguage + " is so much fun to learn!";
console.log(codingFact);

codingFact = "What I love most about " + favoriteLanguage + " is that it's used to build so many different apps.";
console.log(codingFact);

codingFact = "What I REALLY love most about " + favoriteLanguage + " is that it's used to build so many different apps.";
console.log(codingFact);

console.log("It was fun sharing these facts with you. Goodbye! - " + (botName) + " from " + botLocation + ".");

Hi

Can you please link to the challenge you are doing.

Thanks.

Hi.

Story 4 requires you to log that statement to the console. You have assigned it to Coding fact which isn’t what was asked. Do the correct assignment and put another coding fact for the initial assignment.

On the last console log you have botName in brackets.

I did fix the bot in parenthesis, thank you. Good catch!

Step 14 states: You should assign a value to codingFact for the third time that also contains favoriteLanguage, and log it to the console.

That’s the same step as the one before it with the same type of wording. Are you saying I shouldn’t assign a value to it but should only console log the statement?

Hi

Sometimes not doing the stories properly with throw it off.

After the console for user story 3 it says to another console log with:

" 1. You should log "My favorite programming language is (favoriteLanguage)." to the console."

I can’t see that you have a console log that does this?