Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

Getting errors for tests 12, 13, and 14. Not sure how to fix. Console appears to be correct.

Your code so far

console.log("Hello! I'm your coding fun fact guide!");
let botName;
botName = "Grok";
let botLocation;
botLocation = "Earth";
let favoriteLanguage;
favoriteLanguage = "English";
const firstSentence = ("My name is " + botName + " and I live on " + botLocation + ".");
console.log (firstSentence);
const secondSentence = ("My favorite programming language is " + favoriteLanguage + ".");
console.log(secondSentence);
let codingFact; 
codingFact = ("I love " + favoriteLanguage + ".");
console.log (codingFact);
codingFact = ("I speak " + favoriteLanguage + " well.");
console.log (codingFact);
codingFact = ("I want to teach " + favoriteLanguage + ".");
console.log (codingFact);
const farewell = ("It was fun sharing these facts with you. Goodbye! - " + botName + " from " + botLocation + ".");
console.log(farewell);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

1 Like

Hi. You have a gap between “console.log” and the “(”. If you close all those gaps it should pass

2 Likes