Tell us what’s happening:
I think this section is bugged. I try to follow other solution, which is putting string first then add the variable. but still not working.
If I add the third codingFact variable, the machine just consider I haven’t add the third variable and does not consider me finish the last task.
Please advise.
Here my code snippet:
Your code so far
console.log("Hello! I'm your coding fun fact guide!");
let botName = "Ian";
let botLocation = "Sukabumi";
let favoriteLanguage = "Go";
console.log("My name is " + botName + " and I live on " + botLocation + ".");
console.log("My favorite programming language is " + favoriteLanguage + ".");
let codingFact = "Go is simple";
console.log(codingFact);
codingFact = "Muach " + favoriteLanguage;
console.log(codingFact);
codingFact = "that is why " + favoriteLanguage;
console.log(codingFact);
codingFact = "Dear lol " + 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/137.0.0.0 Safari/537.36
Challenge Information:
Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot