Git Product home page Git Product logo

alarm-clock's Introduction

Clock Application ⏰

This is a simple web-based clock application that provides features to view the current time, set alarms, and toggle between light and dark modes.

Clock Application

Features ⚙️

  • View Current Time: The clock displays the current time in hours, minutes, and seconds.

  • Light/Dark Mode: You can toggle between light and dark modes for a customized appearance.

  • Set Alarms: Set alarms for specific hours, minutes, and seconds. When an alarm matches the current time, it triggers an alert sound.

  • Interactive UI: The user interface allows you to create and save alarms.

Usage 💻

  1. Open the index.html file in your web browser.

  2. Observe the current time displayed on the clock.

  3. Toggle between light and dark modes by clicking the "Dark mode" button.

  4. Click the "Create alarm" button to set a new alarm.

  5. Enter the desired hour, minute, and second for the alarm and click the "Save" button.

  6. The saved alarm details will be displayed below the clock.

  7. When the alarm matches the current time, an alert sound will play.

Screenshots 📷

Dark Mode

Dark Mode

Technical Details 🔧

This clock application is built using HTML, CSS, and JavaScript. It leverages the browser's built-in Date object to track and display the current time. Alarms are set using user inputs and checked against the current time in a loop.

Contributing 🤝

Contributions are welcome! If you have any suggestions, improvements, or feature requests, please feel free to open an issue or submit a pull request.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.