Skip to content

Commit 0fe3ccc

Browse files
committed
feat: layout development
1 parent 150cf33 commit 0fe3ccc

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

src/App.js

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,28 @@ function App() {
3232
</div>
3333
</div>
3434
<form className="flex flex-col bg-blue-500">
35-
<label>Bill</label>
35+
<label>Number of people</label>
3636
<div className="flex">
3737
<img src={dollar} alt="dollar" />
38-
<input type="number" value={889} className="w-full" />
38+
<input type="number" value={0} className="w-full" />
3939
</div>
4040
</form>
4141
</div>
42-
<div className=" bg-green-600 w-full p-1"></div>
42+
<div className=" bg-green-600 w-full p-1 rounded-lg">
43+
<div className=" bg-yellow-400 flex justify-between items-center mb-3">
44+
<h2>
45+
Tip Amount <span className=" block">/ person</span>
46+
</h2>
47+
<h1>$445</h1>
48+
</div>
49+
<div className=" bg-yellow-400 flex justify-between items-center mb-3">
50+
<h2>
51+
Total <span className=" block">/ person</span>
52+
</h2>
53+
<h1>$445</h1>
54+
</div>
55+
<button className=" bg-black w-full text-white">Reset</button>
56+
</div>
4357
</div>
4458
</div>
4559
</di>

0 commit comments

Comments
 (0)