Coder Social home page Coder Social logo

nutribest's Introduction

Nutribest

Nutribest is a website that specializes in selling vitamin supplements online. It is an E-commerce website built using HTML, CSS (Bootstrap), JS (jQuery, AJAX), PHP, and MySQL. The website is designed to be user-friendly, with several pages that provide users with an interactive experience. Its responsive design ensures that users can access the website from anywhere and at any time, making it convenient for them to purchase their favorite supplements.

The homepage is the first page a user sees when they visit Nutribest. It is designed to be informative and attractive, with eye-catching images of the products and a brief overview of what the website is about.

The products page is where users can view and purchase the supplements available on Nutribest.Each product has a description and an image, along with its price and a button to add it to the user's cart.

Homepage

Homepage screenshot

Products

Products screenshot

Shipping Details Form

All inputs have individual error messages that are checked everytime the submit button is clicked. E-mail and Phone number inputs are validated using RegEx formats. If there are no errors, all the input values are stored into sessionStorage and the checkout form will open. Shipping Form

Checkout Form

In this page the Expiration Date, CVV and Card Number Inputs are validated using PHP. After clicking the submit button the input values together with the values stored in sessionStorage from shipping details form will be sent to an external PHP script using AJAX which will validate checkout inputs and return the input values in json format as requested. It will also initialize a connection with the SQL database using PDO and upload the data to a table which will store them. checkout jsondata phpmyadmin

Order Confirmation Page

This is the last page the user visits when ordering. The customers name is retrieved from a sessionStorage variable. thankypu

nutribest's People

Contributors

robnikolla 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.