-
-
Notifications
You must be signed in to change notification settings - Fork 283
London | 26-ITP-Jan | Karla Grajales | Sprint 3 | Alarm Clock App #1183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Grajales-K
wants to merge
19
commits into
CodeYourFuture:main
Choose a base branch
from
Grajales-K:Alarm-Clock-App
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 12 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
d3adbf9
add music effects
Grajales-K a067260
feat: add meta description and favicon to alarm clock page
Grajales-K 97a40d0
feat: implement alarm countdown display in setAlarm function
Grajales-K 14a0278
feat: add countdown functionality to alarm clock display
Grajales-K 3b04b19
feat: refactor setAlarm function and add display update logic
Grajales-K 13ef67d
feat: add placeholder text for alarm time input field
Grajales-K e89fc7d
feat: update alarm sound and add stop audio functionality
Grajales-K 088efa0
feat: add step attribute to alarm time input for precise time setting
Grajales-K 2e8d9f5
feat: enhance alarm functionality with input validation and random ba…
Grajales-K b0b40a3
feat: update placeholder text for alarm time input field
Grajales-K b33fd6a
feat: add styling for alarm clock interface with new layout and butto…
Grajales-K 063968e
feat: reset audio playback position when pausing alarm
Grajales-K 3a3a9d0
feat: refactor countdown variable to countdownInterval for clarity
Grajales-K 3537c04
feat: add resetApp function to restore initial app state
Grajales-K 011f069
feat: improve input validation and enhance countdown logic in setAlar…
Grajales-K 928b976
feat: refactor setAlarm function for improved readability and maintai…
Grajales-K 582e497
feat: add background color animation on alarm trigger for enhanced us…
Grajales-K 325c4b4
feat: improve input validation in setAlarm function by removing empty…
Grajales-K 88b277b
feat: initialize audio elements for alarm and stop sounds
Grajales-K File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,65 @@ | ||
|
|
||
|
|
||
| body{ | ||
| background-color: #f7f3f2; | ||
| color: #333; | ||
| font-family: Arial, sans-serif; | ||
| margin: 0; | ||
| padding: 0; | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| height: 100vh; | ||
| } | ||
|
|
||
| .centre { | ||
| position: fixed; | ||
| top: 50%; | ||
| left: 50%; | ||
| -webkit-transform: translate(-50%, -50%); | ||
| transform: translate(-50%, -50%); | ||
| padding: 2rem 2rem; | ||
| border-radius: 12px; | ||
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.8); | ||
| text-align: center; | ||
| } | ||
|
|
||
| /* Input Field */ | ||
| #alarmSet { | ||
| margin: 20px; | ||
| margin: 1rem ; | ||
| padding: 1rem; | ||
| border: 1px solid #ccc; | ||
| border-radius: 6px; | ||
| font-size: 1rem; | ||
| max-width: 300px; | ||
| box-sizing: border-box; | ||
| } | ||
|
|
||
| #alarmSet::placeholder { | ||
| color: #888; | ||
| font-style: italic; | ||
| font-family: 'Arial', sans-serif; | ||
| font-size: 0.8rem; | ||
| } | ||
|
|
||
| h1 { | ||
| text-align: center; | ||
| } | ||
|
|
||
| /* Button */ | ||
| button { | ||
| background-color: #6c63ff; | ||
| color: white; | ||
| border: none; | ||
| border-radius: 6px; | ||
| padding: 10px 20px; | ||
| font-size: 16px; | ||
| cursor: pointer; | ||
| transition: background-color 0.3s ease, transform 0.2s ease; | ||
| } | ||
|
|
||
| button:hover { | ||
| background-color: #dedee8; | ||
| color: #6c63ff; | ||
| transform: translateY(-2px); | ||
| } | ||
|
|
||
| button:active { | ||
| background-color: #4b47b0; | ||
| transform: translateY(0); | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.