-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
38 lines (31 loc) · 1.13 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
<!DOCTYPE html>
<html>
<head>
<title>Pop Art Generator</title>
<link href="style.css" rel="stylesheet">
</head>
<body>
<div id="inputContainer">
<input type="textarea" id="imageSrcInput" placeholder="https://images.unsplash.com/photo-1570368512663-942e54f0c183?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ"></input>
<button onClick="updateImages()">Update Images</button>
<span id="labelText"></span>
<!--start of sliders-->
<h4 id="labelText">Brightness:</h4>
<div class="slidecontainer">
<input type="range" min="0" max="500" value="100" class="slider" id="sliderBrightness">
</div>
<h4 id="labelText">Contrast:</h4>
<div class="slidecontainer">
<input type="range" min="0" max="500" value="100" class="slider" id="sliderContrast">
</div>
<h4 id="labelText">Saturation:</h4>
<div class="slidecontainer">
<input type="range" min="0" max="500" value="100" class="slider" id="sliderSaturation">
</div>
<button onClick="renderImages('')">Randomize Colors</button>
<!--end of sliders-->
</div>
<div id="artContainer"></div>
</body>
<script type="text/javascript" src="script.js"></script>
</html>