-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.jsx
39 lines (33 loc) · 788 Bytes
/
App.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import { useState } from 'react';
import './App.css';
function HabitCategories({ name }) {
return (
<div className="habit-category">
<p>{name}</p>
</div>
);
}
function AddTask(){
return(
<>
</>
)
}
function App() {
const [count, setCount] = useState(0);
return (
<div className="main-container">
<h1>Atomic Habits Tracker</h1>
<p className="subtitle">Tiny Changes, Remarkable Results</p>
<div className="habit-container">
<HabitCategories name="Health" />
<HabitCategories name="Study" />
<HabitCategories name="Career" />
<HabitCategories name="Sports" />
<HabitCategories name="Social" />
<HabitCategories name="Nutrition"/>
</div>
</div>
);
}
export default App;