Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

I dont know why my code have an error in ALL steps. I think I must have something right

Your code so far

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

let botName = "Roberto";
let botLocation = "Argentina";
let favoriteLanguage = "Phyton"

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

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

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

codingFact = "My favorite language 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/135.0.0.0 Safari/537.36

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Hey,
Check line 9 of your code. Also you seem to have a favoriteLanguage and a favoritelanguage variable, which I think is making you fail some steps.
Good luck!

1 Like