Q: Does the solution include semantic HTML? A: Shouldn't the h2 be h1 since it's the first heading of the page? Is it because this is a component?
Other than that everything else looks good!
Marked as helpful
@tobiidev21
Posted
Hi @vw-bask, thank you so much for taking the time to provide your feedback on my project! I think the selection of the tag title depends on the context as you said. If there will be other title tags on the page, we should choose the one that best adapts to the semantic hierarchy, specially when it is a component. In this case, the title should be <h1></h1>
because, despite being a component, its the only one in the entire page. Again, thank you so much for giving your feedback, i will implement it in my project. Best regards