I am inputting the correct coding for this challenge but it doesn’t seem to be accepting my height code. Below is my code so far. Let me know if I am doing something wrong. Thanks!
<style>
h4 {
text-align: center;
height: 25px;
}
p {
text-align: justify;
}
.links {
text-align: left;
color: black;
}
.fullCard {
width: 245px;
border: 1px solid #ccc;
border-radius: 5px;
margin: 10px 5px;
padding: 4px;
}
.cardContent {
padding: 10px;
}
.cardText {
margin-bottom: 30px;
}
</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><br><br>
<a href="https://en.wikipedia.org/wiki/Sergey_Brin" target="_blank" class="links">Sergey Brin</a>
</div>
</div>
</div>
property to a value of 25 pixels. // tests completed
https://www.freecodecamp.org/learn/responsive-web-design/applied-visual-design/adjust-the-height-of-an-element-using-the-height-property
The error does not occur in Firefox. Just read somewhere up this thread that the error also does not occur in Safari. But I would like to troubleshoot this in Chrome, as it’s the browser I use most (for better or worse), so I would like to try to follow your lead here, stand by
I should be clear, I am inside of (the console for) the width lesson. This is a thread about the height lesson. But I was finding the same run-tests error in both. Let me know if I need to get out and look at the console inside the height lesson.
Right, I was running your diagnostic snippet in the width lesson. My error (I am having the same run-tests error in the width lesson as in the height lesson). I am in console for height lesson now, please stand by
The result after selecting the h4 element in the height lesson from inside the console and entering your snippet is “24.9844px.” (My apologies if I am still not following instructions correctly.)
just to clarify, I (like others, apparently) have had success clearing these challenges (that is, I have now cleared both the height and width challenges, where I and apparently others were experiencing the identical run-test error) by using a different browser, i.e., not Chrome