Cant put second story in sentence maker in right format

let adjective =  "evil";

let noun = "dragon";

let noun2 = "cabbage";

let place = "castle";

let adjective2 = "flaring";

let verb = "eating";

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(firstStory)

console.log("First story: " + firstStory);



adjective = "amazing";

 noun = "cat";

noun2 = "sushi";

place = "house";

adjective2 = "cute";

verb = "farting";

const 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(secondStory);

console.log("Second story: " + secondStory);

it also appeared to make some mistakes, i couldn’t postmy code, so i had to copy paste it and it made some errors in showing the code

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Get Help > Ask for Help button located on the challenge.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

I did that but it wouldnt load

Can you share a link to the lab you are working on?

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.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

your punctuation does not match

I did that butnow its saying i dont have the variables in the right order

post your updated code please

const 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 + “.”;

is that a line break? don’t go to a new line

it would be more readable if you could format your code tho

there is noline break when i copy and paste its inaccurate because i cant share my code from the page ugh somethings wrong with my account or computer

why can’t you share your code from the page?

somethings wrong with my computer

alright, but if you copied and pasted without making other changes to the code, there is a line break in the line where you define secondStory, and you should not go to a new line near a +

thank you!!! i got it!

Tried out your code in the lab. You’re just missing a comma on the second sentence.

You wrote:
const 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 + “.”;

It should be:
removed

It’s already solved, you don’t need to reply.

Also, please do not share solution code on the forum.

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge. How to Help Someone with Their Code Using the Socratic Method

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.