Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 41 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,42 @@
# Carto
It’s a frontend design for shopping website with basic Html,CSS and JavaScript.

Frontend prototype for a shopping/checkout experience built with plain HTML, CSS and JavaScript.

## Overview

This is a small client-side shopping cart and payment UI sample. It demonstrates basic layout, interactivity (add/remove items, cart summary), and a static checkout flow using vanilla JS.

## Key Files

- `index.html`, `index.css`, `index.js` — main demo site (root)
- `Cart.html`, `Cart.css`, `Cart.js` — cart-specific pages and styles
- `Payment.html`, `Payment.css` — payment/checkout UI
- `Data.json` — sample product/data used by the demo
- `toastr.js`, `toastr.css` — notification helper
- `img/` — images used by pages

## Features

- Static product listing and cart management
- Add/remove items, update quantities
- Cart summary with subtotal calculation

## Preview

Open `index.html` directly in your browser for a quick preview. For local server, run one of these commands from the project root:

Python 3 built-in HTTP server:

```bash
python3 -m http.server 8000
# then open http://localhost:8000 in your browser
```

Node (http-server) if you have npm installed:

```bash
npx http-server -p 8000
# then open http://localhost:8000
```

Or use VS Code Live Server extension and open the workspace root.