Hello guys! i don’t understand why they told me that i didn’t do the top and bottom margin for checkboxes even if i did them…
Any solutions please…
Here’s the code:
I did it it’s doesn’t work neither … when i run my code they accept only the first task which is :“The ‘type’ attribute selector should be used to select the checkboxes” but the margin doesn’t work… I tried to write margin-top and margin-bottom doesn’t work too … i guess it’s a bug or something
Anyway thank you so much for your time
@mehdimasmar Copy from the code that you write. Then paste it. Then check for something that could wrong(for me I never remember to put ;). If it still not working here
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
@mehdimasmar, you made a change to the sample code that is causing the tests to fail.
The sample code had this line; <h2 class="red-text">CatPhotoApp</h2>
and you changed it to <h2 class="red-text" type='checkbox'>CatPhotoApp</h2>
That is why the test fails. If you reset the code and only add the code needed in the style element the tests will pass.
Also, in the future;
If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.