ickerio / cits3403

0 stars 1 forks source link

Addressing Errors in passing validators #48

Closed ansuuuuuuu closed 3 months ago

ansuuuuuuu commented 3 months ago

Addressing The HTML and CSS must pass the validators: https://validator.w3.org/ and https://jigsaw.w3.org/css-validator/."

All CSS files passed the validators

Since HTML files use Jinja, there were many errors addressing each line. We've decided to ignore errors from Jinja since it'll always generate valid HTML

Screenshot 2024-05-19 at 1 13 49 PM

Since HTML validator is analysing the template in isolation and not considering the context in which it's used, the other errors are caused as the pages extend on layout.html which addresses these issues

Screenshot 2024-05-19 at 1 17 29 PM
HenriScaff commented 3 months ago

Nice! Yeah as long as the errors/warnings are solely because of jinja/extension layout.html, I don't see a problem.