Using plain javascript, enhance this jsfiddle snippet
- Status: Pending
- Præmier: $15
- Modtagne indlæg: 14
- Vinder: tljafar
Konkurrence Instruktioner
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.
Anbefalede færdigheder
Bedste indlæg fra denne konkurrence
-
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
Offentlig Præciserings Opslagstavle
Sådan kommer du i gang med konkurrencer
-
Opret din konkurrence Hurtigt og nemt
-
Få tonsvis af indlæg Fra hele verden
-
Tildel det bedste indlæg Download filerne - Nemt!