forked from saadq/Anagrams
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (26 loc) · 995 Bytes
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Anagrams</title>
<!-- Favicon will go here -->
<!-- Fonts -->
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300' rel='stylesheet' type='text/css'>
<!-- Stylesheet -->
<link rel="stylesheet" type="text/css" href="css/home.css">
</head>
<body>
<div class="wrapper">
<h1>Anagrams</h1>
<p>An anagram is a word formed from another by rearranging its letters. For example, "naimla" is an anagram of the word "animal".</p>
<p> In this game, you must select the choice which is an anagram of the current word being displayed. You will have 5 seconds to choose, and your goal is to get as many correct as possible until you lose.</p>
<button id="btn">Begin</button>
</div>
<script type="text/javascript">
var btn = document.getElementById('btn');
btn.addEventListener('click', function(){
window.location = 'anagrams.html';
});
</script>
</body>
</html>