It keeps telling me to pay attention to extra spaces and I have checked everything multiple times and i’m still incredibly confused. If anyone can help me with this, it would be greatly appreciated.
Your code so far
let adjective = "rowdy";
let noun = "bull";
let verb = "danced";
let place = "desert";
let adjective2 = "angry";
let noun2 = "flies";
const firstStory ="Once upon a time, there was a(n) "+adjective+ " " + noun + " who loved to eat " + noun2 + ". The " + noun + " lived in a(n) " + place + " and had " + adjective2 + " nostrils that blew fire when it was " + verb + ".";
console.log("First story: " + firstStory);
adjective = "pointy";
noun = "hat";
verb = "wear";
place = "top of a mountain";
adjective2 = "snazzy";
noun2 = "dust";
const secondStory = "Once upon a time, there was a(n) " + adjective + " " + noun + " that loves so much to eat " + noun2 + ". The " + noun + " Lives with me near " + place + " and it has a " + adjective2 + " look to it so whenever i see it I like to " + verb + " it.";
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/143.0.0.0 Safari/537.36
let adjective = "rowdy ";
let noun = "bull ";
let verb = "danced";
let place = "desert";
let adjective2 = "angry"
let noun2 = "flies"
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)
adjective = " pointy ";
noun = "hat";
verb = "worn";
place = "top of a mountain";
adjective2 = "snazzy";
noun2 = "dust";
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)
First story: Once upon a time, there was a(n) rowdy bull who loved to eat flies. The bull lived in a desert and had angry nostrils that blew fire when it was danced.
Second story: Once upon a time, there was a(n) pointy hat who loved to eat dust. The hat lived in a top of a mountain and had snazzy nostrils that blew fire when it was worn.
- then this is the output
I’ve edited your post to improve the readability of the code. 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.