Repository: thedaviddias/Front-End-Checklist Branch: main Commit: 09d56dfe20c9 Files: 17 Total size: 56.5 KB Directory structure: gitextract_q4tcr243/ ├── .editorconfig ├── .github/ │ ├── FUNDING.yml │ ├── ISSUE_TEMPLATE.md │ ├── PULL_REQUEST_TEMPLATE.md │ └── workflows/ │ ├── links-checker.yml │ ├── readme-check.yml │ └── stale.yml ├── .gitignore ├── .husky/ │ └── pre-push ├── .markdownlint.json ├── .prettierrc ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── lychee.toml └── package.json ================================================ FILE CONTENTS ================================================ ================================================ FILE: .editorconfig ================================================ root = true [*] charset = utf-8 indent_style = space indent_size = 2 end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true ================================================ FILE: .github/FUNDING.yml ================================================ open_collective: front-end-checklist github: thedaviddias thanks_dev: thedaviddias ================================================ FILE: .github/ISSUE_TEMPLATE.md ================================================ ================================================ FILE: .github/PULL_REQUEST_TEMPLATE.md ================================================ **Fixes**: # 🚨 Please review the [guidelines for contributing](CONTRIBUTING.md) and our [code of conduct](../CODE_OF_CONDUCT.md) to this repository. 🚨 **Please complete these steps and check these boxes (by putting an x inside the brackets) before filing your PR:** - [ ] Check the commit's or even all commits' message styles matches our requested structure. - [ ] Check your code additions will fail neither code linting checks nor unit test. #### Short description of what this resolves: #### Proposed changes: - - - 👍 Thank you! ================================================ FILE: .github/workflows/links-checker.yml ================================================ name: Links Checker on: repository_dispatch: workflow_dispatch: schedule: - cron: '0 0 * * 1' # bi weekly on Monday env: HUSKY: 0 jobs: links-checker: runs-on: ubuntu-latest name: Links Checker permissions: issues: write steps: - uses: actions/checkout@v4 - name: Link Checker id: lychee uses: lycheeverse/lychee-action@v2.0.2 with: args: --config ./lychee.toml --verbose --no-progress README.md fail: true - name: Create Issue From File if: env.exit_code != 0 uses: peter-evans/create-issue-from-file@v5 with: title: Link Checker Report content-filepath: ./lychee-out.md labels: report, automated issue ================================================ FILE: .github/workflows/readme-check.yml ================================================ name: Readme Check on: pull_request: paths: - 'README.md' env: HUSKY: 0 jobs: readme-check: runs-on: ubuntu-latest name: Readme Check steps: - uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: '22' - name: Setup pnpm uses: pnpm/action-setup@v4 with: version: 9 - name: Install dependencies run: pnpm i - name: Check Markdown formatting run: pnpm format:check - name: Link Checker uses: lycheeverse/lychee-action@v2.0.2 with: args: --config ./lychee.toml --verbose --no-progress README.md fail: true ================================================ FILE: .github/workflows/stale.yml ================================================ name: 'Close stale issues and PRs' on: schedule: - cron: '30 1 * * 6' workflow_dispatch: permissions: issues: write pull-requests: write env: HUSKY: 0 jobs: stale: runs-on: ubuntu-latest steps: - uses: actions/stale@v8 with: stale-issue-message: 'This issue has been automatically marked as stale because it has been open 40 days with no activity. Remove stale label or comment or this will be closed in 10 days. Thank you for your contributions!' stale-pr-message: 'This PR has been automatically marked as stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.' close-issue-message: 'This issue was closed because it has been stalled for 10 days with no activity. You can always contact the maintainers directly for more information.' close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity. You can always contact the maintainers directly for more information.' days-before-stale: 40 days-before-pr-stale: 45 days-before-close: 10 exempt-issue-assignees: 'thedaviddias' exempt-pr-assignees: 'thedaviddias' exempt-all-pr-assignees: true stale-issue-label: 'stale' stale-pr-label: 'stale' exempt-pr-labels: 'keep-unstale,security,dependabot,wip,need-help' exempt-issue-labels: 'keep-unstale,security' close-issue-label: 'wontfix' ================================================ FILE: .gitignore ================================================ .DS_Store node_modules .lycheecache lychee-out.md ================================================ FILE: .husky/pre-push ================================================ pnpm format:fix ================================================ FILE: .markdownlint.json ================================================ { "MD013": false, "MD024": false, "MD033": false } ================================================ FILE: .prettierrc ================================================ { "trailingComma": "none", "tabWidth": 2, "semi": true, "singleQuote": true, "printWidth": 150, "endOfLine": "lf", "overrides": [ { "files": "*.md", "options": { "htmlWhitespaceSensitivity": "ignore", "proseWrap": "preserve", "embeddedLanguageFormatting": "off" } } ] } ================================================ FILE: CODE_OF_CONDUCT.md ================================================ # Contributor Covenant Code of Conduct ## Our Pledge In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. ## Our Standards Examples of behavior that contributes to creating a positive environment include: * Using welcoming and inclusive language * Being respectful of differing viewpoints and experiences * Gracefully accepting constructive criticism * Focusing on what is best for the community * Showing empathy towards other community members Examples of unacceptable behavior by participants include: * The use of sexualized language or imagery and unwelcome sexual attention or advances * Trolling, insulting/derogatory comments, and personal or political attacks * Public or private harassment * Publishing others' private information, such as a physical or electronic address, without explicit permission * Other conduct which could reasonably be considered inappropriate in a professional setting ## Our Responsibilities Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. ## Scope This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. ## Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at thedaviddias@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. ## Attribution This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] [homepage]: http://contributor-covenant.org [version]: http://contributor-covenant.org/version/1/4/ ================================================ FILE: CONTRIBUTING.md ================================================ # Contribute ## Introduction First, thank you for considering contributing to front-end-checklist! It's people like you that make the open source community such a great community! 😊 We welcome any type of contribution, not only code. You can help with - **QA**: file bug reports, the more details you can give the better (e.g. screenshots with the console open) - **Marketing**: writing blog posts, howto's, printing stickers, ... - **Community**: presenting the project at meetups, organizing a dedicated meetup for the local community, ... - **Code**: take a look at the [open issues](https://github.com/thedaviddias/Front-End-Checklist/issues). Even if you can't write code, commenting on them, showing that you care about a given issue matters. It helps us triage them. - **Money**: we welcome financial contributions in full transparency on our [open collective](https://opencollective.com/front-end-checklist). ## Your First Contribution Working on your first Pull Request? You can learn how from this *free* series, [How to Contribute to an Open Source Project on GitHub](https://app.egghead.io/playlists/how-to-contribute-to-an-open-source-project-on-github). ## Submitting code Any code change should be submitted as a pull request. The description should explain what the code does and give steps to execute it. The pull request should also contain tests. ## Code review process The bigger the pull request, the longer it will take to review and merge. Try to break down large pull requests in smaller chunks that are easier to review and merge. It is also always helpful to have some context for your pull request. What was the purpose? Why does it matter to you? ## Financial contributions We also welcome financial contributions in full transparency on our [open collective](https://opencollective.com/front-end-checklist). Anyone can file an expense. If the expense makes sense for the development of the community, it will be "merged" in the ledger of our open collective by the core contributors and the person who filed the expense will be reimbursed. ## Questions If you have any questions, create an [issue](https://github.com/thedaviddias/Front-End-Checklist/issues) (protip: do a quick search first to see if someone else didn't ask the same question before!). You can also reach us at hello@front-end-checklist.opencollective.com. ## Credits ### Contributors Thank you to all the people who have already contributed to front-end-checklist! ### Backers Thank you to all our backers! [[Become a backer](https://opencollective.com/front-end-checklist#backer)] ### Sponsors Thank you to all our sponsors! (please ask your company to also support this open source project by [becoming a sponsor](https://opencollective.com/front-end-checklist#sponsor)) ================================================ FILE: LICENSE ================================================ CC0 1.0 Universal Statement of Purpose The laws of most jurisdictions throughout the world automatically confer exclusive Copyright and Related Rights (defined below) upon the creator and subsequent owner(s) (each and all, an "owner") of an original work of authorship and/or a database (each, a "Work"). Certain owners wish to permanently relinquish those rights to a Work for the purpose of contributing to a commons of creative, cultural and scientific works ("Commons") that the public can reliably and without fear of later claims of infringement build upon, modify, incorporate in other works, reuse and redistribute as freely as possible in any form whatsoever and for any purposes, including without limitation commercial purposes. These owners may contribute to the Commons to promote the ideal of a free culture and the further production of creative, cultural and scientific works, or to gain reputation or greater distribution for their Work in part through the use and efforts of others. For these and/or other purposes and motivations, and without any expectation of additional consideration or compensation, the person associating CC0 with a Work (the "Affirmer"), to the extent that he or she is an owner of Copyright and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and publicly distribute the Work under its terms, with knowledge of his or her Copyright and Related Rights in the Work and the meaning and intended legal effect of CC0 on those rights. 1. Copyright and Related Rights. A Work made available under CC0 may be protected by copyright and related or neighboring rights ("Copyright and Related Rights"). Copyright and Related Rights include, but are not limited to, the following: i. the right to reproduce, adapt, distribute, perform, display, communicate, and translate a Work; ii. moral rights retained by the original author(s) and/or performer(s); iii. publicity and privacy rights pertaining to a person's image or likeness depicted in a Work; iv. rights protecting against unfair competition in regards to a Work, subject to the limitations in paragraph 4(a), below; v. rights protecting the extraction, dissemination, use and reuse of data in a Work; vi. database rights (such as those arising under Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, and under any national implementation thereof, including any amended or successor version of such directive); and vii. other similar, equivalent or corresponding rights throughout the world based on applicable law or treaty, and any national implementations thereof. 2. Waiver. To the greatest extent permitted by, but not in contravention of, applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and unconditionally waives, abandons, and surrenders all of Affirmer's Copyright and Related Rights and associated claims and causes of action, whether now known or unknown (including existing as well as future claims and causes of action), in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each member of the public at large and to the detriment of Affirmer's heirs and successors, fully intending that such Waiver shall not be subject to revocation, rescission, cancellation, termination, or any other legal or equitable action to disrupt the quiet enjoyment of the Work by the public as contemplated by Affirmer's express Statement of Purpose. 3. Public License Fallback. Should any part of the Waiver for any reason be judged legally invalid or ineffective under applicable law, then the Waiver shall be preserved to the maximum extent permitted taking into account Affirmer's express Statement of Purpose. In addition, to the extent the Waiver is so judged Affirmer hereby grants to each affected person a royalty-free, non transferable, non sublicensable, non exclusive, irrevocable and unconditional license to exercise Affirmer's Copyright and Related Rights in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the "License"). The License shall be deemed effective as of the date CC0 was applied by Affirmer to the Work. Should any part of the License for any reason be judged legally invalid or ineffective under applicable law, such partial invalidity or ineffectiveness shall not invalidate the remainder of the License, and in such case Affirmer hereby affirms that he or she will not (i) exercise any of his or her remaining Copyright and Related Rights in the Work or (ii) assert any associated claims and causes of action with respect to the Work, in either case contrary to Affirmer's express Statement of Purpose. 4. Limitations and Disclaimers. a. No trademark or patent rights held by Affirmer are waived, abandoned, surrendered, licensed or otherwise affected by this document. b. Affirmer offers the Work as-is and makes no representations or warranties of any kind concerning the Work, express, implied, statutory or otherwise, including without limitation warranties of title, merchantability, fitness for a particular purpose, non infringement, or the absence of latent or other defects, accuracy, or the present or absence of errors, whether or not discoverable, all to the greatest extent permissible under applicable law. c. Affirmer disclaims responsibility for clearing rights of other persons that may apply to the Work or any use thereof, including without limitation any person's Copyright and Related Rights in the Work. Further, Affirmer disclaims responsibility for obtaining any necessary consents, permissions or other rights required for any use of the Work. d. Affirmer understands and acknowledges that Creative Commons is not a party to this document and has no duty or obligation with respect to this CC0 or use of the Work. For more information, please see ================================================ FILE: README.md ================================================ # 🗂 Front-End Checklist The Front-End Checklist is an exhaustive list of all elements you need to have / to test before launching your website / HTML page to production. **Other Checklists:** - [🎮 Front-End Performance Checklist](https://github.com/thedaviddias/Front-End-Performance-Checklist#---------front-end-performance-checklist-) - [💎 Front-End Design Checklist](https://github.com/thedaviddias/Front-End-Design-Checklist#front-end-design-checklist) > [!TIP] > ⭐️ Dev-friendly UX patterns you wish you knew. 👉 [UX Patterns for Devs](https://uxpatterns.dev/en) ⭐️ ## 📚 Table of Contents - [How to use](#how-to-use) - [Head](#head) - [HTML](#html) - [Webfonts](#webfonts) - [CSS](#css) - [JavaScript](#javascript) - [Accessibility](#accessibility) ## How to use? > [!IMPORTANT] > **Disclaimer:** This checklist is based on Front-End developers' years of experience, with additions from other open-source checklists. All items in the **Front-End Checklist** are required for the majority of the projects, but some elements can be omitted or are not essential (in the case of an administration web app, you may not need RSS feed for example). We choose to use 3 levels of flexibility: - ![Low][low_img] indicates that the item is recommended but can be omitted in certain situations. - ![Medium][medium_img] indicates that the item is highly recommended but can potentially be omitted in very specific cases. However, omitting these elements can negatively impact performance or SEO. - ![High][high_img] indicates that the item cannot be omitted under any circumstances. Removing these elements may result in page malfunctions or cause accessibility and SEO issues. Testing should prioritize these elements first. Some resources possess an emoticon to help you understand which type of content / help you may find on the checklist: - 📖: documentation or article - 🛠: online tool / testing tool - 📹: media or video content ## Head > [!NOTE] > You can find [a list of everything](https://github.com/joshbuchea/HEAD) that could be found in the `` of an HTML document. ### Meta tag - [ ] **Doctype:** ![High][high_img] The Doctype is HTML5 and is at the top of all your HTML pages. ```html ``` - 📖 [Determining the character encoding - HTML5 W3C](https://www.w3.org/TR/html5/syntax.html#determining-the-character-encoding) _The next 2 meta tags (Charset and Viewport) need to come first in the head._ - [ ] **Charset:** ![High][high_img] The charset (UTF-8) is declared correctly. ```html ``` - [ ] **Viewport:** ![High][high_img] The viewport is declared correctly. ```html ``` - [ ] **Title:** ![High][high_img] A title is used on all pages (SEO: Google calculates the pixel width of the characters used in the title, and it cuts off between 472 and 482 pixels. The average character limit would be around 55-characters). ```html Page Title less than 55 characters ``` - 📖 [Title - HTML - MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title) - 🛠 [SERP Snippet Generator](https://www.sistrix.com/serp-snippet-generator/) - [ ] **Description:** ![High][high_img] A meta description is provided, it is unique and doesn't possess more than 150 characters. ```html ``` - 📖 [Meta Description - HTML - MDN](https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/The_head_metadata_in_HTML#Adding_an_author_and_description) - [ ] **Favicons:** ![Medium][medium_img] Each favicon has been created and displays correctly. If you have only a `favicon.ico`, put it at the root of your site. Normally you won't need to use any markup. However, it's still good practice to link to it using the example below. Today, **PNG format is recommended** over `.ico` format (dimensions: 32x32px). ```html ``` - 🛠 [Favicon Generator](https://www.favicon-generator.org/) - 🛠 [RealFaviconGenerator](https://realfavicongenerator.net/) - 📖 [Favicon Cheat Sheet](https://github.com/audreyr/favicon-cheat-sheet) - 📖 [Favicons, Touch Icons, Tile Icons, etc. Which Do You Need? - CSS Tricks](https://css-tricks.com/favicon-quiz/) - 📖 [PNG favicons - caniuse](https://caniuse.com/link-icon-png) - [ ] **Apple Web App Meta:** ![Low][low_img] Apple meta-tags are present. ```html ``` - 📖 [Configuring Web Applications](https://developer.apple.com/library/content/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html) - 📖 [Supported Meta Tags](https://developer.apple.com/library/content/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html) - [ ] **Windows Tiles:** ![Low][low_img] Windows tiles are present and linked. ```html ``` Minimum required xml markup for the `browserconfig.xml` file is as follows: ```xml ``` - 📖 [Browser configuration schema reference](https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/dn320426(v=vs.85)) - [ ] **Canonical:** ![Medium][medium_img] Use `rel="canonical"` to avoid duplicate content. ```html ``` - 📖 [Use canonical URLs - Search Console Help - Google Support](https://support.google.com/webmasters/answer/139066?hl=en) - 📖 [5 common mistakes with rel=canonical - Google Webmaster Blog](https://webmasters.googleblog.com/2013/04/5-common-mistakes-with-relcanonical.html) ### HTML tags - [ ] **Language attribute:** ![High][high_img] The `lang` attribute of your website is specified and related to the language of the current page. ```html ``` - [ ] **Direction attribute:** ![Medium][medium_img] The direction of lecture is specified on the html tag (It can be used on another HTML tag). ```html ``` - 📖 [dir - HTML - MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir) - [ ] **Alternate language:** ![Low][low_img] The language tag of your website is specified and related to the language of the current page. ```html ``` - [ ] **x-default:** ![Low][low_img] The language tag of your website for international landing pages. ```html ``` - 📖 [x-default - Google](https://webmasters.googleblog.com/2013/04/x-default-hreflang-for-international-pages.html) - [ ] **Conditional comments:** ![Low][low_img] Conditional comments are present for IE if needed. - 📖 [About conditional comments (Internet Explorer) - MSDN - Microsoft]() - [ ] **RSS feed:** ![Low][low_img] If your project is a blog or has articles, an RSS link was provided. - [ ] **CSS Critical:** ![Medium][medium_img] The CSS critical (or "above the fold") collects all the CSS used to render the visible portion of the page. It is embedded before your principal CSS call and between `` in a single line (minified). - 🛠 [Critical by Addy Osmani on GitHub](https://github.com/addyosmani/critical) automates this. - [ ] **CSS order:** ![High][high_img] All CSS files are loaded before any JavaScript files in the ``. (Except the case where sometimes JS files are loaded asynchronously on top of your page). ### Social meta Visualize and generate automatically our social meta tags with [Meta Tags](https://metatags.io/) **_Facebook OG_** and **_Twitter Cards_** are, for any website, highly recommended. The other social media tags can be considered if you target a particular presence on those and want to ensure the display. - [ ] **Facebook Open Graph:** ![Low][low_img] All Facebook Open Graph (OG) are tested and no one is missing or with false information. Images need to be at least 600 x 315 pixels, although 1200 x 630 pixels is recommended. > [!NOTE] > Using `og:image:width` and `og:image:height` will specify the image dimensions to the crawler so that it can render the image immediately without having to asynchronously download and process it. ```html ``` - 📖 [A Guide to Sharing for Webmasters](https://developers.facebook.com/docs/sharing/webmasters/) - 📖 [Best Practices - Sharing](https://developers.facebook.com/docs/sharing/best-practices/) - 🛠 Test your page with the [Facebook OG testing](https://developers.facebook.com/tools/debug/) - [ ] **Twitter Card:** ![Low][low_img] ```html ``` - 📖 [Getting started with cards — Twitter Developers](https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started) - 🛠 Test your page with the [Twitter card validator](https://cards-dev.twitter.com/validator) **[⬆ back to top](#-table-of-contents)** ## HTML ### Best practices - [ ] **HTML5 Semantic Elements:** ![High][high_img] HTML5 Semantic Elements are used appropriately (header, section, footer, main...). - 📖 [HTML Reference](http://htmlreference.io/) - [ ] **Error pages:** ![High][high_img] Error 404 page and 5xx exist. Remember that the 5xx error pages need to have their CSS integrated (no external call on the current server). - [ ] **Noopener:** ![Medium][medium_img] In case you are using external links with `target="_blank"`, your link should have a `rel="noopener"` attribute to prevent tab nabbing. If you need to support older versions of Firefox, use `rel="noopener noreferrer"`. - 📖 [About rel=noopener](https://mathiasbynens.github.io/rel-noopener/) - [ ] **Clean up comments:** ![Low][low_img] Unnecessary code needs to be removed before sending the page to production. ### HTML testing - [ ] **W3C compliant:** ![High][high_img] All pages need to be tested with the W3C validator to identify possible issues in the HTML code. - 🛠 [W3C validator](https://validator.w3.org/) - [ ] **HTML Lint:** ![High][high_img] I use tools to help me analyze any issues I could have on my HTML code. - 🛠 [Dirty markup](https://www.10bestdesign.com/dirtymarkup/) - 🛠 [webhint](https://webhint.io/) - [ ] **Link checker:** ![High][high_img] There are no broken links in my page, verify that you don't have any 404 error. - 🛠 [W3C Link Checker](https://validator.w3.org/checklink) - [ ] **Adblockers test:** ![Medium][medium_img] Your website shows your content correctly with adblockers enabled (You can provide a message encouraging people to disable their adblocker). - 📖 [Use AdBlocking in your Dev Environment](https://andreicioara.com/use-adblocking-in-your-dev-environment-48db500d9b86) **[⬆ back to top](#-table-of-contents)** --- ## Webfonts > [!NOTE] > Using web fonts may cause Flash Of Unstyled Text/Flash Of Invisible Text - consider having fallback fonts > and/or utilizing web font loaders to control behavior. - 📖 [Google Technical considerations about webfonts](https://developers.google.com/fonts/docs/technical_considerations) - [ ] **Webfont format:** ![High][high_img] WOFF, WOFF2 and TTF are supported by all modern browsers. - 📖 [WOFF - Web Open Font Format - Caniuse](https://caniuse.com/woff). - 📖 [WOFF 2.0 - Web Open Font Format - Caniuse](https://caniuse.com/woff2). - 📖 [TTF/OTF - TrueType and OpenType font support](https://caniuse.com/ttf) - 📖 [Using @font-face - CSS-Tricks](https://css-tricks.com/snippets/css/using-font-face/) - [ ] **Webfont size:** ![High][high_img] Webfont sizes don't exceed 2 MB (all variants included). - [ ] **Webfont loader:** ![Low][low_img] Control loading behavior with a webfont loader - 🛠 [Typekit Web Font Loader](https://github.com/typekit/webfontloader) **[⬆ back to top](#-table-of-contents)** --- ## CSS > **Notes:** Take a look at [CSS guidelines](https://cssguidelin.es/) and [Sass Guidelines](https://sass-guidelin.es/) > followed by most Front-End developers. If you have a doubt about CSS properties, you can visit > [CSS Reference](http://cssreference.io/). There is also a short [Code Guide](http://codeguide.co/) for consistency. - [ ] **Responsive Web Design:** ![High][high_img] The website is using responsive web design. - [ ] **CSS Print:** ![Medium][medium_img] A print stylesheet is provided and is correct on each page. - [ ] **Preprocessors:** ![Low][low_img] Your project is using a CSS preprocessor (e.g [Sass](http://sass-lang.com/), [Less](http://lesscss.org/), [Stylus](http://stylus-lang.com/)). - [ ] **Unique ID:** ![High][high_img] If IDs are used, they are unique to a page. - [ ] **Reset CSS:** ![High][high_img] A CSS reset (reset, normalize or reboot) is used and up to date. _(If you are using a CSS Framework like Bootstrap or Foundation, a Normalize is already included into it.)_ - 📖 [Reset.css](https://meyerweb.com/eric/tools/css/reset/) - 📖 [Normalize.css](https://necolas.github.io/normalize.css/) - 📖 [Reboot](https://getbootstrap.com/docs/4.0/content/reboot/) - [ ] **JS prefix:** ![Low][low_img] All classes (or id- used in JavaScript files) begin with **js-** and are not styled into the CSS files. ```html
``` - [ ] **embedded or inline CSS:** ![High][high_img] Avoid at all cost embedding CSS in `