GithubHelp home page GithubHelp logo

jeansanchezfelix / tejidosangelicales.store Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 64.76 MB

Creating a fully fuctional and reactional website, using Bootstrap

Home Page: https://tejidos-angelicales.web.app/

License: MIT License

CSS 4.51% HTML 82.17% JavaScript 13.32%
ecomerce html-css-javascript shopping-site firebase frontend bootstrap5

tejidosangelicales.store's Introduction

tejidosangelicales.store

This website aims to provide a platform for selling crochet products. It is built using Bootstrap and JavaScript React, offering a fully functional and reactive user experience.

Motivation

The motivation behind creating this crochet-selling website is to provide a dedicated platform for my friend's crochet business. Currently, she sells her products through Facebook, but she wants to showcase her creations and upcoming products in a more organized and professional manner. As a software engineering student, I saw this as an opportunity to apply and enhance my skills while helping my friend grow her business.

Build Status

Currently, the website is being converted from static to dynamic code, to later integrate the database.

Features

  • User authentication
  • Product listing and search functionality
  • Shopping cart and checkout process
  • User reviews and ratings
  • Order tracking and history

Tech/Framework used

  • Bootstrap: A popular CSS framework for building responsive and visually appealing websites.

Screenshots

{Home Page}

Screenshot 2023-08-27 111133

{One of the Product Pages}

Screenshot 2023-08-27 111658

{Shopping Cart}

Screenshot 2023-08-27 110938

Code Examples

Here is an example of how to add a product to the shopping cart:

function updateOrderSummary() {
            let subtotal = 0;
            productRows.forEach(row => {
              const quantityCell = row.querySelector('.quantity-column');
              const priceCell = row.querySelector('.price-column');
              const price = parseFloat(priceCell.innerText.replace('$', ''));
              let quantity = parseInt(quantityCell.innerText);

              if (quantity <= 0) {
                row.style.display = 'none';
              } else {
                row.style.display = 'table-row';
                subtotal += price * quantity;
              }
            });

            orderSubtotalElement.innerText = `$${subtotal.toFixed(2)}`;

            // Update other costs and total based on the calculated subtotal
            const shippingCost = checkedSwitch.checked ? 10.00 : 0.00;
            const taxRate = 0.115;
            const taxCost = subtotal * taxRate;
            const totalCost = subtotal + shippingCost + taxCost;

            shippingCostElement.innerText = `$${shippingCost.toFixed(2)}`;
            taxCostElement.innerText = `$${taxCost.toFixed(2)}`;
            totalCostElement.innerText = `$${totalCost.toFixed(2)}`;
          }

How to Use

Follow these steps to use the crochet-selling website:

  1. Browse through the available products or use the search functionality to find specific items.
  2. Click on a product to view more details and add it to your shopping cart.
  3. Proceed to the checkout process, providing the necessary information.
  4. Track your orders and view your order history.

Credits

[email protected]

tejidosangelicales.store's People

Contributors

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