On the Technical Documentation Page challenge, I keep getting errors for user stories 3 and 4.
Maybe I’m misunderstanding the assignment or have a typo that I can’t spot? (I’ve been looking for hours. Plz help!)
Any help with fresh eyes would be most appreciated! Thanks.
Your browser information:
User Agent is:
Mozilla/5.0 (X11; CrOS x86_64 14324.72.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.91 Safari/537.36
Challenge: Build a Technical Documentation Page
Link to the challenge:
You’ve got a couple of HTML errors that are breaking the flow of your document, which is causing the tests to fail.
On line 157:
<li><a href="https://dev.to/coderjay06/how-to-use-the-formdata-object-3ooe">Jay Cruz on dev.to<a></li>
On line 125:
<p><code>const formElem = document.querySelector('form');</p></code>
Try to spot the errors in these lines - there’s one in each. When I fixed them locally, the tests passed.
Oh you’re my hero! Thank you so much!
It passes the tests for me now too! YAY!
Glad I could help! I’m going to provide you the tools I used to debug this:
First, I recommend using the “Oceanic Dark” theme in CodePen. Unlike most of the other themes, this one will offer error highlighting.
Second, you can run your HTML through this validator - you’ll see quite a few warnings, but I scrolled through until I found the missing tag errors.