Hello coding enthusiast and programmers, I’m having a headache with this error.
Here is the code to codepen:
I added some extra stuff because i was hoping to upload this after some changes to my portfolio but maybe that’s why i’m getting an error.
Thanks!!
Hi there!
Hi there!
In the #img-div
selector, add a flex-wrap
property with the value wrap
, Your final test will pass.
I can’t see , what you have did. Post your updated code
The Codepen is in auto save so must be the same link.
Here is the link again tho
I tried it. Your code is passing all the test now.
uhmm, maybe is because i’m using opera?
is not working neither in the freecodecamp web page, i’m not passing the test…
Yes, maybe. Try to clean your browser cache or change the browser.
i used pencode in mozilla and it passed but i’m scared about lose all my testing in freecode if i change to mozilla or something else
if i just log in the data stays there right?
not the test info i’m saying all the courses that i already completed
No. Don’t worry. If you login to your Freecodecamap account with the same id, you currently have for the account, you aren’t lose your progress, if that are saved.
okay so now im understanding a lot of stuff… actually the Opera was hiding the progress like this:
now i have more accurate knowledge of what i’m “failing”
this is actually the problem:
1 Like
That great. Debug your code as per tests one by one.
Still having the same error
i used the code from pencode that pass and don’t work
16.Solution hint: You didn’t have an img
selector with display: block
.
- Solution hint: you didn’t have an
#image
selector with max-width: 100;
- Solution hint: you can center the
#image
by add margin: 0 auto;
to that selector.
My question is why in pencode the test is positive and in the freecode is not working
i already tried all those hints and it’s literally the same error
i added the display: block and the error keep saying “your img
element should have a display
of block
.”
i changed navigator so te cache was fresh
Sorry for the confusion. I checked your link
tag in your pen
. It’s missing the s
from styles.css, in the html file.
Here is your link element:
<link rel="stylesheet" href="style.css">
The css file name for the challenge is:
styles.css
Codepen link the styling automatically.
1 Like
omg i been the whole day trying to fix the problem and was just that…
thanks for your time!!!
2 Likes