Test - don't work !? /understand-absolute-versus-relative-units

Tell us what’s happening:

I pass all the tests and I don’t understand why this one doesn’t work. Is it even with the helpers who do the same thing as me.

Sorry for my English. Google translation

Your code so far

.injected-text {
  margin-bottom: -25px;
  text-align: center;

.box {
  border-style: solid;
  border-color: black;
  border-width: 5px;
  text-align: center;

.yellow-box {
  background-color: yellow;
  padding: 20px 40px 20px 40px;

.red-box {
  background-color: red;
  margin: 20px 40px 20px 40px;
  padding : 1.5em;

.green-box {
  background-color: green;
  margin: 20px 40px 20px 40px;
<h5 class="injected-text">margin</h5>

<div class="box yellow-box">
<h5 class="box red-box">padding</h5>
<h5 class="box green-box">padding</h5>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0.

Challenge: Understand Absolute versus Relative Units

Link to the challenge:

Hi! The only “detail” i can spot is this:

padding : 1.5em;

Even though it’s correct, maybe the tester looks for the colon inmediately after the property, like this:

padding: 1.5em

I could be wrong but you could try that and see if that works.

Oh my god, it was so simple. Thank you so much. I was tearing my hair out

1 Like

I do not know why, but my tests remain blocked at 61% even though I have passed each of the tests in this part. Even if I revalidate all of them. The cursor does not progress and the tests are not checked.

It seems that the problem comes from firefox. When I try with chrome I don’t have that problem.

I have to repeat 24 tests on the whole. Snif …

Firefox generates many other problems for me, I will have to abandon this browser.