Coder Social home page Coder Social logo

htmhell's Introduction

HTMHell - Markup From Hell

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

https://www.htmhell.dev

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

Note: Please ensure you have EditorConfig installed in your editor before contributing any file changes. It'll help us maintain a consistent use of whitespace in this repo's files.

  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.

  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 }}

htmhell's People

Contributors

matuzo avatar svsven avatar jimbateson7 avatar ndorfin avatar erikkroes avatar jamesbatesoncode avatar missmatsuko avatar vavroom avatar mincerafter42 avatar tempertemper avatar ausi avatar jurijtokarski avatar hidde avatar freddyb avatar yatil avatar weboverhauls avatar itscrisdiaz avatar freimuth82 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.