Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Build an alarm clock app

Abierto
#26 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
Medio día
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
javascript
Área
frontend

Línea de trabajo

Comienza con el trabajo del curso en Sprint-3/alarmclock y lee los criterios de aceptación antes de ejecutar la aplicación. Comprueba los puntos de entrada existentes e implementa el temporizador, los controles de alarma, el sonido y el cambio de fondo descritos allí. Se considera terminado cuando funciona cada escenario indicado, incluido el estado inicial 00:00.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

🏕 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.

Lenguaje dominante
JavaScript
Estrellas
1
Forks
327
Merge medio
3 d 7 h
PR fusionados (30 d)
3

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de CodeYourFuture/Module-Data-Groups

Todos los issues de CodeYourFuture/Module-Data-Groups

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.