@Harsh-Kumar-Dwivedi
Posted
Hi @Micha087 ,
I think you can make markup more semantic by using <main>
element instead of <div class="card">
and <footer>
element instead of <div class="attribution">
. This will improve accessibility.
Hope it is helpful !
Happy Coding !
@Micha087
Posted
Hi @Harsh-Kumar-Dwivedi do you mean replace the divs with main and footer element or surround the <div class="card"> with the main element and <div class="attribution"> with the footer element?
@Harsh-Kumar-Dwivedi
Posted
@Micha087
Both will work, but it would be better to replace as it will not become extra code then and also you can style them using element selectors only instead of assigning classes.
Hope this helps !
@Micha087
Posted
@Harsh-Kumar-Dwivedi Thanks for the advice, i will keep it in mind for future challenges
@Harsh-Kumar-Dwivedi
Posted
@Micha087
Welcome !
If you find it helpful, please consider marking it as "Marked as helpful".
Happy Coding !