Tell us what’s happening:
I have tried everything i can to figure this out but i still get the same errors
-
You should assemble your first story using the variables you declared in the correct order.
-
You should assemble your second story using the variables you declared in the correct order.
Your code so far
// Declare variables
let adjective = "hot girthy";
let noun = "spaceship";
let verb = "pulsing";
let place = "lions den";
let adjective2 = "veiny";
let noun2 = "tanks";
// Assemble first story using the exact template
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 + ".";
// Output first story
console.log("First story: " + firstStory);
// Assign new values to variables
adjective = "seducer";
noun = "mormons";
verb = "soaking";
place = "the vatican";
adjective2 = "young";
noun2 = "boy";
// Assemble second story using the exact same template
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 + ".";
// Output second story
console.log("Second story: " + secondStory);
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36
Challenge Information:
Build a Sentence Maker - Build a Sentence Maker
https://www.freecodecamp.org/learn/full-stack-developer/lab-sentence-maker/build-a-sentence-maker