-
Notifications
You must be signed in to change notification settings - Fork 0
/
08mar.html
50 lines (47 loc) · 1.97 KB
/
08mar.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>08 Mar Challenges</title>
<link rel="stylesheet" href="master.css" media="screen" title="no title" charset="utf-8"> </head>
<body>
<div class="container">
<header>
<h3>CodeAstra Programming Challenges</h3>
<nav> <a href="07mar.html">07 March 2016</a> <a href="08mar.html">08 March 2016</a> <a href="09mar.html">09 March 2016</a> </nav>
</header>
<div class="left">
<h4>Day 2 - 08 Mar 2015</h4>
<fieldset>
<legend>1. Reverse Words </legend>
<input type="text" id="revword" placeholder="Enter text to reverse words" />
<input type="submit" value="Reverse Words" onclick="reverseWords(revword.value)" /> </fieldset>
<fieldset>
<legend>2. Pig Latin </legend>
<input type="text" id="piglatin" placeholder="Enter text to change to PigLatin" />
<input type="submit" value="Pig Latin" onclick="reverseWords(piglatin.value, true)" /> </fieldset>
<fieldset>
<legend>3. Print Numbers without String</legend>
<input type="number" id="num" placeholder="Enter a Number" />
<input type="submit" value="Print Number" onclick="numPrint(num.value)" />
<br /> </fieldset>
<fieldset>
<legend>4. Convert Number to words </legend>
<input type="number" id="digits" placeholder="Enter the Number to Convert" />
<input type="submit" value="Convert to Words" onclick="printWords(digits.value)" /> </fieldset>
<fieldset>
<legend>5. Guess the number </legend>
<input type="submit" value="Start Game" onclick="guessGame()" />
<input type="number" id="guessnum" placeholder="Enter your guess" />
<input type="submit" value="Check Guess" onclick="checkGuess(guessnum.value)" /> </fieldset>
</div>
</div>
<!-- -->
<div class="right">
<h5>Result Window</h5>
<div id="result"> </div>
</div>
</div>
<script src="08Mar.js" charset="utf-8"></script>
</body>
</html>