scrimba
JS color tool
Create Custom Toggle Button Layout
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Create Custom Toggle Button Layout
AboutCommentsNotes
Create Custom Toggle Button Layout
Expand for more info
index.html
run
preview
console
<html>
<head>
<link rel="stylesheet" href="index.css">
<link
href="https://fonts.googleapis.com/css?family=Montserrat"
rel="stylesheet"
/>
</head>
<body>

<div class="container">
<h1 class="title">Color Lighten/Darken</h1>

<label for="hex">Color (Hex)</label>
<input type="text" name="hex" id="hexInput"
placeholder="#000000" value="#c6d5ac"/>

<label for="slider" id="sliderText">0%</label>
<input type="range" min="0" max="100" value="0"
class="slider" id="slider" name="slider"</input>
<p>Input Color</p>
<div id="inputColor" class="box"></div>
<p id="alteredColorText">Altered Color</p>
<div id="alteredColor" class="box"></div>
</div>

<script src="index.pack.js"></script>
</body>
</html>
Console
/index.html
-3:29