Using plain javascript, enhance this jsfiddle snippet
- Tình trạng: Pending
- Giải thưởng: $15
- Các bài thi đã nhận: 14
- Người chiến thắng: tljafar
Tóm tắt cuộc thi
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.
Các kĩ năng yêu cầu
Những bài dự thi tốt nhất dự cuộc thi này
-
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
Bảng thông báo công khai
Làm thế nào để bắt đầu với cuộc thi
-
Đăng cuộc thi của bạn Nhanh chóng và dễ dàng
-
Nhận được vô số Bài dự thi Từ khắp nơi trên thế giới
-
Trao giải cho bài thi xuất sắc nhất Download File - Đơn giản!