W3C validator for Holberton School

For HTML and CSS files.

Based on 2 APIs:

Installation

  1. Clone this repo
git clone https://github.com/holbertonschool/W3C-Validator.git
  1. Run shell script (see example in usage section below)

Usage:

Simple file:

./w3c_validator.py index.html

Multiple files:

./w3c_validator.py index.html header.html styles/common.css

All errors are printed in STDERR

References

https://developer.mozilla.org/en-US/