-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
83 lines (70 loc) · 3.16 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Canva Clone</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="styles.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.10.2/Sortable.min.js"></script>
</head>
<body>
<nav class="nav-bar">
<input type="number" id="width-input"> X
<input type="number" id="height-input">
<input type="button" value="Submit" class="button" id="submitBtn">
<div id="percentage-value"> </div>
</nav>
<div id="drawing-board">
</div>
<canvas id="mycanvas" >
</canvas>
<div class="layer-container" id="layer-container">
</div>
<div class="editor" id="editor">
<div class="storage-container" id="saved-data">
</div>
<span class="error" id="error"></span>
<option value="Times Roman">
</option>
<div class="add-container" id="add-container">
<input type="text" id="google-font">
<select name="font-family" id="font-family" >
<option value="Times New Roman">Times New Roman</option>
<option value="sans-serif">sans-serif</option>
<option value="monospace">monospace</option>
</select>
<input type="file" id="file-input">
<input type="number" id="font-size" min="0" value="20">
<input type="color" id="color-picker">
<button class="shape-button" id="add-rect">
<i class="fa fa-sharp fa-solid fa-square" style="font-size:25px;"></i>
</button>
<button class="shape-button" id="add-circle">
<i class="fa fa-sharp fa-solid fa-circle" style="font-size:25px;"></i>
</button>
<button value="Add Image" id="add-image" class="shape-button">
<i class="fa fa-sharp fa-solid fa-image" style="font-size:25px;"></i>
</button>
<button id="crop" value="Crop">
<i class="fa fa-solid fa-crop" style="font-size:25px;"></i>
</button>
<button type="button" value="Add Text" id="add-text" class="shape-button">
T
</button>
<button type="button" id="delete" >
<i class="fa fa-sharp fa-solid fa-trash" style="font-size:25px;"></i>
</button>
<button type="button" value="Download" id="download">
<i class="fa fa-solid fa-download" style="font-size:25px;"></i>
</button>
<button type="button" value="Save" id="save">
Save
</button>
</div>
</div>
<img src="" id="hidden-img" alt="">
<script src="index.js"></script>
</body>
</html>