Bummer! This is just a preview. You need to be signed in with a Treehouse account to view the entire video.
Editing Content in the Body1:43 with Joy Kesten
This is your chance to make this game your own. All the content in the page is written in gray and should be changed to reflect your own interests, passions, or questions.
command + s (mac)
control + s (pc)
Refresh the browser
command + r (Chrome)
F5 (IE or Firefox)
In this course,
there's a lot stuff written in plain English that we can change right away.
This is the time to make this game your own.
I made a pretty plain MASH game,
and the questions are as unexciting as I could think of.
That's because I'm expecting them to just be placeholders for
you to make them awesome.
To do this, let's jump into the body of the HTML document and
start editing the content in the page.
In this HTML document, it's pretty easy to start editing the content,
because it's all written in black, except for
the DOCTYPE, which you're not gonna wanna change.
Let's say that instead of a regular MASH game, I want a Futuristic MASH.
When I save it out, either by pressing Cmd+S on a Mac,
Ctrl+S on a PC, or going to the File menu and going down to Save.
Notice up here, when I refresh the page, that now it says Futuristic MASH.
Well, that's pretty cool, but everything else is still the same.
So, back in our HTML document, I'm gonna wanna go down to every time I
see something in black and change it out to be cool and futuristic.
Now, it's gonna be easier to make my
answers once I know what the questions are.
So I'm going to start by changing the questions, and then go back and
make sure that my answer sentence reflects my new questions.
Be sure where you're changing the questions,
that you remember to change the answer sentence as well.
Have fun and enjoy making this game your own.
You need to sign up for Treehouse in order to download course files.Sign up