-
Notifications
You must be signed in to change notification settings - Fork 0
/
gadgets.html
24 lines (24 loc) · 869 Bytes
/
gadgets.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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://bismuthnickel.github.io/stylesheet.css">
<link rel="icon" href="https://bismuthnickel.github.io/favicon.png">
<title>Gadgets - bismuth's site</title>
</head>
<body>
<h3>Here's a random color picker.</h3>
<form>
<input type="color" id="colar">
<input type="button" value="set coluh" onclick="cola()">
</form>
<br>
<canvas id="coluh" style="background-color:#ff0000"></canvas>
<h3>And a text input.</h3>
<form>
<input type="text" id="tehxt">
<input type="button" value="set text" onclick="text()">
</form>
<p><span id="tex">This is sample text.</span> - jax ig</p>
</body>
<script src="gadgets.js"></script>
</html>