@CharltonOware
Posted
Hi Florian. What are your thoughts on semantic html? One of the early projects I looked at when starting html introduced them and I have been giving them some thought. In your submission I would replace the <div class="card_button"> with the <button> tag just for readability/accessibility. This is something I am also still learning and the next contributor may shed further light. Clean code otherwise. Keep advancing!
Marked as helpful
@CharltonOware I put my button into a <div> to avoid full width resizing, while my card is on display="flex". You can find the same "mistake" on the picture, which have to be centered left.
Since the beginning, I'm just feeling not comfy with <button> elements, I generally prefer to style <a> links. But you're probably right, my <div> container should get a different semantic.
Hope someone with more experience will come around here !
Keep advancing too !