question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

My error is approved !? Responsive Web Des./Label design /step 58

See original GitHub issue

Describe the Issue

I’ve made a mistake in the code and it got accepted (screenshot below). Instead of “margin-left: 2em” it accepts my wrong answer of “margin: 2em”. Seems to be a bug. I’m using the latest Firefox browser with no AdBlocker.

Affected Page

https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-typography-by-building-a-nutrition-label/step-58

Your code

.dbl-indent {
  margin: 2em;
}

Expected behavior

Test

Sorry, your code does not pass. Keep trying. Hint

Your .dbl-indent selector should have a margin-left only property set to 2em.

Screenshots

This is my wrong outcome accepted as correct: step_58_label_design_new_resp_web_des

But in the next step you can see it automticaly corrected: step_59_label_design_new_resp_web_des

System

  • Device: [Laptop, i5-7300HQ @2.5 GHz, 24gb ram]
  • OS: [Windows 10, 64 bit]
  • Browser: [Firefox]
  • Version: [105.0.3 (64-bit)]

Additional context

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ojeytonwilliamscommented, Oct 13, 2022

This isn’t something we need to fix. As Shaun said, we err on the side of leniency. Since the text does not specifically prohibit you from adding other margins, the tests should not enforce that.

0reactions
Sembaukecommented, Oct 13, 2022

I think we should close this, the answer is correct. You have added a margin of 2em . But I see what you mean as it specifically asks you to add a margin on the left. Not on all sides.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Contributors
My error is approved !? Responsive Web Des./Label design /step 58 ... I've made a mistake in the code and it got accepted...
Read more >
Web Push Troubleshooting
Follow these steps to open the Chrome Developer Tools Console and check for errors on the site: Go to your website with the...
Read more >
Label Design Guide
Design Group. If you are using the Avery Dennison Web Services portal to manage your label designs and/or provide serialization, you must enter...
Read more >
FreeCodeCamp: Learn HTML by building a Cat Photo App
https://www.freecodecamp.org/learn/2022/ responsive - web - design #learn-html-by-building-a-cat-photo-appIf you found my content helpful, ...
Read more >
CODE CLUB - Responsive Web Design Project 4 - YouTube
Project No. 4 on the FreeCodeCamp Responsive Web Design track. Today we make a fully functional Registration from that validates input from ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found