Tell us what’s happening:
Please excuse my choice of values lol.
I have figured out most of problem so far however, once I tried to submit my answer, I keep getting an error telling me that both story formats are incorrect and that I should pay attention to spaces. I’m not sure what to look for, can anyone help me figure this out?
Your code so far
let adjective = "beautiful";
let noun = "landscape";
let verb = "walk";
let place = "city park";
let adjective2 = "pretty";
let noun2 = "home";
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 = "pretty";
noun = "princess";
verb = "running";
place = "castle";
adjective2 = "daunting";
noun2 = "food";
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/137.0.0.0 Safari/537.36
Challenge Information:
Build a Sentence Maker - Build a Sentence Maker