Skip to content

larstp/E-Co

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PE1 - Project Exam 1 - NOROFF OCT24

Project Documentation: E.CO

ECO logo

See full Kanban in GitHub projects

Contents:

Table of Contents

1. Project Overview

2. Setup & Installation

3. Admin User & Registering your own

4. Technologies Used

5. Folder Structure

6. Features

7. API Usage

8. Accessibility and SEO

9. Known Issues & Limitations

10. Credits

11. Inspiration

12. Contact


1. Project Overview

E.CO simulates a real responsive, accessible e-commerce web application focused on sustainable and affordable shopping. Users can browse products, view details, register, log in, manage a cart, and complete a mock checkout process.

This page is meant to show my progress in designing and creating a front end product using what we have learned of web design, Figma, HTML, CSS and JavaScript during our first year.

Brand Story

E-co is a modern, sustainability-focused e-commerce brand founded in 2018 to simplify online shopping by offering a curated selection of high-quality products across electronics, lifestyle, home, and wellness—all in one place. Committed to environmental responsibility, E-co combines data-driven product choices, eco-friendly logistics, and carbon offset initiatives to deliver a seamless, climate-conscious shopping experience for today’s discerning consumers.

See the brand client profile for more details.

Project Links:

Figma:

                               
Style GuideMobile PrototypeDesktop Prototype
View Style GuideView Mobile PrototypeView Desktop Prototype

Or visit the entire Figma Project

Password: PE1

You can also see screenshots of every design page located in the Figma folder

2. Setup & Installation

  • Clone repo and open index.html in your browser using Live Server or NPM, or visit the deployed site: larstp.github.io (available until exam is graded)
  • No build steps required; all code is static and client-side.

3. Admin User and Registering Your Own

Admin User:

E-Mail Username Password
eco-admin@stud.noroff.no eco_admin Password123

Creating your own user:

E-Mail Username Password
Email does not need to be real. Must end in @stud.noroff.no Make your own username. Username can only contain letters, numbers, and underscores! Password must contain 8 characters or more.

4. Technologies Used

  • HTML5, CSS3 (no frameworks)
  • JavaScript (ES6 modules, no frameworks)
  • Figma (design & style guide)
  • GitHub Projects (planning)
  • NOROFF E-commerce API (online-shop)

5. Folder Structure

  • /public/ — Static assets (images, icons, etc.)
  • /src/ — Source code
    • /css/ — Stylesheets
    • /script/ — JavaScript modules
    • /pages/ — HTML pages
    • /components/ — JSON files for mockup storage
  • /docs/ — Documentation, Figma- and assignment files

6. Features

  • Product feed with carousel and grid
  • Product detail page with shareable link
  • User registration and login (with validation)
  • Cart management (add, remove, adjust quantity)
  • Checkout flow (address, shipping, payment selection)
  • Success/confirmation page
  • Responsive design for desktop and mobile
  • Accessibility features (labels, contrast, keyboard navigation)
  • SEO meta tags and semantic HTML
  • Loader overlay for async actions
  • Wishlist is working (mocked)

7. API Usage

  • Fetches product data from the NOROFF online-store API
  • Uses endpoints for registration and login

8. Accessibility & SEO

  • All forms have labels and validation feedback
  • Visually hidden labels for screen readers
  • Sufficient color contrast and focus states
  • Semantic HTML structure
  • Meta tags for SEO and social sharing
  • Error handling

See screenshots of validation-tools used in the validation folder

9. Known Issues / Limitations

  • Checkout/payment is a mockup (no real transactions)
  • No persistent user address/payment storage (mocked in localStorage or JSON)
  • Some features (e.g., wishlist, colour filters) are non-functional or for demo only
  • The "Wishlist", "About" and "Contact" page is hastily added to not have empty links in the header, and should not be considered a real part of the overall design.

10. Credits

11. Inspiration

  • Design: The majority of the inspiration for my websites design comes from this netlify example page. I really liked the layout of the product page, and the simple yet stylish design of the landing page. I did not, however, like the animations as much. They became too... much, so you'll se little of that in my design.

12. Contact

About

NOROFF - FED01 OCT24FT - Project Exam 01

Resources

Stars

Watchers

Forks

Contributors