I reviewed the available exercise files and identified two issues in 09-nodejs/exercise/form.html. The code was updated to fix them.
- Location:
09-nodejs/exercise/form.html - Problem: The main container uses
class="aling-items-center"instead ofalign-items-center. - Why it matters: This typo prevents Bootstrap’s flex centering utility from working, so the form does not align properly.
- Fix: Changed the class to
align-items-center.
- Location:
09-nodejs/exercise/form.html - Problem: The form labels do not have
forattributes and the inputs do not have matchingidvalues. - Why it matters: Without proper label/input association, the form is less accessible to screen readers and users who click labels expect focus on the corresponding input.
- Fix: Added
id="usernameInput"andid="emailInput"to the inputs and matchingforattributes to the labels.
- There is no
index.htmlfile in this workspace, so I reviewed the available09-nodejsexercise page instead. - The fixes were made directly in
09-nodejs/exercise/form.html.