---
title: "Discussion on \"Why <h1> elements appear smaller in <section> elements\" | Hashnode"
description: "Discussion on \"Why <h1> elements appear smaller in <section> elements\". BackstoryI was working on a fronted mentor's challenge and ran into some bugs with a flexbox container in my layout. I decided to comment out my CSS code and debug by reviewing each code line by line.\nLooking at my bare HTML structure, my attention w..."
url: "https://hashnode.com/posts/why-h1-elements-appear-smaller-in-section-elements/6571f83f2463b953b2dc91bc"
---

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

Discussion

# [Why <h1> elements appear smaller in <section> elements](https://maryamakodu.hashnode.dev/why-h1-elements-appear-smaller-in-section-elements?utm_source=hashnode&utm_medium=feed)

BackstoryI was working on a fronted mentor's challenge and ran into some bugs with a flexbox container in my layout. I decided to comment out my CSS code and debug by reviewing each code line by line. Looking at my bare HTML structure, my attention w...

Dec 7, 2023 · 2 min read · maryamakodu.hashnode.dev  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)

## Written by

[maryam akodu](https://hashnode.com/@maryamakodu)

@maryamakodu · Lagos, Nigeria

  
[View profile](https://hashnode.com/@maryamakodu)

csc undergrad

learning code, one day at a time

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
