File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ <h2>Members</h2>
2424 < li > < a href ="thomas/index.html "> Thomas Crossley</ a > </ li >
2525 < li > < a href ="hector/index.html "> Hector Warner</ a > </ li >
2626 < li > < a href ="hamish "> Hamish Campbell</ a > </ li >
27+ < li > < a href ="phillip/Home.html "> Philip Benjamin</ a > </ li >
2728 </ ul >
2829 < p > We're on GitHub! Click the icon to view the repo.</ p >
2930 < p >
Original file line number Diff line number Diff line change 1+ <!doctype html>
2+ < html >
3+ < head >
4+ < title > Home page</ title >
5+
6+ < h1 > Play</ h1 >
7+ < a href ="clsb-programming.github.io/phillip/index.html " target ="_self "> Play Game</ a >
Original file line number Diff line number Diff line change 1+ <!doctype html>
2+ < html >
3+ < head >
4+ < title > Cookie Clicker</ title >
5+ < H1 > The software is where your finger will hurt</ H1 >
6+ < style >
7+ img {
8+ width : 300px
9+ }
10+ </ style >
11+ </ head >
12+ < body >
13+ < div >
14+ < img src ="http://vignette2.wikia.nocookie.net/mspafetchmodus/images/a/ab/Chocolate_chip_cookie.jpg/revision/latest?cb=20100726200146 " onclick ="addCookie() ">
15+ </ div >
16+ < h2 id ="cookieDisplay "> You have 0 cookies</ h2 >
17+
18+ < script type ="text/javascript ">
19+ var cookies = 0 ;
20+ var cookieDisplay = document . getElementById ( 'cookieDisplay' ) ;
21+
22+ function addCookie ( ) {
23+ cookies = cookies + 1 ;
24+ cookieDisplay . innerHTML = "You have " + cookies + " cookies" ;
25+ }
26+ </ script >
27+ </ body >
28+ </ html >
You can’t perform that action at this time.
0 commit comments