I have been getting continuous errors in this first exercise on learning Java script, here is the code:
console.log("Hello! I'm your coding fun fact guide!");
let botName = "Jim";
let botLocation = "Oak Street";
let favoriteLanguage = "JavaScript";
console.log("My name is " + botName + " and I live on " + botLocation + ".");
console.log("My favorite programming language is " + favoriteLanguage + ".");
let codingFact = " use it for powerful results.";
favoriteLanguage += codingFact;
console.log(favoriteLanguage);
codingFact = " it is the best option for learning to code";
favoriteLanguage += codingFact;
console.log(favoriteLanguage);
console.log("It was fun sharing these facts with you. Goodbye! - " + botName + " from " + botLocation);
You should log to the console "My favorite programming language is (favoriteLanguage)." and add the variable to the string. I think I have added the variable favoriteLanguage to the string "My favorite programming language is " See the code I submitted to Check Code below:
console.log("Hello! I'm your coding fun fact guide!");
let botName = "Jim";
let botLocation = "Oak Street";
let favoriteLanguage = "JavaScript";
console.log("My name is " + botName + " and I live on " + botLocation + ".");
console.log("My favorite programming language is " + favoriteLanguage + ".");
when you ask for help it would be great if you could post your code formatted, and a link to the challenge. If you use the ask for help button that is done for you automatically
If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Help button located on the challenge.
The Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.
Thank you.
You can still format the code on your own to make it easier for people to help you
When you enter a code block into a forum post, please precede it with three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add the backticks.