-
Notifications
You must be signed in to change notification settings - Fork 0
/
dom.html
32 lines (29 loc) · 814 Bytes
/
dom.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
29
30
31
32
<!DOCTYPE html>
<html>
<head>
<!-- css file link -->
<link href="dom.css" rel="stylesheet" >
</head>
<body style="margin: 0">
<!-- main container -->
<div class="main-container">
<!-- left side -->
<div class="left-container">
<!-- count -->
<h1 style="color: white" id="count">1</h1>
<!-- add bricks button -->
<button id="button-one" class="plus-button" onclick="addBrick()" onmouseover="changeButtonColor()">
ADD
</button>
<!-- remove bricks button -->
<button class="minus-button" onclick="removeBrick()">REMOVE</button>
</div>
<!-- right side -->
<div id="right-container" class="right-container_cl">
<div class="brick"></div>
</div>
</div>
<!-- script file link -->
<script src="dom.js"></script>
</body>
</html>