pull/139/merge
Uma Das 3 years ago committed by GitHub
commit b68dba1c24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,21 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Drawing App</title>
</head>
<body>
<canvas id="canvas" width="800" height="700"></canvas>
<div class="toolbox">
<button id="decrease">-</button>
<span id="size">10</span>
<button id="increase">+</button>
<input type="color" id="color">
<button id="clear">X</button>
</div>
<script src="script.js"></script>
</body>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Drawing App</title>
</head>
<body>
<canvas id="canvas" width="800" height="700"></canvas>
<div class="toolbox">
<button id="decrease">-</button>
<span id="size">10</span>
<button id="increase">+</button>
<input type="color" id="color">
<button id="clear">x</button>
</div>
<script src="script.js"></script>
</body>
</html>

@ -11,7 +11,7 @@ body {
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
height: 89vh;
margin: 0;
}
@ -29,7 +29,8 @@ canvas {
.toolbox > * {
background-color: #fff;
border: none;
border-radius: 14px;
border: 1px solid black;
display: inline-flex;
align-items: center;
justify-content: center;

Loading…
Cancel
Save