What is missing in my HTML code pls? 16/17 passed!

Hello. My HTML code is missing something. It shows 16/17 passed. I’ve cross checked but I can’t seem to find the missing code. Can anyone point it out pls? Here’s the link to my pen https://codepen.io/jtabytha/pen/LYWaEpZ

P.S: Ignore my unfinished CSS.


The problem looks like your input tag isn’t closed.


1 Like

@jtabytha, as mentioned there is a typo and your input element is not close properly.

This is not a code review, just some glaring error I saw when quickly looking through your code. Some things you should revisit

  1. 'input is self closing. this (</input) is not valid HTML
  2. everything the browser renders belongs in the body element. You have an element outside the body. Review this for an understanding of the HTML boilerplate tags.
  3. Do not use the <br> element to force line breaks or spacing. That’s what CSS is for. Reference MDN Docs
  4. A suggestion. Switch the Syntax Highlighting on Codepen to help catch errors. Go to your Codepen profile settings (not the setting for the pen, but for your profile). Switch the Syntax Highlighting to Oceanic Dark and save the setting. Go back to the pen and make sure your new setting is working. The code highlighting will be using different colors. Errors will now be marked in red.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.