-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
28 lines (26 loc) · 911 Bytes
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>react/redux</title>
<link href="style.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/redux/4.1.1/redux.min.js"></script>
</head>
<body>
<h1>Buy Phone</h1>
<h4>set all differents action in redux</h4>
<div class="phone-cell">
<img src="phone.png" alt="phones to buy">
<p>available: <span id="phoneAvailable"></span></p>
<button id="buy-phone">Buy Phone</button>
</div>
<div class="phone-cell">
<img src="tablet.png" alt="tablet to buy">
<p>available: <span id="tabletAvailable"></span></p>
<button id="buy-tablet">Buy Tablet</button>
</div>
<script src="main.js"></script>
</body>
</html>