- Purpose
- Functionality
- Technologies used
- CSS Organization
The purpose of this project is to recreate the demonstrated website and ensure that it is responsive over a variety of viewing form-factors.
-
There is an image carousel that will feature the favourite products. It will wrap around at the end of the list and will center in on the focused element.
-
The products featured in favourite products can be added to or taken out of the cart freely.
-
The total number of items in the cart will be featured in the cart icon in the top right. If there are no items in the cart, the dot will not be displayed.
-
The header navigation is sticky and will remain on screen at all times
-
Clicking on the navigation items will smoothscroll you to the desired section on the website
- Flickity plugin for image slider: flickity
- Font Awesome for text icons: font awesome
- JQuery library: JQuery
- Font Squirrel for downloaded fonts: Font Squirrel
- Transfonter to convert font formats to ensure cross-browser support: Transfonter
Generally, CSS are organized in a modular top-to-bottom format. Global and site-wide styles are at the top and then each part of the website will follow from top to bottom.
Within each section of the website, a similar top-to-bottom approach is followed. Elements on roughly the same position will have more specific elements towards the bottom.
Within each CSS selector, the individual properties are organized as follows:
- Display elements such as inline, block, flex, and their affected derivatives.
- Positional elements such as absolute, top, left.
- Dimensional elements such as width, margin, padding, height.
- Visual elements such as color, background, and font.