This project is a simple yet functional digital alarm clock built with Angular. It features a sleek, modern design with a digital display and alarm functionality.
- Real-time digital clock display
- Date display
- Set and cancel alarms
- Visual and audio alarm notifications
- Responsive design
Before you begin, ensure you have met the following requirements:
- Node.js (v12.0 or higher)
- npm (v6.0 or higher)
- Angular CLI (v12.0 or higher)
-
Clone the repository:
git clone https://github.com/yourusername/angular-alarm-clock.git
-
Navigate to the project directory:
cd angular-alarm-clock
-
Install the dependencies:
npm install
-
Start the development server:
ng serve
-
Open your browser and navigate to
http://localhost:4200/
-
Click on the time display to open the alarm setting form.
-
Set your desired alarm time and click "Set Alarm".
-
When the alarm goes off, click the alarm icon to stop it.
app.component.*
: Main component for the clock displayalarm-form.component.*
: Component for setting alarmsalarm-clock.service.ts
: Service for managing clock and alarm functionality
You can customize the appearance of the clock by modifying the CSS in app.component.css
. The current design features a dark theme with a glowing effect for the time display.
Contributions to the Angular Alarm Clock project are welcome. Please feel free to submit a Pull Request.
This project is open source and available under the MIT License.
- Angular
- DS-Digital Font for the clock display