Google Translate Disclaimer

A number of pages on the Government of Saskatchewan`s web site have been professionally translated in French. These translations are identified by a yellow text box that resembles the link below and can be found in the right hand rail of the page. The home page for French-language content on this site can be found here:

Renseignements en Français

Where an official translation is not available, Google™ Translate can be used. Google™ Translate is a free online language translation service that can translate text and web pages into different languages. Translations are made available to increase access to Government of Saskatchewan content for populations whose first language is not English.

The results of software-based translation do not approach the fluency of a native speaker or possess the skill of a professional translator. The translation should not be considered exact, and may include incorrect or offensive language Government of Saskatchewan does not warrant the accuracy, reliability or timeliness of any information translated by this system. Some files or items cannot be translated, including graphs, photos, and other file formats such as portable document formats (PDFs).

Any person or entities that rely on information obtained from the system does so at his or her own risk. Government of Saskatchewan is not responsible for any damage or issues that may possibly result from using translated website content. If you have any questions about Google™ Translate, please visit: Google™ Translate FAQs.

Front-End Code Standards and Framework

Overview

This section contains standards and guidelines for websites and applications built for and by the Government of Saskatchewan. It's purpose is for code consistency and best practices. By maintaining consistency in coding styles and conventions, we can produce better applications, reduce code maintenance and reduce risk of breakage.

Getting Started

Start your project off right by following a robust front-end framework that will create accessible, usable, mobile friendly websites and applications that follow the Government of Saskatchewan branding guides.

Front-end developers should have a base level of knowledge of web standards (W3C) HTML, CSS and JavaScript. The GoS framework relies on well structured code and best practices.

Pillars of Front-end Development

  • Separation of presentation content and behaviour.
  • Markup should be well structured, semantically correct and generally valid.
  • Javascript should progressively enhance the experience.

General Practices

  • For all code language use indentation, use soft tabs (using the space character).
  • Use logical and descriptive naming conventions.
  • Use whitespace to help with readability. When compiling files for production,  minify all static client-side files, such as CSS and JavaScript.

We need your feedback to improve saskatchewan.ca. Help us improve