I’m struggling with getting past a part on this project and been racking my brain for two days trying different things but nothing is working.
I am stuck on part 11 of the Build a Javascript Trivia Bot project where is read " 11. You should give codingFact a value that includes favoriteLanguage using concatenation."
I have tried rewriting the syntaxt multiple ways, such as placing the favoriteLanguage vairable first in the concantenation, as well as placing it after a string, but it is still not working. Any advice on other things I could try?
console.log("Hello! I'm your coding fun fact guide!");
let botName;
let botLocation;
let favoriteLanguage;
botName = "Gerald";
botLocation = "Mars";
favoriteLanguage = "Node";
const botIntroduction = "My name is " + botName + " and I live on " + botLocation + ".";
console.log(botIntroduction);
const botFavoriteCodingLanguage = "My favorite programming language is " + favoriteLanguage + ".";
console.log(botFavoriteCodingLanguage);
let codingFact;
codingFact = "One of the world's toughest coding languaegs is " + favoriteLanguage + ".";
console.log(codingFact);
codingFact = "One of the world's most fascinating coding languages is " + favoriteLanguage + ".";
console.log(codingFact);
codingFact = "Finally, one of the world's most curious coding languaegs is " + favoriteLanguage + "."
console.log(codingFact);
console.log("It was fun sharing these facts with you. Goodbye! - "+botName+" from "+botLocation+".")