Skip to content

Latest commit

 

History

History
101 lines (80 loc) · 4.76 KB

README.md

File metadata and controls

101 lines (80 loc) · 4.76 KB

ML Strength

Overview

ML strength is a fitness business that have five clubs in Brisbane, Ashgrove, Chermside, Graceville, and Westlake. The website is built with HTML, CSS, Javascript to showcase classes and clubs.

Features

  • Fetch data from json file
  • Frontend Javascript form validation
  • Compiled scss to css
  • Customised LeaftLet map
  • Enabled PostCSS Autoprefixer
  • Mobile responsive

Live Demo

Check out the live site ML Strength

ML Strength

Site Architecture

Built With

  • html, css, Javascript
  • SASS
  • PostCSS Autoprefixer
  • Leaflet

SASS

SASS is a css compiler. All styling work were done in scss folder. In 📁scss folder, sass partials (scss files started with underscore) were organised in subfolders. There is an _index.scss file located in each partial folder that loads all partial files in the same partial folder, that can be used by other partial files.

The structure was referenced from https://sass-guidelin.es/#architecture

Autoprefixer

Postcss's Autoprefixer plugin was used during development. This plugin autoprefix browser's extensions to css files.

In this project:

Reference https://github.com/postcss/autoprefixer#environment-variables https://github.com/postcss/autoprefixer/blob/main/README.md

Libraries

Libraries used in this project including Google Fonts, Fontawesome, and Leaflet are hosted in local server rather than using CDN.

Google Fonts

All font files located in Google Fonts that were used for fontface in ./scss/base/_fontface.scss

Fontawesome

fontawesome imported from node_modules/@fontawesome to scss/fontawesome.scss

Leaflet

Leaflet imported from node_modules/leaflet to assets/leaflet

License

The project is licensed under Apache license 2.0.

Contact