Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

Im getting every tests wrong except for “10” how is that so when i’ve logged test 1 correctly & declared “botName” with the other variables on the same line.

Your code so far

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

let botName = "Brain"
let botLocation = "Program" 
let favoriteLanguage = "Javascript"

console.log("My name is " + botName + "and I live on " + botlocation + ".")

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

let codingFact = "Build more learn more dude " +favoriteLanguage+ "is great for it.";

console.log("Build more learn more dude " +favoriteLanguage+ " is great for it." )

let favoriteLanguage = "Theres so much more to learn on " +favoriteLanguage+ " from web development to basic syntax "

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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Hi and welcome to the forum :wave:

Do you have the console open? Do you see an error message before you even run the tests?

Try to fix that first.

Be sure and read more than just the first line of the failing message. The ability to read and comprehend error messages is a skill you’ll need to acquire as a developer. Ask questions on what you don’t understand.

hello and welcome to fcc forum :slight_smile:

in addition, try to attempt “each of those individually” its much easier that way

if you fix that “error” that being shown in preview you would be able to get going straightaway

happy coding :slight_smile: