Right. So now that we've seen how we can select and manipulate elements in our web site on the fly using 1
this great thing called the DOM, then it's time to take it to the next level. 2
We're going to be using all of that knowledge that we learned about the DOM and Javascript to create our 3
very own dice game. 4
And this is what it will look like once we're done. 5
So it's a paint with a h1 with a title that says Refresh Me, and then it's got Player 1 dice and 6
Player 2 dice. 7
And when we refresh our web site then our dice get thrown randomly, 8
so that player 1 and player 2 9
both have their own dice values, and our web site will announce a winner depending on whose dice value 10
was higher. 11
So you can see that this will be a really neat web site and you can use this web site to settle all 12
your family arguments and any sort of disputes just by logging on to your own web site and trying to 13
figure out who won. 14
So it's a really quick and simple web site 15
that I want you to create by yourself as a challenge, and this is so that you make all of that knowledge 16
that you picked up in the previous lessons and make it your own by applying it on a real world project. 17
So in the next lesson you'll find the starting code with the HTML and CSS already written for you, 18
and this is so that you can get started practicing the parts that we learned in this module. 19
Now if you'd prefer to get extra practice by building the HTML and CSS parts from scratch yourself, 20
then you can. Just simply download the skeleton project and open up Dicee.html in order to see it 21
inside the Chrome browser, 22
and based on this appearance you can write your own HTML and CSS to get it to look the same. And you'll 23
find all of the image assets inside that zip file that you're going to be downloading. 24
So I personally recommend to focus on one new thing at a time, 25
so that's why we provided the skeleton project, so you can focus on what we're learning in this module, 26
but it's completely up to you what you want to do. 27
I'll support you every step of the way. 28
So once you're ready get started and work on your first web site that you're going to build all by yourself 29
and I'll see you on the other side.