# Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

**URL:** <https://forum.freecodecamp.org/t/build-a-javascript-trivia-bot-build-a-javascript-trivia-bot/800735>\
**Category:** Curriculum Help\
**Tags:** javascript\
**Created:** [September 22, 2026, 3:52am UTC](https://forum.freecodecamp.org/t/build-a-javascript-trivia-bot-build-a-javascript-trivia-bot/800735 "2026-09-22T03:52:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![daiwik](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/daiwik/32/109863_2.png) [@daiwik](https://forum.freecodecamp.org/u/daiwik)\
**Post date:** [September 22, 2026, 3:52am UTC](https://forum.freecodecamp.org/t/build-a-javascript-trivia-bot-build-a-javascript-trivia-bot/800735/1 "2026-09-22T03:52:37Z")

</div>

### Tell us what’s happening:

I am having trouble with step 15, any help is appreciated.

### Your code so far

```js
console.log("Hello! I'm your coding fun fact guide!")
let botName = "joey"
let botLocation = "alaksa"
let favoriteLanguage = "javascript"
console.log("My name is " + botName + " and I live on " + botLocation + ".")
console.log("My favorite programming language is " + favoriteLanguage + ".")
let codingFact = favoriteLanguage + " is used to make front end and back end."
console.log(codingFact)
codingFact = favoriteLanguage + " gives your employment."
console.log(codingFact)
codingFact = favoriteLanguage + " can be used to make games also."
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/153.0.0.0 Safari/537.36`

### Challenge Information:

Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/javascript-v9/lab-javascript-trivia-bot/lab-javascript-trivia-bot)**
>
> Learn to Code for Free

GitHub Link: [freeCodeCamp/curriculum/challenges/english/blocks/lab-javascript-trivia-bot/66ed41f912d0bb1dc62da5dd.md at main · freeCodeCamp/freeCodeCamp · GitHub](https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/challenges/english/blocks/lab-javascript-trivia-bot/66ed41f912d0bb1dc62da5dd.md)

---

<div class="post-metadata">

**Author:** ![Teller](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/teller/32/412338_2.png) [@Teller](https://forum.freecodecamp.org/u/Teller)\
**Post date:** [September 22, 2026, 5:24am UTC](https://forum.freecodecamp.org/t/build-a-javascript-trivia-bot-build-a-javascript-trivia-bot/800735/2 "2026-09-22T05:24:53Z")

</div>

Welcome back to the forum @daiwik

You need to include punctuation at the end of the last console log.

> You should log to the console `"It was fun sharing these facts with you. Goodbye! - (botName) from (botLocation)."` and add the values of the variables.

Happy coding
