Tell us what’s happening:
I have completed the v9 JavaScript Form Validation section. On 8/5/2026 the Form Validation section show the Workshop Envelope Budget App is not completed. I have also completed the v7 JavaScript certification.
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="styles.css" />
<title>Envelope Budgeter</title>
</head>
<body>
<main>
<h1>Envelope Budgeter</h1>
<div class="container">
<!-- User Editable Region -->
<!-- User Editable Region -->
</div>
</main>
</body>
</html>
/* file: styles.css */
:root {
--light-grey: #f5f6f7;
--dark-blue: #0a0a23;
--fcc-blue: #1b1b32;
--light-yellow: #fecc4c;
--dark-yellow: #feac32;
--light-pink: #ffadad;
--dark-red: #850000;
--light-green: #acd157;
}
body {
font-family: "Lato", Helvetica, Arial, sans-serif;
font-size: 18px;
background-color: var(--fcc-blue);
color: var(--light-grey);
margin: 0;
padding: 0;
line-height: 1.5;
}
h1 {
text-align: center;
margin-top: 30px;
font-size: 2em;
}
.container {
width: 90%;
max-width: 680px;
margin: 20px auto;
padding: 20px;
background-color: var(--dark-blue);
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
label,
legend {
font-weight: bold;
margin-bottom: 5px;
}
fieldset {
border: 1px solid var(--light-grey);
border-radius: 4px;
padding: 10px 15px;
margin-bottom: 20px;
}
legend {
padding: 0 8px;
}
.input-container {
display: flex;
flex-direction: column;
gap: 8px;
margin-top: 10px;
}
input,
select,
button {
font-size: 16px;
padding: 6px 10px;
border-radius: 4px;
border: 1px solid #ccc;
min-height: 32px;
box-sizing: border-box;
}
input:focus,
select:focus,
button:focus {
outline: 2px solid var(--light-yellow);
border-color: var(--dark-yellow);
}
button {
cursor: pointer;
text-decoration: none;
background-color: var(--light-yellow);
border: 2px solid var(--dark-yellow);
transition: background-color 0.2s ease, border 0.2s ease;
}
button:hover {
background-color: var(--dark-yellow);
color: white;
}
.controls {
margin-bottom: 20px;
}
.controls span {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.output {
border: 2px solid var(--light-grey);
padding: 15px;
text-align: center;
background-color: var(--dark-blue);
border-radius: 6px;
margin-top: 20px;
}
.output span {
font-weight: bold;
font-size: 1.4em;
}
.surplus {
color: var(--light-green);
}
.deficit {
color: var(--light-pink);
}
.hide {
display: none;
}
@media (max-width: 600px) {
body {
font-size: 16px;
}
.controls span {
flex-direction: column;
align-items: stretch;
}
button,
input,
select {
width: 100%;
}
}
/* file: script.js */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:153.0) Gecko/20100101 Firefox/153.0
Challenge Information:
Build an Envelope Budget App - Step 1