-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
32 lines (29 loc) · 1.27 KB
/
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
29
30
31
32
<!DOCTYPE html>
<html lang="en">
<head>
<title>Cursed Pixels</title>
<meta charset="UTF-8">
<link href="https://cursedprograms.github.io/cursedentertainment/cursedFavicon.png" rel="icon" type="image/x-icon" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="index.css">
</head>
<body>
<div class="content"></div>
<h1>Cursed Pixels</h1>
<div style="display: flex; justify-content: center; align-items: center; gap: 10px;">
<button id="eraserButton">Eraser</button>
<label for="brushSize">Brush Size:</label>
<input type="range" id="brushSize" min="1" max="250" value="5">
</div>
<canvas id="paintCanvas" width="800" height="600" style="background-color: white;"></canvas>
<div style="display: flex; justify-content: center; align-items: center; gap: 10px;">
<button id="clearButton">Clear Canvas</button>
<input type="color" id="colorPicker" value="#000000">
</div>
</div>
<footer id="dynamicFooter"></footer>
<script src="https://cursedprograms.github.io/cursedentertainment/scripts/footer.js"></script>
<script src="scripts/paint.js"></script>
<script src="scripts/dragAndDrop.js"></script>
</body>
</html>