scrimba
JS color tool
Check for Valid Hex Color in JavaScript
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

Check for Valid Hex Color in JavaScript
AboutCommentsNotes
Check for Valid Hex Color in JavaScript
Expand for more info
index.css
run
preview
console
* {
margin: 0;
padding: 0;
}

body {
font-family: 'Montserrat', sans-serif;
background-color: #3e4560;
color: white;
}

.container {
padding: 0 10px;
}

.title {
text-align: center;
margin: 20px;
color: #d6d5ac;
}

label {
display: block;
font-size: 20px;
margin-bottom: 5px;
}

input {
margin-bottom: 25px;
}

input[type="text"]{
padding: 5px 10px;
border-radius: 3px;
border: none;
}

.box {
height:100px;
width: 100%;
background-color: #c6d5ac;
margin-bottom: 25px;
}
Console
/index.html
-5:17