Design comparison
Community feedback
- @AlvaroSBernucciPosted 3 months ago
Good job, for semantic i think next time is good use ul before li
0@kwaeterinckxPosted 3 months ago@AlvaroSBernucci,
Thank you. But this is semantic: The <menu> HTML element is described in the HTML specification as a semantic alternative to <ul>, but treated by browsers (and exposed through the accessibility tree) as no different than <ul>. It represents an unordered list of items (which are represented by <li> elements). The <menu> and <ul> elements both represent an unordered list of items. The key difference is that <ul> primarily contains items for display, while <menu> was intended for interactive items.
Source: MDN https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord