Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

I don’t know why I can’t pass the test. I’ve used quotation marks at the beginning of every string as suggested in previous thread on this topic but it doesn’t seem to work. The issue is with the 8th, 14th and 15th instructions

Your code so far

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

let botName = "Jerry";
let botLocation = "Milan";
let favoriteLanguage = "French";

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

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

let codingFact = "I always wanted to program in " + favoriteLanguage;

console.log(codingFact);

codingFact = "I learned  " + favoriteLanguage + " only at 32 years old."

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; rv:147.0) Gecko/20100101 Firefox/147.0

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Hi.

Look at spacing carefully on all your text / console logs.

You have a syntax error here:

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

You need to do a third coding fact assignment and console log.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.