Tell us what’s happening:
- You should use the correct story format for the first story: “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].”. Pay attention to spaces.
I don’t get why it’s throwing this error for the first story but not the second one, which is copy pasted from the first one. I can’t see any extra spaces.
Help, what am I missing?
Your code so far
let adjective = ("huge")
let noun = ("orc")
let noun2 = ("gasoline")
let place = ("cave")
let adjective2 = ("several")
let verb = ("raining")
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 = ("small")
noun = ("elf")
noun2 = ("berries")
place = ("castle")
adjective2 = ("a couple of")
verb = ("shooting arrows")
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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36
Challenge Information:
Build a Sentence Maker - Build a Sentence Maker