From: bochard Date: Thu, 27 Feb 2025 12:05:44 +0000 (+0800) Subject: initialize project X-Git-Url: https://git.bochard.net/?a=commitdiff_plain;h=3f580e1e5f0ed87d3e62254de1dbce07a178d69b;p=simple-cash-register.git initialize project --- 3f580e1e5f0ed87d3e62254de1dbce07a178d69b diff --git a/README.md b/README.md new file mode 100644 index 0000000..182d2c8 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +### simple cash register \ No newline at end of file diff --git a/index.css b/index.css new file mode 100644 index 0000000..79d3918 --- /dev/null +++ b/index.css @@ -0,0 +1,37 @@ +*, +::before, +::after { + box-sizing: border-box; + margin: 0; + padding: 0; +} +html { + font-size: 62.5%; +} +body { + font-size: 2rem; +} +.cash-register-screen { + padding: 1rem; + border: 1px solid black; +} +.product-list { + display: flex; + flex-direction: column; + gap: 1rem; + padding: 1rem; + border: 1px solid black; +} +.product-wrapper { + display: flex; + justify-content: space-between; + align-items: center; + padding: 1rem; + border: 1px solid black; +} +.quantity-controls { + display: flex; + align-items: center; + gap: 1rem; + padding: 0.5rem; +} \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..7b47696 --- /dev/null +++ b/index.html @@ -0,0 +1,46 @@ + + + + + + Digital Cash Register + + + +
+ + + +
+ +
+
+
Total: $0.00
+
+
+ +
+
+

Water $1.00

+
+ +

0

+ +
+
+
+

Bread $2.50

+
+ +

0

+ +
+
+
+ +
+
+ + + + \ No newline at end of file diff --git a/index.js b/index.js new file mode 100644 index 0000000..e69de29