-
Notifications
You must be signed in to change notification settings - Fork 0
/
sfu.1.html
37 lines (35 loc) · 1.57 KB
/
sfu.1.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>SHAPESFRU</title>
<link rel="stylesheet" href="style1.css">
<script src="https://kit.fontawesome.com/d34c42e8ae.js" crossorigin="anonymous"></script>
<link rel="icon" type="image/png" href="C:\Users\vaibhavi\Desktop\to edit\images.jfif"/>
</head>
<body>
<header id="main-header"><h1>Load Shape</h1></header>
<div id= "buttons">
<div id="shift"><h2> Enter Parameters</h2><br>
<input id="shapee" placeholder="Enter Shape"><br><br><br>
<input id="colore" placeholder="Enter Color"><br><br><br>
<input id="height" placeholder="Height/Radius"><br><br><br>
<input id="lenght" placeholder="Base Lenght/0"><br><br><br></div></div><br><br><br><br><br><br><br>
<canvas id="element" width="600" height="600"></canvas>
<div class="home">
<button onclick ="fn1()" class = "button">Go</button><br><br>
<a href ="./sfu.1.html">
<button class="button">Reset</button></a><br><br>
<div class="shift-2"><a href ="./index.html">
<i class="fa-solid fa-house fa-5x"></i></a></div></div>
<div id="text"><h2>NOTE<br><br>
If 'square' enter height and lenght equal.<br>
If 'circle' enter lenght as '0'.<br>
If 'circle' enter height value as radius.<br><br>
Constraint to use only square,rectangle,<br>
circle,rRight-triangle,Scale-Triangle,semi-circle.<br>
Higher values cause loss of content.
</h2></div>
<script src ="./fn1.js"></script>
</body>
</html>