Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Digital Clock

Overview

This is a simple digital clock web application built with HTML, CSS, and JavaScript. The clock displays the current time in hours, minutes, and seconds, and updates every second. It also includes a toggle for navigation links to highlight the selected link.

Features

  • Displays the current time in a 12-hour format with AM/PM indicator.
  • Updates the time every second.
  • Formats time units to always display two digits (e.g., 08 instead of 8).
  • Highlights the selected navigation link.

Files

  • index.html: The main HTML file that sets up the structure of the app.
  • index.css: The CSS file that styles the app.
  • index.js: The JavaScript file that adds functionality to the app.

Installation

  1. Clone the repository:
    git clone https://github.com/AlphaAnas/digital-clock-in-javascript/tree/main

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages