-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
167 lines (93 loc) · 5.38 KB
/
Copy pathindex.html
File metadata and controls
167 lines (93 loc) · 5.38 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WhitePad</title>
<!----------------------------------------------------------------links---------------------------------------------------------------------------->
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" />
<script src="script.js" defer></script>
<script src="https://kit.fontawesome.com/f9796040f8.js" crossorigin="anonymous"></script>
</head>
<body>
<div class="container">
<section class="tools-board">
<!-------------------------------------------------------------------------shaped section----------------------------------------------------------->
<div class="row">
<label for="" class="title">Shapes</label>
<ul class="options">
<li class="option tool" id="rectangle">
<i class="fa-regular fa-rectangle"></i>
<span class="material-symbols-outlined">crop_3_2</span>
<span>Rectangle</span>
</li>
<li class="option tool" id="circle">
<i class="fa-thin fa-circle-wide"></i>
<span class="material-symbols-outlined">circle</span>
<span>Circle</span>
</li>
<li class="option tool" id="triangle">
<span class="material-symbols-outlined">change_history</span>
<i class="fa-thin fa-triangle-wide"></i>
<span>Triangle</span>
</li>
<li class="option tool" id="square">
<i class="fa-thin fa-square-wide"></i>
<span class="material-symbols-outlined">crop_5_4</span>
<span>Square</span>
</li>
<li class="option" id="square">
<input type="checkbox" id="fill-color">
<label for="fill-color">Fill Color</label>
</li>
</ul>
</div>
<!----------------------------------------------------------------------options ( pen / eraser ) section------------------------------------------------------------>
<div class="row">
<label class="title">Option</label>
<ul class="options">
<li class="option active tool" id="brush">
<i class="fa-solid fa-pen"></i>
<span>Pen</span>
</li>
<li class="option tool" id="eraser">
<i class="fa-solid fa-eraser"></i>
<span>Eraser</span>
</li>
<li class="option" id="eraser">
<input type="range" id="size-slider" min="1" max="50" value="5" >
</li>
</ul>
</div>
<!----------------------------------------------------------colors section----------------------------------------------------->
<div class="row colors">
<label for="" class="title">Color</label>
<ul class="options">
<li class="option"></li>
<li class="option selected"></li>
<li class="option"></li>
<li class="option"></li>
<li class="option"></li>
<li class="option">
<input type="color" id="color-picker" value="#4A98F7">
</li>
</ul>
</div>
<!--------------------------------------------------------------buttons section---------------------------------------------------------->
<div class="row buttons">
<button class="clear-board">Clear Board</button>
<button class="save-img">Save As Image</button>
</div>
</section>
<!---------------------------------------------------------drawing board section------------------------------------------------------------>
<section class="drawing-board">
<canvas></canvas>
</section>
</div>
<footer class="footer">
<p> © 2024 Ayush Aryan || All rights reserved ||</p>
</footer>
</body>
</html>