popcodeorg / popcodeorg/popcode

HTML Validation bugs before and after <html> tags

Open
#1,050 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
191
Forks
143
Avg merge
4d 11h
Merged PRs (30d)
5

Description

HTML Validation needs to be tuned for scenarios when someone types outside the <html> tags.

When typing before the <html> tag, the error is incorrect and complains of a missing <title> tag:
https://popcode.org/?snapshot=d67b60f2-822d-47fa-a0a0-8a9f4f3a9e5d

When typing after the <html> tag, no error is thrown:
https://popcode.org/?snapshot=8217d934-fe16-4695-9bab-8a0361c223a6

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the two linked popcode.org snapshots first and reproduce validation when typing before and after the tag. Trace the HTML Validation entry point responsible for these messages, then verify that content outside the tags produces the correct errors in both scenarios without the incorrect missing-title behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.