-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (69 loc) · 2.04 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
<!DOCTYPE html>
<html>
<head>
<title>Helpful Hello World</title>
<meta name="description" content="A helpful Hello World website to teach and learn">
<link rel="stylesheet" type="text/css" href="./styles.css" />
</head>
<body>
<nav>
<ul>
<li>
<a href="./index.html">Hello World</a>
</li>
<li>
<a href="./contact.html">Contact</a>
</li>
</ul>
</nav>
<h1>Hello World</h1>
<section>
<h2>Functionality (JavaScript)</h2>
<button id="add-help-btn" type="button">Add Help from Google</button>
<button id="add-help-text" type="button">Add Helpful Text</button>
<button id="show-help-text" type="button">
Toggle Helpful Texts</button>
<div>
<h3>Input text in alert</h3>
<form id="input-text-form">
<input type="text" placeholder="Alert text here and ..." required maxlength="8" />
<input type="number" placeholder="number here" min="0" max="999" required />
<button type="submit">Submit text</button>
</form>
</div>
</section>
<section>
<h2>Help Us</h2>
<div class="helpful-texts hidden">
<p>
Don't give up on life, it only sucks all the way, it may suck worse tomorrow.
</p>
</div>
<div id="added-help-btns">
<!-- Our container for dynamically added helpful links, buttons and texts -->
</div>
<div>
<h3>Upload image file</h3>
<form id="upload-image-form">
<input type="file" accept="image/*" multiple />
<button type="submit">Upload File</button>
</form>
</div>
<div id="uploaded-images">
<h3>Uploaded images</h3>
<!-- Our container for dynamically loaded, uploaded images -->
</div>
<div id="random-color-container">
<h3>We got random colors on resize here...</h3>
<p>Resize the window for a new color!</p>
</div>
<div>
<button id="random-size-button" type="button">Click to give this button a random size</button>
</div>
<button id="chance-color" type="button">
klik here
<button>
</section>
<script type="text/javascript" src="./scripts.js"></script>
</body>
</html>