Giter Club home page Giter Club logo

az_store's Introduction

[AZ]Store

The Mission:

You are a web developer for a web agency and your boss has asked you to create a small shopping cart for a website of a client (see below). The shopping cart should be able to add and remove products. The shopping cart should also be able to display the total price of the products in it.

image image

Authors

Learning objectives

Use variables, conditions, loops, functions, and sessions.

PagesPages

  • index.php : The home page (it should display the products). Each product should have a button to add it to the shopping cart.
  • shopping-cart.php : The shopping cart page (it should display the products in the shopping cart). The shopping cart should have a button to remove a product from the shopping cart The shopping cart should have a button to go to the checkout page
  • Checkout.php : The checkout page (it should display the products in the shopping cart). The checkout page should have a form to give informations for the shipping The checkout page should have a button, after submiting the form, just display a message "Thank you for your order" and empty the shopping cart.

Must-have features

  • The user should be able to add a product to the shopping cart.
  • The user should be able to remove a product from the shopping cart.
  • The user should be able to see the total price of the products in the shopping cart.
  • Use sessions to store the shopping cart.
  • Use an array to store the products. Each product should be an array.

Good to know

  • Use the assets folder to get the images

  • You can use tailwindcss or other CSS frameworks to style the website.

  • The form should have the following fields:

First name Last name Email Address City Zip code Country

  • Don't forget to validate the form (all fields are required, email should be a valid email, zip code should be a number, etc...).

  • Don't forget to sanitize the data (remove the spaces, remove the special characters, etc...).

Good to know

  • Use the assets folder to get the images

  • You can use tailwindcss or other CSS frameworks to style the website.

  • The form should have the following fields:

First name Last name Email Address City Zip code Country

  • Don't forget to validate the form (all fields are required, email should be a valid email, zip code should be a number, etc...).

  • Don't forget to sanitize the data (remove the spaces, remove the special characters, etc...).

az_store's People

Contributors

aurorelem avatar benprst avatar gollumeo avatar hugo-goorickx avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.