File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <!doctype html>
2+ < html >
3+ < head >
4+ < link href ="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.css " rel ="stylesheet ">
5+ < link href ="https://fonts.googleapis.com/css?family=Source+Code+Pro|Source+Sans+Pro " rel ="stylesheet ">
6+ < title > Cookie Clicker</ title >
7+ < link href ="../style.css " rel ="stylesheet ">
8+ < script type ="text/javascript ">
9+ // Start with 0
10+ var cookies = 0 ;
11+
12+ // User clicks the giant cookie
13+ function cookieClick ( ) {
14+ cookies += 1 ;
15+ }
16+
17+ // TODO: Display cookies
18+ </ script >
19+ </ head >
20+ < body >
21+ < div class ="container ">
22+ < p > You have < span id ="cookieQuantity "> 0</ span > cookies</ p >
23+ < img src ="https://upload.wikimedia.org/wikipedia/commons/thumb/6/6e/Pepperidge-Farm-Nantucket-Cookie.jpg/640px-Pepperidge-Farm-Nantucket-Cookie.jpg " alt ="Cookie " onclick ="cookieClick(); return false " />
24+ </ div >
25+ </ body >
26+ </ html >
You can’t perform that action at this time.
0 commit comments