Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

idk what’s wrong with the farewell statement! help

Your code so far

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

let botName = "FreeCodeCamp";
let botLocation = "the Universe";
let favoriteLanguage = "JavaScript";

console.log("My name is " + botName + " and I live on " + botLocation + ".");
console.log("My favorite programming language is " + favoriteLanguage + ".");
console.log("Three interesting facts about " + favoriteLanguage);

let codingFact = favoriteLanguage + " is single-threaded but can handle asynchronous tasks using the event loop.";
console.log(codingFact);

codingFact = favoriteLanguage + " === checks both value and data type, while == only checks value with type conversion.";
console.log(codingFact);

codingFact = favoriteLanguage + " === checks both value and data type, while == only checks value with type conversion.";
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/145.0.0.0 Safari/537.36

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

The instructions did not ask you to log this.

And both of these coding facts are exactly the same.

1 Like