Possible typo in the instruction of Cat Photo App Step 42
See original GitHub issueDescribe the Issue
At the end of the instruction, it says:
Go ahead and do this to specify where this button should submit the form.
But this step is just asking the camper to add type="submit"
to the button element, and not asking them to set the destination where the form should be sent.
Affected Page
Your code
<button type="submit">Submit</button>
Expected behavior
The instruction should be “Go ahead and do this to specify that this button should submit the form.” or something?
Screenshots
No response
System
- Device: Laptop
- OS: Windows 10
- Browser: Chrome
- Version: 103.0.5060.134
Additional context
Noticed this during translation.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Step 42 Cat Photo App - The freeCodeCamp Forum
I am struggling with step 42 of the Cat Photo App. I'm not understanding what this step is asking and thus having trouble...
Read more >Learn HTML by Building a Cat Photo App (1-10) - YouTube
Timestamps:00:00 - Intro02:20 - 103:18 - 204:16 - 305:00 - 406:33 - 508:29 - 609:56 - 711:07 - 812:15 - 913:28 - 10GitHub: ......
Read more >Learn HTML by Building a Cat Photo App - Steps 41-50
Playlist with all steps : https://youtube.com/playlist?list=PLa-0Y08VoGnoZQbp32TfsRypozgB7Lp4GWalk through steps 41-50 of the Learn HTML by ...
Read more >Learn HTML by Building a Cat Photo App - Steps 21-30
Playlist with all steps : https://youtube.com/playlist?list=PLa-0Y08VoGnoZQbp32TfsRypozgB7Lp4G Walk through steps 21-30 of the Learn HTML by ...
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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks everyone for your comments!
I like @moT01 's shorter the better approach, but I also thought it’s important to explain why we are doing this. So I included the “But relying on default behavior may cause confusion.” part from @bbsmooth 's comment and opened a PR.
The shorter the better
“The button you added will submit the form by default. Add the type attribute with the value submit to the button to make it clear that it is a submit button.”