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.

Step 31 of project "Building a Registration Form" should specify input element must be nested in the label

See original GitHub issue

Describe the Issue

In step 31 of the Learn HTML Forms by Building a Registration Form project, the step doesn’t explicitly say that it wants the input element to be nested inside the label element. Instead it says: “Add a label with the text Upload a profile picture: , and add an input accepting a file upload.” This could be interpreted to mean that the input element should be on the right side of the label element. Only when we attempt this are we told by the Hint “You should nest an input element inside the label element.”

To clarify the requirement, the step should use the word nest in the exercise as below for eg.: “Add a label with the text Upload a profile picture: , and nest an input accepting a file upload within it.”,

Affected Page

https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-forms-by-building-a-registration-form/step-31

Your code


Expected behavior

The step should explicitly state that the input element should be nested within the new label element.

Screenshots

No response

System

Not Applicable

Additional context

No response

Issue Analytics

  • State:open
  • Created 10 months ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
hbar1stcommented, Dec 5, 2022

I understand that if someone is working on a series of steps they may not need to be told to nest the input again. However, if they stop and return to the project a few weeks later on, they may not remember that. The hint will remind them sure. I guess this is a minor issue given the hint is quite clear. Personally I like a more explicit instruction.

1reaction
naomi-lgbtcommented, Dec 5, 2022

Only when we attempt this are we told by the Hint “You should nest an input element inside the label element.”

For what it is worth, the camper has nested an input in a label element a few times in this challenge prior to this step.

I am not against adding this reminder to the instructions, but I don’t want to lose sight of our goal to keep the instructions more lean and have the hints serve as the reminders.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Learn HTML Forms by Building a Registration Form - Step 31
Learn HTML Forms by Building a Registration Form - Step 31 · Tell us what's happening: Describe your issue in detail here. What...
Read more >
[Bug]: BETA - Building a Registration Form - Step 31 #44634
Affected page Learn HTML Forms By Building A Registration Form Challenge ... for freeCodeCamp YouTube Channel This would be a #goodfir...
Read more >
UM1718 User manual - STM32CubeMX for STM32 ...
STM32 MCU design and firmware solutions, users need to refer to the ... Tutorial 6 – Adding embedded software packs to user projects...
Read more >
4. Creating a Simple Page: (HTML Overview) - Learning Web ...
As a starting point, we'll write up raw text content and see what browsers do with it. Step 2: Give the document structure....
Read more >
GUI Programming - Java Programming Tutorial
You need to refer to the "JDK API documentation" for the AWT/Swing APIs (under ... You can create a Label without specifying an...
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