Tell us what’s happening:
steps 11. You should give codingFact
a value that includes favoriteLanguage
using concatenation.
and 15. You should log to the console "It was fun sharing these facts with you. Goodbye! - (botName) from (botLocation)."
using concatenation to add the values of the variables.
will not pass im lost
Your code so far
let greetingMessage;
greetingMessage = "Hello! I'm your coding fun fact guide!";
console.log(greetingMessage);
let botName;
botName = "triviaBot";
let botLocation;
botLocation = "the Matrix";
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 = "Fun fact! did you known? " + favoriteLanguage + " was created in just 10 days!";
console.log(codingFact);
codingFact = "I love " + favoriteLanguage;
console.log(codingFact);
codingFact = "My favorite programming language is " + 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