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.

Cat Photo App Step 44 allows multiple type attributes

See original GitHub issue

Describe the Issue

Step 44 will pass if the new radio input is given multiple type attributes.

Affected Page

https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-44

Your code

This will pass:

<input type="radio" type="text"> Indoor

Expected behavior

Step should fail if there is more than one type attribute, even if they all have the value radio.

Screenshots

No response

System

  • Device: Desktop
  • OS: Linux (Fedora 36)
  • Browser: Firefox
  • Version: 104.0.2

Additional context

No response

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
ShaunSHamiltoncommented, Oct 6, 2022

As such, I am closing this in favour of the previously linked PR tracking possible HTML validation. no hurt feelings

1reaction
bbsmoothcommented, Oct 6, 2022

This is why I disagree with trying to test for this

I completely understand this sentiment. If you want to close this issue and forget about it, it won’t hurt my feelings 🥲 But the specs definitely do not allow it and the W3 validator will throw an error. But I suppose you could have this problem with every step. I think @ieahleen was onto something and this is really more an issue of whether we should validate the HTML. So ya, I vote to drop this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Learn HTML by Building a Cat Photo App - Step 44 - HTML-CSS
Your code so far** <html> <body> <h1>CatPhotoApp</h1> <main> <section> <h2>Cat Photos</h2> <!-- TODO: Add link to cat photos --> <p>Click ...
Read more >
Free Code Camp Walkthrough 1 | HTML - Cat Photo App
In this tutorial I'll show you how to get through the HTML Cat Photo App section on Free Code Camp that teaches you...
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 (50-60) - YouTube
Timestamps:00:00 - Intro00:15 - 5001:10 - 5101:42 - 5202:10 - 5304:00 - 5404:16 - 5505:11 - 5606:02 - 5706:49 - 5807:37 - 5908:...
Read more >
Learn HTML by Building a Cat Photo App | PLAYCODE
Learn HTML by Building a Cat Photo App. Step 1 ... Step 44. PRO. Step 45. PRO. Step 46. PRO. Step 47. PRO....
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