troubleshootingcss.md - brainchildservices/curriculum GitHub Wiki

  • Do your CSS validation

SLIDE- 1

  • Basically, it is a matter of checking whether your CSS code is well formed and doesn't contain any syntax errors.

  • A good strategy is to validate your code regularly. One service that can do this is the W3C Markup Validation Service, which allows you to point to your code, and returns a list of errors:

    validator

SLIDE- 2

  • CSS has a similar story — you need to check that your property names are spelled correctly, property values are spelled correctly and are valid for the properties they are used on.

    • image

Learn More . The W3C has a CSS Validator available too, for this purpose.

SLIDE- 3

  • Task :-

    • Validate the CSS file in Troubleshooting Reposittory
    • For Validating a CSS, you Have 3 Options,
      • Validate by URI:- In this Option you can add a URL for your CSS file
      • Validate by File Upload:- In this Option you can upload your CSS file
      • Validate by Direct Input:- In this Option you can add text/code content of the CSS
    • Fix the Issues if you Found any.