There were a few things that weren't quite right here, but you were so close!
When you add any attribute to an HTML element, be sure to wrap them in quotes (these can be double or single quotes). But, they must be wrapped in quotes. And also in the repl (this may not be a problem for the student submission) but there was no reference to
You have a couple rogue
value from each input. So, when you make:
var noun = document.getElementById("noun");
noun is just a reference to the input element. And to get the value out of any input, you get its
value property. So, in the
storyDiv.innerHTML just add a
.value to each input reference.
storyDiv.innerHTML = "The weekend started when the " + noun.value + " caught on fire. Someone "+ adjective.value + " grabbed water from the nearest "+ noun2.value + ". They quickly started throwing the water onto the flames. After the fire was put out the "+ adjective2.value + " person " + verb.value + " away. The story was in the next days' paper.";
Here's the repl I made with your code: https://repl.it/@heyitsmarcus/Madlibs
If this solved your problem, please consider upvoting and marking my answer as the accepted answer to close this question. But, I'll continue answering any questions you may have.