I actually didn’t think this was correct. I just submitted it to get a hint, but it just accepted it. However, if I misspell padding, it gives me the hint to use padding-bottom, as it should. Should the curriculum parser be looking for “padding-bottom”?
I completed that module. If I go back to it, I can resubmit the above text, which says it’s good/pass. You mean my other html and css? The rest of the html and css is standardized, is it not? What happens when you copy/paste the above text into the lesson edit window? Does it pass?
If it passes for you as well, then you have reproduced the error. I don’t know why you need my html and css if you have reproduced the error. However, I have copy and pasted it in the sister comment.
I submitted “padding: 2em” and that was accepted as a valid answer. However, since the instructions say “Add 2em of padding ONLY to the bottom of the form” then I think “padding: 2em” is incorrect and should not have been accepted as a valid answer. (But I understand that the feasibility of fixing this may depend upon the design of how answers are parsed.)
This step says the following (emphasis added by me):
Add 2em of padding ONLY to the bottom of the form”.
I submitted “padding: 2em” and that was accepted as a valid answer. However, that should not have been accepted as a valid answer since that adds padding to all sides.
Therefore, I think this might be a design bug, allowing an incorrect submission to pass. I think that “padding: 2em” should not have passed the test even though it does work.
But also to note, this “bug” might be deemed by devs to be acceptable behavior by the curriculum since the lessons tend to check to see if the desired behavior was included even if additional behaviors are also added.
This has nothing to do with malformed HTML/CSS corrected by the browser. This was a syntactically correct CSS which contained an incorrect answer, but was accepted as a correct answer.
I submitted
padding: 2em
and that was accepted as a valid answer. However, that should not have been accepted as a valid answer since that adds padding to all sides. The correct answer is
padding-bottom: 2em
Therefore, I think this might be a design bug, allowing an incorrect submission to pass. I think that “padding: 2em” should not have passed the test even though it does work.
I don’t know how to navigate github (not yet, I’ll get there eventually), and didn’t want to muck things up over there as a newbie, so I figured submitting things here first might be better to get my feet wet and better understand the community and what’s appropriate where.
This might be the same case that @Sky020 pointed out here in which the curriculum system allows some submissions that include CORRECT_BEHAVIOR + ADDITIONAL_STUFF.