Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

Hi, I’mm having issues with the steps: 8,9,11 and 15;
8. You should log to the console “My name is (botName) and I live on (botLocation).” using concatenation to add the variables to the string.
9. You should log to the console “My favorite programming language is (favoriteLanguage).” using concatenation to add the variable to the string.
11. You should give codingFact a value that includes favoriteLanguage using concatenation.
15. You should log to the console "It was fun sharing these fact
This is the code:

console.log(“Hello! I’m your coding fun fact guide!”);

let botName;

botName = “Jhon”;

let botLocation;

botLocation = “Colombia”;

let favoriteLanguage;

favoriteLanguage = “JavaScript”;

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

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

let codingFact;

codingFact = "I like to create functions with " + favoriteLanguage;

console.log(codingFact);

codingFact = "It is fun creating loops with " + favoriteLanguage;

console.log(codingFact);

codingFact = "I like to create objects with " + favoriteLanguage;

console.log(codingFact);

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

Your code so far

console.log("Hello! I'm your coding fun fact guide!");
let botName;
botName = "Jhon";
let botLocation;
botLocation = "Colombia";
let favoriteLanguage;
favoriteLanguage = "Java script";
console.log("My name is " + botName + " and I live on " + botLocation);
console.log("My favorite programming language is " + favoriteLanguage);
let codingFact;
codingFact = "I like to create functions with " + favoriteLanguage;
console.log(codingFact);
codingFact = "It is fun creating loops with  " + favoriteLanguage;
console.log(codingFact);
codingFact = "I like to create objects with " + 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

You may be having issues, due to declaring the variable, without initializing them. Try setting your variables to a value when they are initially declared.

Hi, thanks for the advice, but I tried that and it did not work

Please share your updated code.

Hi @corpazcorderoj

I looks like the output is missing punctutation.

Hapy coding