Home | Item |
---|---|
![]() |
![]() |
Contact | Cart |
![]() |
![]() |
This is my javascript frameworks introductory course assignment project submission for the Frontend Development course at Noroff School of technology and digital media.
Work with the official Noroff API Documentation, plan, design and build a modern front-end eCom application.
- Homepage.
- Individual product page.
- Cart page.
- Checkout success page.
- The homepage should have a list of all the products.
- There should be a look-ahead search bar that filters products when typing in a product name.
- Clicking on a product should take a user to an individual product page.
- The header should contain a nav bar as well as a Cart icon component that acts as a button as well as displays the current number of items in the cart.
- There should be an
Add to cart
button which, upon clicking, adds the product to the cart. - The product page should display the
title
of the product, thedescription
and theimage
. There should also bereviews
listed for the product. - You should use the
discountedPrice
property to display the price of the product. If there is a difference between thediscountedPrice
andprice
properties then that means there is a discount for that product.Calculate what this dicount is and display it on the page.
- The
cart page
will have acheckout
button. Clicking this checkout button then goes to a checkout success page. - Checkout success page will display a message to the user
notifying
them that their order was successful. - The
cart
must be cleared if the user gets to the checkout success page. - There will be a contact page which will contain a contact form with the following fields. There must be form validation:
- Full name (Minimum number of characters is 3, required)
- Subject (Minimum number of characters is 3, required)
- Email (Must be a valid email address, required)
- Body (Minimum number of characters is 3, required)
The development stack used for this project:
- Javascript as the programming language.
- Tailwind as the styling CSS framework.
- React as the JS framework.
- React Router DOM for routing.
Website Link:
https://jade-paprenjak-6721a7.netlify.app/
- Clone the repo through github app/website or use the CLI command:
git clone https://github.com/DrRuski/js-frameworks-ca.git
- Install dependencies:
npm i
- Start development server:
npm run dev