Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

Hello, I’ve searched in the forum for similar problems with steps 9 and 15. I’ve changed everything and still it will mark an error. Can you help me, please?

Your code so far

let greetings="Hello! I'm your coding fun fact guide!"; //First step: greeting
console.log (greetings);
let botName="Bishon"; //creation of 3 variables
let botLocation="Spain";
let favoriteLanguage='Javascript';
console.log("My name is " +botName + " and I live on " +botLocation + "."); //Step 3
console.log(" "+ "My favorite programming language is + " + favoriteLanguage + "."); //Step 4
let codingFact=("" + favoriteLanguage + " was Created in just 10 days"); //Step 5
console.log(codingFact);
codingFact=("" + favoriteLanguage + " is not the same as Java");
console.log(codingFact);
codingFact=("" + favoriteLanguage + " is single-threaded, meaning it can execute one line of code at a time.");
console.log(codingFact);
console.log("It was fun sharing these facts with you. Goddbye!" + "-" +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/142.0.0.0 Safari/537.36

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Welcome to the forum @hayoungpark97

9. You should log to the console "My favorite programming language is (favoriteLanguage)." and add the variable to the string.

For test 9, try removing the white space from the beginning of the string. Then carefully check you have the correct letters, and no extra symbols appear in the console log.

For the rest of the tests, make sure you have the correct spacing and there are no typos.

Happy coding

1 Like

Thank you very much! I saw an extra “plus” in step 9 and a typo in step 15.

1 Like