---
title: "Discussion on \"Two Things I Got Wrong Building a Blog Preview Card\" | Hashnode"
description: "Discussion on \"Two Things I Got Wrong Building a Blog Preview Card\". Two small mistakes building a blog card: a span that wouldn't shrink in flex, and a heading that couldn't take a hover accessibly."
url: "https://hashnode.com/posts/two-things-i-got-wrong-building-a-blog-preview-card/6a8c3f04bd5246a700d44958"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Two Things I Got Wrong Building a Blog Preview Card](https://tarek-elzoghby.hashnode.dev/two-things-i-got-wrong-building-a-blog-preview-card?utm_source=hashnode&utm_medium=feed)

Two small mistakes building a blog card: a span that wouldn't shrink in flex, and a heading that couldn't take a hover accessibly.

Aug 24 · 4 min read · tarek-elzoghby.hashnode.dev  
Read the article

-   [#html](https://hashnode.com/tag/html)
-   [#css](https://hashnode.com/tag/css)
-   [#flexbox](https://hashnode.com/tag/flexbox)
-   [#accessibility](https://hashnode.com/tag/accessibility)
-   [#beginners-learningtocode-100daysofcode](https://hashnode.com/tag/beginners-learningtocode-100daysofcode)

## Written by

[Tarek Elzoghby | طارق الزغبي](https://hashnode.com/@Tarek-Elzoghby)

@Tarek-Elzoghby · egypt

  
[View profile](https://hashnode.com/@Tarek-Elzoghby)

Frontend Developer | HTML, CSS, JavaScript | Accessibility-Focused

Frontend developer, still learning, focused on accessibility. I build projects to practice and to find out what I don't actually understand yet, some finished, some abandoned once I saw why they wouldn't work. HTML, CSS, and JavaScript are the base. Alongside that I'm picking up n8n, Python (including OOP), and Git. Accessibility is the direction I want to specialize in. I'm early there too, but it's held up well in what I've built so far. Right now I'm trying to move into freelancing.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
