Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

my code is wrong on the 9th and 13th tests please help me

Your code so far

console.log("Hello! I'm your coding fun fact guide!");
let botName = "doggie";
let botLocation = "earth";
let favoriteLanguage = "JavaScript";
console.log('My name is ' + botName + ' and I live on ' + botLocation + '.');
console.log("My favorite programming language is "+favoriteLanguage+".")
favoriteLanguage = 'C++'
let codingFact = "My second favorite programming language is " + favoriteLanguage +".";
console.log(codingFact);
favoriteLanguage = 'Python'
codingFact = "My third favorite programming language is " + favoriteLanguage +".";
console.log(codingFact);
favoriteLanguage = 'C';
codingFact = "My fourth favorite programming 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/152.0.0.0 Safari/537.36

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-javascript-trivia-bot/66ed41f912d0bb1dc62da5dd.md at main · freeCodeCamp/freeCodeCamp · GitHub

Welcome to the forum @edennathayu

Were you asked to reassign favoriteLanguage?

Happy coding

if i remove that it test 12 wil not be right

Please post your updated code, formatted as follows:

There are two ways you can format your code to make it easier to read and test:

  1. After you copy/paste your code into the editor, select it by dragging your cursor over it then click the (</>) button in the toolbar to automatically wrap your code in backticks. (You can click on the animated demo image below to enlarge it.)

  1. Manually add three backticks on a new line above your code and on a new line after your code. Note that a backtick is NOT the same as a single quote('). To find the backtick key on your keyboard, see this post.

To see changes to your post as you make them, you can click the (M+) button on the toolbar to bring up the rich text editor: