Using plain javascript, enhance this jsfiddle snippet
- Статус: Pending
- Награды: $15
- Полученные заявки: 13
- Победитель: tljafar
Краткое описание конкурса
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.
Рекомендуемые навыки
Лучшие работы этого конкурса
-
tljafar Sri Lanka
-
soshiv India
-
Ominir Russian Federation
-
hesham3la2 Saudi Arabia
-
lukmanm37 Ghana
-
mdtausifiqbal India
-
lukmanm37 Ghana
-
Izima Nigeria
-
s4bit India
-
properdeveloper Bangladesh
-
quacoo Ghana
-
Ominir Russian Federation
-
Ominir Russian Federation
Панель общих вопросов
Как организовать конкурс
-
Опубликуйте ваш конкурс Быстро и легко
-
Получите массу заявок Со всего мира
-
Присудите приз лучшей заявке Загрузите файлы – это просто!