I cant seem to figure out what I am doing wrong can someone help me please.
if you are working on a freecodecamp workshop, click on the Help button to create a help template which will include your code and a link to the step. Add your question to that then post it here.
Tell us what’s happening:
I keep getting these errors and I’ve tried correcting them different ways but none were effective. Need help figuring out what I am doing wrong
Your code so far
console.log("Hello! I'm your coding fun fact guide!");
let botName = "Anita";
let botLocation = "Texas";
let favoriteLanguage = "Python";
console.log("My name is" +botName+ "and I live on" +botLocation+ ".");
console.log("My favorite programming language is" +favoriteLanguage+ ".");
let codingFacts = "Did you know that nearly 30% market share on PYPL is held by" +favoriteLanguage+ ".";
console.log(codingFacts);
codingFacts = "Did you know how easy it is to learn" +favoriteLanguage+ "."
console.log(codingFacts);
codingFacts = "I loving coding with" +favoriteLanguage+ ".";
console.log(codingFacts);
console.log("It was fun sharing these facts with you. Goodbye! - Anita from Texas.")
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 Edg/147.0.0.0
Challenge Information:
Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot
Please do not create duplicate topics for the same challenge/project question(s). If you need more help then respond back to the original topic you created with your follow up questions and/or your updated code and question.
The duplicate topic has been unlisted.
Thank you.
You should use
letto create acodingFact
Look carefully at the variable you created compared to what the instructions asked.
Thanks for formatting your code as code. Do not post screen shots as we cannot copy your code and try it out for you. Your code is working but:
- I get an “undefined” message in the console on runjs dot app after every console.log() statement. This does not happen on jsfiddle dot net. It only happens when I run it on runjs dot app.
- You are missing some spaces before and after variable names inside the double quotes.
if you have questions about how code or environment work, please create your own topic with your questions
