Vanza Setiaβ’ 27,855
@vanzasetia
Posted
Hello there! π
Congratulations on finishing this challenge! π
Some suggestions from me.
- Never use
100vw
on anything as it doesn't account for scrollbars when present. It may only ever introduce potential overflow/scroll bugs. - I recommend adding
rel="noopener"
to any anchor tags that havetarget="_blank"
. This is a security essential for external links. I suggest reading the web.dev article to learn more about this. - Avoid using JavaScript to add styling (unless you've no other option). JavaScript allows you to change the CSS code using the
style
property. But, to make debugging easier and improve code maintainability, itβs best to avoid it. Use CSS classes instead. - Wrap all the
input
element with aform
element. After that, select theform
element and make it listen to the submit event. Finally, run validation.
That's it! I hope this helps.
Marked as helpful
2