Build an alarm clock app

Đang mở
#26 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
frontend

Hướng nghiên cứu

Bắt đầu với phần bài tập trong Sprint-3/alarmclock và đọc các tiêu chí nghiệm thu trước khi chạy ứng dụng. Kiểm tra các entry point hiện có và triển khai bộ hẹn giờ, các điều khiển báo thức, âm thanh và thay đổi hình nền được mô tả ở đó. Công việc được xem là hoàn tất khi mọi kịch bản được liệt kê đều hoạt động, bao gồm cả trạng thái ban đầu 00:00.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

🏕 Priority Mandatory 🐂 Size Medium 📅 Sprint 3 Core Module-Data-Groups Submit:PR
Link to the coursework

https://github.com/CodeYourFuture/Module-Data-Groups/tree/main/Sprint-3/alarmclock

Learning Objectives
  • Develop a web app according to a specification
  • Practice working with timers in JavaScript
Why are we doing this?

These challenges are designed to develop your problem-solving skills.

In this exercise you need to build an alarm clock which meets the following criteria:

Acceptance criteria
  • Given the user has entered a number in the input field
    When the user clicks the "Set Alarm" button
    Then the "Time Remaining" title should update to show the entered number in mm:ss format

  • Given the alarm is set with a valid time
    When one second passes
    Then the "Time Remaining" title should decrement by 1 second

  • Given the alarm is set with a time of 00:00
    When the timer reaches 00:00
    Then the alarm sound should play continuously

  • Given the alarm sound is currently playing
    When the user clicks the "Stop Alarm" button
    Then the alarm sound should stop playing

  • Given the alarm is set with a time of 00:10
    When the timer reaches 00:00
    Then the background colour should change
    And the alarm sound should play

  • Given the user has not set an alarm
    When the page first loads
    Then the "Time Remaining" title should show 00:00
    And no alarm sound should play

Maximum time in hours

4

How to get help

General advice on asking for help can be found on the curriculum pages.
You can always share your blockers in your class channel and get help from your colleagues.

Submission & Review
  1. Fork the coursework repo to your Github account.
  2. Make a branch for this project.
  3. Make regular small commits in this branch with clear messages.
  4. When you are ready, open a PR to the CYF repo, following the instructions in the PR template.

There are several projects in this repo. Make a new branch based on the main branch for each project.

Ngôn ngữ chính
JavaScript
Star
1
Fork
327
Merge trung bình
3 giờ 25 phút
Pull request đã merge (30 ngày)
2

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CodeYourFuture/Module-Data-Groups

Tất cả issue của CodeYourFuture/Module-Data-Groups

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.