Using plain javascript, enhance this jsfiddle snippet
- Status: Pending
- Prize: $15
- Entries Received: 14
- Winner: tljafar
Contest Brief
See https://jsfiddle.net/richkingsford/3edg9nwu/1/
Please use your own jsfiddle to enhance this solution so it's more robust and scalable.
Example inputs: [1, 8], [3, 4], [2, 7]
Example outputs:
1. We can think of 1 x 8 as 1 group of 8
2. We can think of 3 x 4 as 3 group of 4
3. We can think of 2 x 7 as 2 groups of 7
Other requirements
1. Use just the one css animation (and preserve its functionality)
2. Create the <p> tags using javascript (not hardcoded like it is now)
3. Use plain javascript (no 3rd party libraries)
4. Minimal code changes is nice (just a little javascript would be ideal)
5. Readable code. Minimal hardcode.
Recommended Skills
Top entries from this contest
-
tljafar Sri Lanka
-
soshiv India
-
Ominir Russian Federation
-
hesham3la2 Saudi Arabia
-
lukmanm37 Ghana
-
mdtausifiqbal India
-
lukmanm37 Ghana
-
Izima Nigeria
-
testotorko Bulgaria
-
s4bit India
-
properdeveloper Bangladesh
-
quacoo Ghana
-
Ominir Russian Federation
-
Ominir Russian Federation
Public Clarification Board
How to get started with contests
-
Post Your Contest Quick and easy
-
Get Tons of Entries From around the world
-
Award the best entry Download the files - Easy!