Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

This might be a server side coding bug;

Throughout this particular tutorial, submitting the correct answer and proceeding to the next step would happen but some of the checkmarks icons would incorrectly change to ‘X’ icons in the left column from previous steps. (Ex., Steps 1-11 in the Test section contain checkmark icons. I run the tests, submit and proceed to the next step. Steps 3, 8, 9 now have ‘X’ icons).
This is happening on the last step which is preventing me from finishing the job.

Your code so far

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

let botName = "Bender";
let botLocation = "Robot Home";
let favoriteLanguage = "Robotese";
console.log("My name is " + botName + " and I live on " + botLocation + ".");

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

let codingFact = favoriteLanguage + ".";

console.log(codingFact);

codingFact = "I love the ancient robot language of " + favoriteLanguage + ".";

console.log(codingFact);

codingFact = "Did you know that over 65 gazillion robots can speak all 7 quadrillion dialects of " + favoriteLanguage + "?";

console.log(codingFact);

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

I can’t come up with a syntax that passes tests 11 or 14, either. So I went looking for the actual test. It’s this (for test 11):

assert.match(code, /codingFact\s*=\s*(("|'|`)?.+?\1?\s*\+?\s*|favoriteLanguage\s*\+\s*(("|'|`)?.+?\3?))/);

(source)

Now, my regex-foo isn’t 100%, but it sure seems like that should match either of your lines:

let codingFact = favoriteLanguage + ".";
...
codingFact = "I love the ancient robot language of " + favoriteLanguage + ".";

Maybe someone with better regex-foo than me can determine why your perfectly cromulent code isn’t passing that test.

[quote=“palko.john, post:1, topic:764800”]

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

[/quote], this is not what you should do with the Goodbye line

double check the instructions