Oops, try again. It looks like your padding-top isn't 40px


Hello guys! I'm stack in section 10 Padding. I searched the same problem to all forums but any of the solved answers didn't solve my code.
I'm here:


I always take this error message :Oops, try again. It looks like your padding-top isn't 40px.
Also i tried to replace my code with codes which worked fine in others but still no solution

My code is this
* {
	border: 1px dashed black;

div {
	height: 50px;
	width: 100px;
	border: 2px solid wide;
	border-radius: 5px;
	background-color: #308014;
padding-top: 40px;
padding-right: 40px;
padding-bottom: 40px;
padding-left: 40px; 

Thanks :(


Try reseting the code (avoiding merging the two div rules as well) and just add your padding properties back in. It worked for me, so you may just need to reset and do it again.


i tried it many times but it didn't work for me!


Can you take a screenshot of the page with your code and the error?



Can you also post your html?


i found the solution! There was any link from html to css! Thx very much for your help! I didn't noticed!


Ah, awesome! :slight_smile: glad you got it.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.