buenas tardes en las primeras 4 lineas dice que hay un error de declaracion de variables que no encuentro y en la ultima linea de codigo creo que tambien hay otra, pueden verificar por favor
Tu código hasta el momento
console.log("Hello! ¡Soy tu guia de datos curiosos de codificación!");
let botName = Greys Sombra;
let botLocation = Dominican;
let favoriteLanguage = Java;
console.log("My favorite programming language is " + favoriteLanguage + ".");
let codingFact = " the best language is " + favoriteLanguage;
console.log(codingFact);
codingFact = "I loved " + favoriteLanguage;
console.log (codingFact);
codingFact = "I work whit " + favoriteLanguage;
console.log(codingFact);
console.log("It was fun sharing these facts with you. Goodbye! - Greys Sombra from Dominican")
Información de tu navegador:
El agente de usuario es: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36
Información del Desafío:
Construir un Bot de Trivia en JavaScript - Construye un Bot de Trivia en JavaScript
literalmente no hay error pero aun asi lo presenta
Tu código hasta el momento
console.log("Hello! I'm your coding fun fact guide!");
let botName;
botName = "Greys Sombra";
let botLocation;
botLocation = "Dominican";
let favoriteLanguage;
favoriteLanguage = "Java";
console.log("My name is " + botName + "and I live on " + botLocation ".");
console.log("My favorite programming language is " + favoriteLanguage + ".");
let codingFact = " the best language is " + favoriteLanguage;
console.log(codingFact);
codingFact = "I loved " + favoriteLanguage;
console.log (codingFact);
codingFact = "I work whit " + favoriteLanguage;
console.log(codingFact);
console.log("It was fun sharing these facts with you. Goodbye! -" + botName + " from " + botLocation + ".")
Información de tu navegador:
El agente de usuario es: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36
Información del Desafío:
Construir un Bot de Trivia en JavaScript - Construye un Bot de Trivia en JavaScript
12 | console.log("My name is " + botName + "and I live on " + botLocation “.”);
| ^
13 |
14 |
15 | console.log("My favorite programming language is " + favoriteLanguage + “.”);
Hay un mensaje de error en la consola.
Debes corregirlo para que tu código funcione. Después, se podrán ejecutar las pruebas.
como le hago para que me acepte el ejercicio, me da error diciendo que debo registrar mi primera historia usando el formato primera historia, igualmente en la segunda
Tu código hasta el momento
let adjective;
adjective = "tired";
let noun;
noun = "mesa";
let verb;
verb = "work";
let place;
place = "paris";
let adjective2;
adjective2 = "boring";
let noun2;
noun2 = "computer"
let firstStory;
firstStory = "Once upon a time, there was a(n) " + adjective + " " + noun + " who loved to eat " + noun2 + ". The " + noun + " lived in a " + place + " and had " + adjective2 + " nostrils that blew fire when it was " + verb + ".";
console.log("Primera historia: " + firstStory);
adjective = "happy";
noun = "box";
verb = "play";
place = "badroom";
adjective2 = "fun"
noun2 = "game";
let secondStory;
secondStory = "Once upon a time, there was a(n) " + adjective + " " + noun + " who loved to eat " + noun2 + ". The " + noun + " lived in a " + place + " and had " + adjective2 + " nostrils that blew fire when it was " + verb + ".";
console.log("Segunda historia: " + secondStory);
Información de tu navegador:
El agente de usuario es: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36
Información del Desafío:
Construir un Creador de Oraciones - Construye un Creador de Oraciones