Skip to content
/ HTMHell Public
forked from matuzo/HTMHell

A collection of bad practices in HTML found on real websites.

License

Notifications You must be signed in to change notification settings

segore/HTMHell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTMHell - Markup From Hell

A collection of bad practices in HTML, copied from real websites.

Contributing

Rules

  • Please only contribute examples you copy from production websites.
  • Remove attributes that don't add any value.
  • Remove any pointers that show where you've copied the code. We don't want to blame anyone.
  • Only copy code from modern websites.

Basics

  1. Fork this repo and install the dependencies.
npm install
  1. Run the project
npm run start
  1. Take screenshot While the server is still running, run the following command to take a screenshot of your code.
npm run screenshot
  1. Push and create a pull request.

Adding authors

Add an author in ./hell/_data/authors.js if they're not listed.

{
  "id": "UNIQUE ID",
  "name": "DISPLAY NAME",
  "link": "WEBSITE/TWITTER/GITHUB"
}

Adding a submission

Add a submission in ./hell/entries by copying any other markdown file in this folder. The filename should start with a counter followed by any file name, e.g. 12_my_entry.md.

  1. Show bad code
  2. Explain how to fix it
  3. Show good code

Snippets

I’m afraid that many suggestions will recur. To avoid duplicate content, there’s a file with snippets in hell/_data/snippets.js that you can use like this:

{{ snippets.sr_only }}

About

A collection of bad practices in HTML found on real websites.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 38.3%
  • HTML 32.3%
  • JavaScript 29.4%