Adjust the Height of an Element --section bug

Tell us what’s happening:

i started to do all the new sections that weren’t available when i started, but in this entry , there’s a mistake or maybe i’m too blind xD
but it says to set a height to 25px , but when i put it it doesn’t recognize it .

Your code so far


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

	p {
		text-align: justify;
	}

	.links {
		margin-right: 20px;
		text-align: left;
	}

	.fullCard {
		width: 245px;
		border: 1px solid #ccc;
		border-radius: 5px;
		margin: 10px 5px;
		padding: 4px;
	}

	.cardContent {
		padding: 10px;
	}
</style>
<div class="fullCard">
	<div class="cardContent">
		<div class="cardText">
			<h4>Google</h4>
			<p>Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.</p>
		</div>
		<div class="cardLinks">
			<a href="https://en.wikipedia.org/wiki/Larry_Page" target="_blank" class="links">Larry Page</a>
			<a href="https://en.wikipedia.org/wiki/Sergey_Brin" target="_blank" class="links">Sergey Brin</a>
		</div>
	</div>
</div>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36 OPR/53.0.2907.68.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/adjust-the-height-of-an-element-using-the-height-property/

It worked for me :open_mouth:
Try to reset the code ^^

it seems it was a compatibility problem with my browser, because i’m using opera instead of mozilla ,i changed it and like a charm … thank you anyway . (=.=)b

1 Like