Halp with HTML Javascript
Go to solution
Solved by PirateFish,
There's 3 errors in your document.getElementById line.
document.getElementById("Story").innerHTML = Hero + " was a spiny little fellow who loved eating" + Food + Hero + " always carried around his " + Item + ". No matter what. It was his favorite! One day" + Hero + " was wlaking by " + Place + ". " + Place + " was a dangerous place where monsters crawled from the abyss" + Hero + " had to cross a river on a " + Thing2 + "the " + Thing2 + "was going crazy, flying across the water. " + Hero + " lost his " + Item + ". He was sad. " + Hero + " cried at the sky. He cursed the " + Thing + ", hr cursed the " + Place + ", and he just wanted some dang " + Food + ". " + Food + ". '" + Hero + " camped out for days. Surviving on scraps of " + Thing + "s to eat. and " + Food + " to take.";
I recommend you get an editor with syntax highlighting.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now