-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path4a.html
More file actions
47 lines (33 loc) · 875 Bytes
/
Copy path4a.html
File metadata and controls
47 lines (33 loc) · 875 Bytes
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
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> HTMLCSSJS Exercises </title>
<style>
.cart-button {
background-color: yellow;
}
.buy-button {
background-color: orange;
}
</style>
</head>
<body>
<button> Click </button> <br>
<br>
<button> Amit </button>
<button> Chocolate </button>
<p> Hello, World! </p>
<p> Today I went to the grocery store to buy some eggs and vegetables. </p>
<h2> Adults Plain Cotton Tshirt </h2>
<h2> Price : $7.99 </h2>
<button class="cart-button" onclick="alert('Added');">
Add to Cart </button>
<button class="buy-button" onclick=" console.log('Loading...'); alert('Purchased');">
Buy Now </button>
<script>
console.log("Welcome");
</script>
</body>
</html>