File tree Expand file tree Collapse file tree 2 files changed +9
-37
lines changed Expand file tree Collapse file tree 2 files changed +9
-37
lines changed Original file line number Diff line number Diff line change 1- # Time Challenge
1+ # Time Challenge in vanilla Javasript!
22
3- Given the time in numerals we may convert it into words, as shown below:
3+ Simple page to give your time in words!
44
5- ![ challenge] ( https://cloud.githubusercontent.com/assets/12941120/17652295/1e0e9e50-624f-11e6-8398-e5a863ca3b85.png )
5+ ### Requirements
6+ - This simple page seems to be functional on any browser.
7+ - Functional on Chrome 50.0 (and probablye later versions).
8+ - Functional on Firefox 46.0 (and probably later versions).
69
7- - Write a program which prints the time in words for the input given in the format mentioned above.
8-
9- ### Input Format
10-
11- There will be two lines of input:
12- ```
13- H, representing the hours
14- M, representing the minutes
15- ```
16-
17- Constraints
18- ```
19- 1 < H < 12
20-
21- 0 <= M <= 60
22- ```
23-
24- ### Output Format
25-
26- Display the time in words.
27-
28- Sample Input
29- ````
30- 5
31- 47
32- ```
33-
34- Sample Output
35- ```
36- thirteen minutes to six
37- ```
10+ ### Usage
11+ - Git clone the repository.
12+ - On project folder, open ` time_changer.html ` on your preferred browser.
Original file line number Diff line number Diff line change 1919 < p > < input type ="submit " value ="Convert time " onclick ="submitTime() " /> </ p >
2020</ body >
2121</ html >
22-
23-
24-
You can’t perform that action at this time.
0 commit comments