Conversation
mateacademy-ai-mentor
left a comment
There was a problem hiding this comment.
Review Summary
Excellent work on this task! Your solution meets all the core requirements by correctly adding styled labels and capitalized placeholders to the form inputs. I'm happy to approve your submission.
For future reference, consider making your element selector more specific. While document.querySelectorAll('input') works here, using document.querySelectorAll('form input') would be more robust as it guarantees you only select inputs inside the form, which aligns more closely with the task description. This is a minor point but a good practice for more complex pages. Keep up the great coding!
✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨
Footnotes
| 'use strict'; | ||
|
|
||
| // write code here | ||
| const getInput = document.querySelectorAll('input'); |
There was a problem hiding this comment.
According to the task description, you should get all input elements specifically from the form tag. Your current selector document.querySelectorAll('input') will select all inputs on the entire page. To be more precise and avoid potential issues on pages with inputs outside the form, consider using a selector like 'form input'.
No description provided.