Code Monkey home page Code Monkey logo

shopping-list-app's Introduction

Shopping List App

This is a simple shopping list application built with HTML, CSS, and JavaScript. It uses Firebase Realtime Database to store the shopping list items and Vite for a build tool. The app is also configured as a Progressive Web App (PWA), which means it can be installed on supported devices for offline use.

Shopping List App Screenshot

Live Demo

You can access the live demo of the app here.

Features

  • Add items to the shopping list.
  • Click on an item to remove it from the list.
  • Installable as a PWA for offline use.

How to Use

  1. Enter the name of an item in the input field.
  2. Click the 'Add to cart' button to add the item to the list.
  3. Click on an item in the list to remove it.

Development

This project uses Vite. After cloning the project, you can run the following commands:

  • npm install to install the dependencies.
  • npm run dev to start the development server.
  • npm run build to build the app for production.
  • npm run preview to locally preview the production build.

Code Structure

The JavaScript code is structured into functions each performing a specific task. It uses Firebase for storing and retrieving data and manipulates the DOM to update the shopping list.

The HTML and CSS code is structured to create a simple and user-friendly interface.

License

This project is open source and available under the MIT License.

shopping-list-app's People

Contributors

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