Hii, down below is my code. I’ve tried to change a lot of things but from the start it tells me that there is a syntax issue in line 4 and i can’t figure out why. Can someone share their insight?
console.log(“Hello! I’m your coding fun fact guide!”);
let botName = “Pedro”;
let botLocation = “Isla de Plata”;
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 for front-end software development.”;
console.log(codingFact);
codingFact = "I am learning " + favoriteLanguage + “.”;
console.log(codingFact);
codingFact = “Learning " + favoriteLanguage + " is not easy.”;
console.log(codingFact);
console.log("It was fun sharing these facts with you. Goodbye! - " + botName + ’ from ’ + botLocation + ‘.’);
Your code so far
console.log("Hello! I'm your coding fun fact guide!");
let botName = "Pedro";
let botLocation = "Isla de Plata";
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 for front-end software development.";
console.log(codingFact);
codingFact = "I am learning " + favoriteLanguage + ".";
console.log(codingFact);
codingFact = "Learning " + favoriteLanguage + " is not easy.";
console.log(codingFact);
console.log("It was fun sharing these facts with you. Goodbye! - " + botName + ' from ' + botLocation + '.');
Your mobile information:
iPad - iPadOS26.4.2
Challenge: Build a JavaScript Trivia Bot - Build a JavaScript Trivia Bot
Link to the challenge:
