Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

Tell us what’s happening:

My last step code is failing but I’ve tried EVERY variation and it’s still not working.

Your code so far

let botName = "Triva bot"
let botLocation = "Trivia Land"
let favoriteLanguage = "Javascript"

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

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

console.log("My favorite programming language is" + " " + favoriteLanguage + ".")


let codingFact = favoriteLanguage + " is a simple yet complex code to use"


console.log(codingFact)


console.log(codingFact = "I think" + " " + favoriteLanguage + " " + " is fun to use!")
codingFact = "when using" + " " + favoriteLanguage + " " + "drink coffee"

console.log(codingFact)
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/147.0.0.0 Safari/537.36 OPR/131.0.0.0

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-javascript-trivia-bot/66ed41f912d0bb1dc62da5dd.md at main · freeCodeCamp/freeCodeCamp · GitHub

hello @drewcote96 welcome to the forum!

according to the instructions there should be 7 logs in total. but you have 8 logs.

here you are assigning a new fact to codingFact inside a consol.log call, which is not the right way. you have assigned a fact to codingFact and logged it the correct way in a later part –

try to use this as an example to fix the previous log. when you do that you will find that this log is extra –

try removing one of them. then you should have 7 logs properly.

Tell us what’s happening:

I fixed my previous issues and still 15 wrong please help

Your code so far

let botName = "Triva bot";
let botLocation = "Trivia Land";
let favoriteLanguage = "Javascript";

console.log("Hello! I'm your coding fun fact guide!");
console.log("My name is" + " " + botName + " " + "and I live on" + " " + botLocation + ".");
console.log("My favorite programming language is" + " " + favoriteLanguage + ".");

let codingFact = favoriteLanguage + " is a simple yet complex code to use";

codingFact = "I use " + favoriteLanguage + " all the time!"
console.log(codingFact)

codingFact = "Using " + favoriteLanguage + " is my goto!"
console.log(codingFact)

codingFact = "Something something " + 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/147.0.0.0 Safari/537.36 OPR/131.0.0.0

Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-javascript-trivia-bot/66ed41f912d0bb1dc62da5dd.md at main · freeCodeCamp/freeCodeCamp · GitHub

And still step 15 is wrong**

I fixed these issues and it still says step 15 is wrong.

I went ahead and combined your posts for you. In the future, just reply to the original thread to add further updates.

Please look closely at what the instructions ask you to log. You are missing punctuation.

Happy coding