-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (40 loc) · 2.11 KB
/
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
33
34
35
36
37
38
39
40
41
<html>
<body>
<script src="js/vendor/jquery-2.1.1.js"></script>
<script src="js/problem1.js"></script>
<script src="js/problem2.js"></script>
<script src="js/problem3.js"></script>
<script src="js/problem4.js"></script>
<script src="js/problem5.js"></script>
<script src="js/main.js"></script>
<div>Problem 1</div>
<div><span>Given there are </span><span id="numberOfKites"></span><span> kites</span></div>
<div>When the game begins</div>
<div><span>Then the output should be: </span><span id="answer"></span></div>
<br>
<div>Problem 2</div>
<div><span>Given there are </span><span id="numberOfRickshaws"></span><span> auto rickshaws on the road</span></div>
<div><span>And the time is </span><span id="beforeOrAfter"></span><span> 8pm</span></div>
<div>When I check to see if there is a traffic jam.</div>
<div><span>Then </span><span id="aOrNo"></span><span> traffic jam is predicted</span></div>
<br>
<div>Problem 3</div>
<div><span>Given I have traveled </span><span id="distanceTraveled"></span><span> kilometers</span></div>
<div><span>And I spent </span><span id="timeWaiting"></span><span> minutes waiting in traffic</span></div>
<div><span>And it is </span><span id="nightOrDay"></span><span> time</span></div>
<div>When I arrive at my destination</div>
<div><span>Then the total fare is Rs </span><span id="fare"></span></div>
<br>
<div>Problem 4</div>
<div><span>Given Rs </span><span id="listOfNotes"></span><span> notes </span></div>
<div><span>When I count the money</span></div>
<div><span>Then my total is Rs </span><span id="sumOfNotes"></span></div>
<br>
<div>Problem 5</div>
<div> <span>Given an advertising text:</span><span id="advertisingText"></span></div>
<div> When I correct the text </div>
<div> Then the result should be: </div>
<div><span id="correctedText"></span></div>
<div> count: <span id="numberOfWords"></span></div>
</body>
</html>