Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

Olá, comunidade freeCodeCamp! Meu código deu certo nas 14 etapas do teste, mas a última não é aprovada. Alguém sabe me dizer o que falta no meu código?

Your code so far

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

let botName = "Fabio";
let botLocation = "Planaltina";
let favoriteLanguage = "Javascript";

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

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

let codingFact = "That's a fun fact about your bot's favorite coding language " + favoriteLanguage + ".";
console.log(codingFact);

codingFact = 'My favorite hobby is coding with ' + favoriteLanguage +'.';
console.log(codingFact);

codingFact = "The new Friendly Neighbourhood is " + favoriteLanguage + ".";
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/137.0.0.0 Safari/537.36

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Welcome to the forum @willpaes !

You should log "It was fun sharing these facts with you. Goodbye! - (botName) from (botLocation)." to the console as a farewell statement from the bot.

In this user story, the parentheses are used to indicate that a value should be replaced with the variable. They should not be added literally.

Happy coding!

Wow, I actually tried doing this before, and believe it or not, it didn’t work. Thanks for your help!