-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (34 loc) · 1.26 KB
/
index.html
File metadata and controls
39 lines (34 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<html ng-app="pokeApp">
<head>
<script src="js/angular.min.js"></script>
<script src="js/controller.js"></script>
<link rel="stylesheet" type="text/css" href="css/stylez.css">
<link href='http://fonts.googleapis.com/css?family=Press+Start+2P' rel='stylesheet' type='text/css'>
</head>
<body ng-controller="pokeController">
<div id="main">
<h1>ANGULAR POKEDEXXX</h1>
<div class="poke-card">
<img class="poke-img" src="{{currentPokeImg}}">
<div class="type" ng-repeat="type in currentPokemon.types">
{{ type.name }}
</div>
</div>
<div id="form-div">
<form ng-submit="submitUserGuess()">
<input type="text" ng-model="userGuess" name="pokeGuess" placeholder="What's this Poke's name? Case sensitive, sorry."/>
<button type="submit" id="guessSubmit">Guess</button>
</form>
</div>
<div ng-show="caughtOne" class="poke-card results">
<h3>This is {{caughtPokemon.name}}</h3>
<img class="pokie-img" src="{{caughtPokeImg}}">
<div class="feedback">
You guessed {{feedback}}<br>
Your score: {{correctCount}}
</div>
</div>
<div class="footer"><a href="https://github.com/katherineimogene/pokeangular" target="_blank">View on Github</a></div>
</div>
</body>
</html>