-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlookwhatidrew.html
54 lines (53 loc) · 1.54 KB
/
lookwhatidrew.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>TweetShirt</title>
<meta charset="utf-8">
<style>
canvas {
border: 1px solid black;
}
</style>
<script src="tweetshirt.js"></script>
</head>
<body>
<h1>TweetShirt</h1>
<canvas id="tshirtCanvas" width="800" height="200">
<p>Please upgrade your browser to use TweetShirt!</p>
</canvas>
<form>
<p>
<label for="backgroundColor">Select background color:</label>
<select id="backgroundColor">
<option value="white" selected="selected">White</option>
<option value="black">Black</option>
</select>
</p>
<p>
<label for="shape">Circles or squares?</label>
<select id="shape">
<option value="none" selected="selected">Neither</option>
<option value="circles">Circles</option>
<option value="squares">Squares</option>
</select>
</p>
<p>
<label for="foregroundColor">Select text color:</label>
<select id="foregroundColor">
<option value="black" selected="selected">Black</option>
<option value="white">White</option>
</select>
</p>
<p>
<label for="tweets">Pick a slogan:</label>
<select id="tweets">
<option value="Suck it, Jerk!">Suck it, Jerk!</option>
<option value="Whoever Smelt It, Dealt It.">Whoever Smelt It, Dealt It.</option>
</select>
</p>
<p>
<input type="button" id="previewButton" value="Preview">
</p>
</form>
</body>
</html>