# Add a height to a element using the height property

**URL:** <https://forum.freecodecamp.org/t/add-a-height-to-a-element-using-the-height-property/437471>\
**Category:** freeCodeCamp Contributors\
**Tags:** contributing\
**Created:** [December 27, 2020, 3:02pm UTC](https://forum.freecodecamp.org/t/add-a-height-to-a-element-using-the-height-property/437471 "2020-12-27T15:02:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![teslicvasilestefan](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/teslicvasilestefan/32/134176_2.png) [@teslicvasilestefan](https://forum.freecodecamp.org/u/teslicvasilestefan)\
**Post date:** [December 27, 2020, 3:02pm UTC](https://forum.freecodecamp.org/t/add-a-height-to-a-element-using-the-height-property/437471/1 "2020-12-27T15:02:55Z")

</div>

**What is your hint or solution suggestion?**

> ****
>
> ```auto
> 
> <style>
> 
> h4 {
> 
> text-align: center;
> 
> height: 25px; 
> 
> }
> 
> ```

**Link to the challenge:**

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/responsive-web-design/applied-visual-design/adjust-the-height-of-an-element-using-the-height-property)**
>
> Learn to Code — For Free

---

<div class="post-metadata">

**Author:** ![jwilkins.oboe](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jwilkins.oboe/32/179497_2.png) [@jwilkins.oboe](https://forum.freecodecamp.org/u/jwilkins.oboe)\
**Post date:** [December 27, 2020, 3:26pm UTC](https://forum.freecodecamp.org/t/add-a-height-to-a-element-using-the-height-property/437471/2 "2020-12-27T15:26:29Z")

</div>

Hello there.

Thank you, for your contribution. For future contributions, please wrap your solution within :

````nohighlight
[details]
```
code goes here...
```
[/details]

````

Also, provide **all** of the necessary code to pass the challenge.

Also, when you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor ( `</>` ) to add backticks around text.

 ![Pre-formatted-text](https://global.discourse-cdn.com/freecodecamp/original/3X/1/b/1b18854f1059217f29370444396145cc3a0cd8ae.gif)

See [this post](http://www.freecodecamp.com/forum/t/forum-code-formatting/25574) to find the backtick on your keyboard.  
**Note:** Backticks (`) are not single quotes (’).

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 6:32pm UTC](https://forum.freecodecamp.org/t/add-a-height-to-a-element-using-the-height-property/437471/3 "2021-06-01T18:32:04Z")

</div>


