Skip to content

Commit 9100daf

Browse files
authored
Merge pull request #439 from IshikaSinghRajput/main
Add Digital Clock React Project
2 parents 112fda1 + cb222f9 commit 9100daf

File tree

14 files changed

+17848
-0
lines changed

14 files changed

+17848
-0
lines changed

digital_clock/.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/build
13+
14+
# misc
15+
.DS_Store
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*

digital_clock/README.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# 🕒 Digital Clock (React)
2+
3+
A simple and elegant **Digital Clock** built using **React.js**.
4+
This project displays the current time (updated every second) and the current date, with a beautiful glowing dark theme.
5+
6+
---
7+
8+
## 🚀 Features
9+
10+
- ⏰ Displays real-time hours, minutes, and seconds
11+
- 📅 Shows the current date
12+
- ⚡ Auto updates every second using `setInterval`
13+
- 🎨 Modern dark UI with glowing text effect
14+
- 🧠 Clean React functional component with hooks (`useState`, `useEffect`)
15+
16+
---
17+
18+
## 🧩 Tech Stack
19+
20+
- **React.js** – UI framework
21+
- **CSS3** – Styling and animations
22+
- **JavaScript (ES6)** – Logic and state management
23+
24+
---
25+
26+
## 📦 Installation & Setup
27+
28+
Follow these steps to run the project locally:
29+
30+
# Clone this repository
31+
32+
https://github.com/IshikaSinghRajput/React-projects-for-beginners.git
33+
34+
# Go into the project directory
35+
36+
cd digital-clock
37+
38+
# Install dependencies
39+
40+
npm install
41+
42+
# Start the app
43+
44+
npm start
45+
46+
```
47+
48+
```

0 commit comments

Comments
 (0)