Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

Code running till the goodbye message.
And now not able to submit.

Your code so far

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

let botName = "Zerox";
let botLocation = "The Matrix";
let favoriteLanguage = "JavaScript";

console.log("My name is " + botName + " and I live on " + botLocation + ".")
console.log("My favorite programming language is " + favoriteLanguage + ".")

let codingFact = "JavaScript is a powerfull tool."

console.log(codingFact);

codingFact = favoriteLanguage + " is one of the most widlely used languages.";

console.log(codingFact);

codingFact = favoriteLanguage + " operates on multiple vendors.";
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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Welcome to the forum@

Try adding white space before and after the hyphen.

Happy coding

Thank You! Had me wrecking my brain!

1 Like