Build a Sentence Maker - Build a Sentence Maker

Tell us what’s happening:

What happened? I already re-checked the code with the yellow button, but it stays wrong.
I don’t want to rewrite the code for the third time what should I do?

Your code so far

let adjective = "quiaco";
let noun = "perro";
let verb = "eteSech";
let place = "tacos riks";
let adjective2 = "a la maje";
let noun2 = "perra";

let 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("First story: " + firstStory)

let secondStory;
adjective = "majesito"
noun = "chele"
verb = "vato"
place = "morro"
adjective2 = "wey"
noun2 = "compare'"

let 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("Second story: " + secondStory)


Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36

Challenge Information:

Build a Sentence Maker - Build a Sentence Maker

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-sentence-maker/66c057041df6394ca796bf33.md at main · freeCodeCamp/freeCodeCamp · GitHub

Welcome to the forum @fanposito1

You can save your work in progress code on your computer or in a repository.

SyntaxError: unknown: Identifier 'secondStory' has already been declared. (20:4)

Did you notice the message in the console?

You can only declare a variable once using the let keyword.

Happy coding