• Stars
    star
    2,578
  • Rank 17,780 (Top 0.4 %)
  • Language
  • License
    MIT License
  • Created almost 9 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A one-page questionnaire to help your team establish effective frontend guidelines, so that you can write consistent & cohesive code together.

Frontend Guidelines Questionnaire

A one-page questionnaire to help your team establish effective frontend guidelines, so that you can write consistent & cohesive code together.

HTML

HTML Principles

  • What are some general principles your team should follow when writing HTML? (for example, authoring semantic HTML5 markup, accessibility, etc. See these resources for inspiration)

HTML Tools

  • Are you using an HTML preprocessor (such as HAML, Pug, etc)?
  • Are you using a templating engine (such as Mustache, Handlebars, etc)?
  • Does your backend architecture influence the frontend markup in any way (for example, WordPress will add wp-paginate to a class in your markup)? If so, can you highlight these conventions?

HTML Style

  • Spaces or Tabs?
  • What does HTML commenting look like?

CSS

CSS Principles

  • What are some general principles your team should follow when writing CSS? (For example, modularity, avoiding long selector strings, etc. See these resources for inspiration)

CSS Methodology

  • Is your team using a CSS methodology (such as SMACSS, BEM, or OOCSS)? If yes, where is the documentation for that methodology?
  • Are you deviating from the methodology in any way? If so, can you highlight these conventions?

CSS Tools

  • Is the team using a preprocessor (such as Sass or Less)?
  • What are the guidelines for using that preprocessor (check out Sass Guidelines for inspiration)?
  • Are you using a CSS base (such as Normalize or a reset)?
  • Are you using any CSS postprocessors (such as Prefixfree or Autoprefixer)?
  • Are there specific CSS techniques you're utilizing (such as critical CSS)?

CSS Frameworks

  • Is the team using a framework (such as Bootstrap or Foundation)? If yes, where is the documentation for that framework?
  • Are you deviating from the framework in any way? If so, can you highlight these conventions?

CSS Style

  • Spaces or Tabs?
  • Spacing around rules?
  • Grouping properties?
  • What does CSS commenting look like?

JavaScript

JavaScript Principles

JavaScript tools

  • Are you using a JavaScript framework (such as jQuery, Ember, Angular, etc)?
  • Where is the documentation for those frameworks?
  • Are you using any polyfills or shims (such as any of these)?
  • What third-party scripts are dependencies for your project (such as scripts for form validation, graphs, animation, etc)?
  • Do you test your JavaScript? If so, what tools do you use (such as Jasmine, Karma, Selenium, etc)?

JavaScript Style

(See these resources for inspiration)

  • Spaces or Tabs?
  • What does JS commenting look like?
  • What patterns are you following? (See these resources)

Media

  • How are you handling icons (such as using SVG, icon fonts, etc)?
  • How are you handling responsive images (such as using srcset & <picture />)?
  • Are you using any tools to optimize and serve images?

Fonts

  • How do you load custom fonts?
  • Do you use any tools to help implement web fonts (such as Font Squirrel, etc)?
  • Do you use a service to manage and serve custom fonts (such as Fonts.com, Typekit, etc)?

Performance


Accessibility

  • Are you following the accessibility recommendations laid out in this checklist?
  • What accessibility-related tools are you using in your workflow?

Tooling

  • Are you using a task runner (such as Grunt or Gulp)?
  • Are you using a dependency manager (such as Bower or Composer)?
  • Are you using any scaffolding tools (such as Yeoman)?
  • Are you using any tools to reinforce frontend style (such as Editor Config or linters)?
  • Are any other specific pieces of software that are needed to work on this project?

Version control

  • What version control system are you using for your frontend code (such as Git or Subversion)?
  • Where is your version-controlled code hosted (such as Github or Bitbucket)?
  • Do you use a version control workflow (such as gitflow, centralized, feature-branch, etc)?
  • Who's responsible for managing and governing the version controlled code??
  • Where are issues tracked?

Support and Optimization

It's important to recognize the difference between "support" and "optimization". You should do your best to support as many environments as possible while simultaneously optimizing for the environments that make the most sense for your business and users.


Localization

  • Is your website served in different languages? If so, what considerations do you need to address when localizing for other languages?

Deployment/Integration

  • How is your front-end code integrated into a production environment?

Documentation

  • Are you using a pattern library tool to document your front-end architecture?
  • Where does your documentation live? What are the links to the documentation?
  • Who's responsible for maintaining and governing the documentation?
  • What happens when the guidelines are updated?

Feel free to modify or extend (such as adding specific sections for performance, accessibility, etc) this document for your own organization's needs. For questions, comments, additions, and corrections, please open an issue on Github and/or reach out to @brad_frost on Twitter.

More Repositories

1

this-is-responsive

This Is Responsive
HTML
1,586
star
2

atomic-design

The repository for the Atomic Design book
SCSS
1,236
star
3

style-guide-guide

A boilerplate for creating your own custom style guide
HTML
1,226
star
4

project-hub

An HTML template for project timelines
CSS
913
star
5

patternlab

Make a pattern library using atomic design.
JavaScript
844
star
6

ish.

ish. is yet another viewport resizer
JavaScript
731
star
7

gatsby-style-guide-guide

A boilerplate for creating your own custom style guide
JavaScript
467
star
8

dumb-react

JavaScript
442
star
9

labelmask

A way to create accessible input hinting without using input masks.
JavaScript
205
star
10

design-system-questionnaire

A questionanaire for creating effective design systems
92
star
11

Mobile-First-RWD

An example of a mobile-first responsive web design
JavaScript
68
star
12

dumb-react-sass

CSS
41
star
13

vue-design-system-demo

JavaScript
16
star
14

pittsburgh-food-bank-timeline

The project timeline for the Pittsburgh Food Bank open redesign
CSS
14
star
15

vanilla-pl-hbs

Vanilla Pattern Lab Handlebars Starter Kit
CSS
13
star
16

progress

All the progress on all my current projects
HTML
11
star
17

vanilla-pl

CSS
8
star
18

cn-style-guide

HTML
8
star
19

pittsburgh-food-bank

Pittsburgh Food Bank Website Redesign
JavaScript
6
star
20

czi-vanilla-storybook

JavaScript
5
star
21

deathtobullshit

Death to Bullshit
HTML
4
star
22

one-click-hugo-cms

CSS
4
star
23

pittsburgh-food-bank-wordpress

Custom Wordpress theme for the Greater Pittsburgh Community Food Bank
JavaScript
3
star
24

frost-finery-pl

Pattern Lab repo for Frost Finery
JavaScript
2
star
25

pghdevicelab

Pittsburgh Open Device Lab website
CSS
2
star
26

patternlab-handlebars-ecommerce-demo-example

HTML
2
star
27

patternlab-website-pl

HTML
2
star
28

test-jekyll-netlify

Ruby
1
star
29

pl-website-eleventy

CSS
1
star
30

frost-finery-wp

Wordpress theme for frostfinery.com
PHP
1
star
31

pattern-lab-ecommerce-handlebars

CSS
1
star
32

try_git

1
star
33

frost-frost-wp

Wordpress theme for frostfrost.com
PHP
1
star