Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

I cannot pass step 14 for the life of me. I’ve tried everything. It should be the same as step 13, but it simply doesn’t pass the test

Your code so far

console.log("Hello! I'm your coding fun fact guide!");
let botName;
let botLocation;
let favoriteLanguage;
botName = "Amadeus"
botLocation = "Yharnam"
favoriteLanguage = "Java Script"
console.log("My name is " + botName + " and I live on " + botLocation + ".");
console.log("My favorite programming language is " + favoriteLanguage + ".")
let codingFact;
codingFact = favoriteLanguage + " is my first ever language";
console.log(codingFact + ".")
codingFact = favoriteLanguage + " is my favorite!";
console.log(codingFact);
codingFact = "The only language I'll ever learn 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/143.0.0.0 Safari/537.36 Edg/143.0.0.0

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Welcome to the forum @MilkCantCry

Instead of placing the period in the console log, try placing it in the string.

Happy coding

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.