Skip to content

Commit 6b34d59

Browse files
committed
Update README.md
1 parent 8cbe4e7 commit 6b34d59

File tree

2 files changed

+9
-37
lines changed

2 files changed

+9
-37
lines changed

README.md

Lines changed: 9 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,12 @@
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.

time_changer.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,3 @@
1919
<p><input type="submit" value="Convert time" onclick="submitTime()" /></p>
2020
</body>
2121
</html>
22-
23-
24-

0 commit comments

Comments
 (0)