article or section element?

I'm not sure whether each of the 3 parts in this card component should be made with the <section/> or <article/> tags. I know that article tags should be independent and make sense on their own and I think each part of the card does make sense on it's own, but at the same time section elements contain thematically related content, and these 3 "sections" are related. So should I use <article/> or <section/>?
No description
5 Replies
ἔρως
ἔρως6mo ago
both? a section with 3 articles?
EthanOB
EthanOBOP6mo ago
Sorry I didn't clarify that this is a front-end mentor challenge 😅. And it's an html and css only challenge. So I didn't make the mockup. I'm just practising my html and css skills by building out already-designed components. The buttons don't link anywhere, it's not a part of a website. I'm just building out the component. here's the code. I thought it should be an article element, but I could be wrong
ἔρως
ἔρως6mo ago
so, what's the question then? if it is still the same question, i will give you the same answer
Lamer of Sweden
Lamer of Sweden6mo ago
Yepp, One section with three articles is what I would do as well. The section is about cars (three categories), and each article talks about each category (sedans, suvs, luxury).
EthanOB
EthanOBOP6mo ago
yh ur right thanks for ur answer
Want results from more Discord servers?
Add your server