Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
275 commits
Select commit Hold shift + click to select a range
5be74d4
some changes
FelixS2000 Jan 18, 2023
e06fc4d
alert's change
FelixS2000 Jan 18, 2023
d8f9920
alerts
FelixS2000 Jan 18, 2023
6866895
saving
FelixS2000 Jan 18, 2023
8f7401d
changes
FelixS2000 Jan 18, 2023
5b51871
save these changes
FelixS2000 Jan 19, 2023
ae7c9ba
cart's change
FelixS2000 Jan 20, 2023
4c2d163
product change
FelixC2000 Jan 22, 2023
62703b7
cart's update
FelixC2000 Jan 23, 2023
f7675fd
cart's page
FelixC2000 Jan 23, 2023
0b7efa2
product detail's change
FelixC2000 Jan 23, 2023
197f925
public folder to add json directory and images
FelixC2000 Jan 24, 2023
356fe89
vite changes
FelixC2000 Jan 24, 2023
fb5c8ce
product list page
FelixC2000 Jan 24, 2023
ce28b48
product list update
FelixC2000 Jan 24, 2023
c6bd55d
product pages update
FelixC2000 Jan 24, 2023
632e953
product pages images
FelixC2000 Jan 24, 2023
21cb8ff
index change
FelixC2000 Jan 24, 2023
ca76055
package upd
FelixC2000 Jan 25, 2023
6b3bfb8
index changes
FelixC2000 Jan 25, 2023
561b599
marmot page update
FelixC2000 Jan 25, 2023
6dafcbf
index
FelixC2000 Jan 25, 2023
847884e
INDEX CHANGE
FelixC2000 Jan 25, 2023
da57008
page updates
FelixC2000 Jan 25, 2023
21af64b
adding content
FelixC2000 Jan 25, 2023
9fb11ef
changing
FelixC2000 Jan 25, 2023
e4ddbce
image update
FelixC2000 Jan 25, 2023
9bf7a16
image update for the pages
FelixC2000 Jan 25, 2023
a7cc624
index change 2
FelixC2000 Jan 25, 2023
5594fe9
index alert
FelixC2000 Jan 25, 2023
72f5218
vite update
FelixC2000 Jan 25, 2023
f1d01fc
index update 3
FelixC2000 Jan 25, 2023
7ee0166
index change
FelixC2000 Jan 25, 2023
95bdb1e
product and cart update
FelixC2000 Jan 26, 2023
0fb2c8e
js updates
FelixC2000 Jan 26, 2023
d4aee53
product details
FelixC2000 Jan 26, 2023
8243939
product det update
FelixC2000 Jan 26, 2023
c5cac49
product details
FelixC2000 Jan 26, 2023
64ff7f7
index changes
FelixC2000 Jan 27, 2023
69c2b2d
pack
FelixC2000 Jan 27, 2023
70f45ff
js data
FelixC2000 Jan 27, 2023
8b46fb0
saving
FelixC2000 Jan 27, 2023
ef41265
cart change and updating
FelixC2000 Jan 27, 2023
b6ef3cf
alert json
FelixC2000 Jan 27, 2023
ce066a7
some changes
FelixC2000 Jan 28, 2023
7c135ca
some changes
FelixC2000 Jan 28, 2023
ccabc23
cart total
FelixC2000 Jan 28, 2023
01f4c8a
pages updates
FelixC2000 Jan 28, 2023
708ac2a
pages update saving
FelixC2000 Jan 28, 2023
c74b906
pages update
FelixC2000 Jan 28, 2023
cdc5e4a
page update
FelixC2000 Jan 28, 2023
5932759
saving updates for the page
FelixC2000 Jan 28, 2023
09d08ad
cart update
FelixC2000 Jan 30, 2023
088efce
style update
FelixC2000 Jan 30, 2023
b1ff57d
product issues
FelixC2000 Jan 30, 2023
458c27a
.cart update 2
FelixC2000 Jan 30, 2023
87aee74
cart's change
FelixC2000 Jan 31, 2023
0a4977a
some updates
FelixC2000 Feb 1, 2023
389fd1a
updates
FelixC2000 Feb 1, 2023
b91846c
index update to view
FelixC2000 Feb 1, 2023
9e528a0
update pages
FelixC2000 Feb 1, 2023
ef70a20
pages issues
FelixC2000 Feb 1, 2023
d1d72e8
pages issues
FelixC2000 Feb 1, 2023
4557023
changes
FelixC2000 Feb 1, 2023
ba59dfe
some changes
FelixC2000 Feb 1, 2023
8a82376
changs
FelixC2000 Feb 1, 2023
fcadce3
pages updates
FelixC2000 Feb 1, 2023
03f214e
saving
FelixC2000 Feb 1, 2023
8efc1eb
superscript number
FelixC2000 Feb 1, 2023
b664e9e
changes styles
FelixC2000 Feb 1, 2023
7ede337
changing
FelixC2000 Feb 1, 2023
760492e
chg
FelixC2000 Feb 2, 2023
963f28b
chg 1
FelixC2000 Feb 2, 2023
960144d
cart's update
FelixC2000 Feb 2, 2023
2137792
cart's update 2
FelixC2000 Feb 2, 2023
1a33bc1
changes
FelixC2000 Feb 2, 2023
f4eb641
channges
FelixC2000 Feb 2, 2023
ba12b7a
issues changed
FelixC2000 Feb 2, 2023
6fd3249
changes
FelixC2000 Feb 2, 2023
84ba685
changes
FelixC2000 Feb 2, 2023
0df88db
changes
FelixC2000 Feb 2, 2023
16711d9
changes
FelixC2000 Feb 2, 2023
8d78428
delays
FelixC2000 Feb 2, 2023
5017fef
changes
FelixC2000 Feb 2, 2023
f6e37b7
update color
FelixC2000 Feb 2, 2023
501d3c6
colors
FelixC2000 Feb 2, 2023
8411553
changing
FelixC2000 Feb 2, 2023
0af929f
save
FelixC2000 Feb 2, 2023
212e173
index cart quantity
FelixC2000 Feb 2, 2023
01ceef0
cart quantity
FelixC2000 Feb 2, 2023
5643a54
saving main
FelixC2000 Feb 2, 2023
13c51ed
saving
FelixC2000 Feb 2, 2023
bab0e30
save
FelixC2000 Feb 2, 2023
d2982be
cart changes
FelixC2000 Feb 2, 2023
1598aea
number items quantity
FelixC2000 Feb 3, 2023
675bfc1
count the items from the cart
FelixC2000 Feb 3, 2023
00cbd4a
cart html
FelixC2000 Feb 3, 2023
b96292c
number of items
FelixC2000 Feb 3, 2023
e60cdd3
changes
FelixC2000 Feb 3, 2023
7176650
saves
FelixC2000 Feb 3, 2023
a57d35b
c
FelixC2000 Feb 3, 2023
1640660
save
FelixC2000 Feb 3, 2023
32752c6
product issues
FelixC2000 Feb 3, 2023
250fabe
change pages
FelixC2000 Feb 3, 2023
f65bc90
changes
FelixC2000 Feb 3, 2023
0000136
changes 1
FelixC2000 Feb 3, 2023
0fd3925
js updates
FelixC2000 Feb 3, 2023
1fe2598
index cart counting
FelixC2000 Feb 4, 2023
80abb29
index item count
FelixC2000 Feb 4, 2023
a5072b4
numbercartitems header
FelixC2000 Feb 4, 2023
72ef206
numberCartItems2
FelixC2000 Feb 4, 2023
da369a3
chg
FelixC2000 Feb 4, 2023
e70db0c
yolo
FelixC2000 Feb 4, 2023
71e34db
S
FelixC2000 Feb 4, 2023
c27fb0b
number of Items in utils.mjs
FelixC2000 Feb 4, 2023
9c1c6f7
save
FelixC2000 Feb 4, 2023
c5bba8b
Number Cart of Items in the Backpack Icon
FelixC2000 Feb 4, 2023
a9230a1
product listing inside vite
FelixC2000 Feb 6, 2023
b68141b
product listing inside vite config
FelixC2000 Feb 6, 2023
b67cdf8
Product page's updates
FelixC2000 Feb 6, 2023
53f2a45
Product's page update
FelixC2000 Feb 6, 2023
2e0db17
Product's updates
FelixC2000 Feb 6, 2023
a92df6a
product's update for webpages
FelixC2000 Feb 6, 2023
6e2fbc2
number of items
FelixC2000 Feb 6, 2023
cdf4643
numberitems
FelixC2000 Feb 6, 2023
d267c9e
product listing pages updates
FelixC2000 Feb 6, 2023
87f7bad
style changes
FelixC2000 Feb 6, 2023
97710c3
checkout
FelixC2000 Feb 6, 2023
a3fa569
cart's update
FelixC2000 Feb 6, 2023
27dd36d
cart update
FelixC2000 Feb 7, 2023
baedb10
Product Data
FelixC2000 Feb 7, 2023
622bdf3
saving main
FelixC2000 Feb 7, 2023
94b53fd
main changes
FelixC2000 Feb 7, 2023
65ee25a
mian updates
FelixC2000 Feb 7, 2023
40b2e3a
product data
FelixC2000 Feb 7, 2023
482b9d5
saving product details
FelixC2000 Feb 7, 2023
056f3d1
category data
FelixC2000 Feb 7, 2023
e0ad8d2
product listing
FelixC2000 Feb 7, 2023
e62a793
product list data
FelixC2000 Feb 7, 2023
4149899
product list
FelixC2000 Feb 7, 2023
9697b7d
css
FelixC2000 Feb 7, 2023
ecca350
css
FelixC2000 Feb 7, 2023
6014b8e
category data
FelixC2000 Feb 8, 2023
5874a73
saving cart
FelixC2000 Feb 8, 2023
332ec9d
number Cart of items
FelixC2000 Feb 8, 2023
73bcf72
style css
FelixC2000 Feb 8, 2023
4353426
style
FelixC2000 Feb 8, 2023
b886ad4
changes from the website and functions
FelixC2000 Feb 10, 2023
bc312f7
images updates
FelixC2000 Feb 10, 2023
9bff3ce
adding number in the header
FelixC2000 Feb 10, 2023
336451a
cart items
FelixC2000 Feb 10, 2023
450335a
changes
FelixC2000 Feb 10, 2023
9248751
update cart image items
FelixC2000 Feb 10, 2023
0cf37b2
s
FelixC2000 Feb 10, 2023
8dfb1df
f
FelixC2000 Feb 10, 2023
b7e2dcf
yolo
FelixC2000 Feb 10, 2023
7014a00
no nan
FelixC2000 Feb 10, 2023
cd082ca
saving breadcrumbs
FelixC2000 Feb 11, 2023
977bcc2
saving
FelixC2000 Feb 11, 2023
d00f3fb
update 2
FelixC2000 Feb 11, 2023
39b3626
saving utils for cart items updates
FelixC2000 Feb 11, 2023
8c8da2d
update broswer home
FelixC2000 Feb 11, 2023
9431c21
yolo
FelixC2000 Feb 11, 2023
977603c
saving updates
FelixC2000 Feb 11, 2023
7fd086e
rise shake update
FelixC2000 Feb 11, 2023
3530be0
update baseurl
FelixC2000 Feb 11, 2023
6d72d10
cahnges
FelixC2000 Feb 11, 2023
a4d2e71
update from number cart items
FelixC2000 Feb 11, 2023
196c253
update
FelixC2000 Feb 11, 2023
a8091dd
color update
FelixC2000 Feb 11, 2023
3304cb5
update
FelixC2000 Feb 11, 2023
786a15f
update css
FelixC2000 Feb 13, 2023
d0af103
updates for the webserver
FelixC2000 Feb 13, 2023
ab02cc1
saving updates
FelixC2000 Feb 13, 2023
af69f41
saving updates for checkout
FelixC2000 Feb 13, 2023
075ff55
saving updates
FelixC2000 Feb 13, 2023
14215ce
saving updates
FelixC2000 Feb 13, 2023
a3f8ada
saving checkout update
FelixC2000 Feb 13, 2023
7bbc8da
pdate
FelixC2000 Feb 13, 2023
d2a1eb5
update
FelixC2000 Feb 13, 2023
7634d6d
product list update
FelixC2000 Feb 13, 2023
b8db3ac
update
FelixC2000 Feb 14, 2023
fc0abc8
update externalsrvices url
FelixC2000 Feb 14, 2023
a721a45
updates
FelixC2000 Feb 14, 2023
b43880f
updates
FelixC2000 Feb 14, 2023
198dd13
update index breadcrumbs
FelixC2000 Feb 14, 2023
23ab84c
breadcrumbs
FelixC2000 Feb 14, 2023
2410442
updates
FelixC2000 Feb 15, 2023
d6f2d2b
Breadcrumb update
FelixC2000 Feb 15, 2023
31caeef
update index system
FelixC2000 Feb 15, 2023
f09ae26
style update
FelixC2000 Feb 15, 2023
650be9c
Checkout Update still working in the other parts
FelixC2000 Feb 15, 2023
4553243
update
FelixC2000 Feb 15, 2023
5462b5b
update sort and price of items
FelixC2000 Feb 15, 2023
419bb57
update
FelixC2000 Feb 15, 2023
14f4a1a
numbers
FelixC2000 Feb 15, 2023
3bcbbd9
saving
FelixC2000 Feb 15, 2023
7ece97a
update
FelixC2000 Feb 15, 2023
7a5c32b
save it
FelixC2000 Feb 15, 2023
66eeab1
update numbers
FelixC2000 Feb 15, 2023
8f7a635
cart
FelixC2000 Feb 15, 2023
abe32ea
updating webpages and script fro the webpage
FelixC2000 Feb 16, 2023
1968518
updates
FelixC2000 Feb 16, 2023
aedcc6c
update webpages
FelixC2000 Feb 16, 2023
c77f520
update checkout
FelixC2000 Feb 16, 2023
e44e089
update
FelixC2000 Feb 16, 2023
8ac011b
update
FelixC2000 Feb 16, 2023
832280b
update breadcrumb
FelixC2000 Feb 17, 2023
31a9ba1
update for the number of the cart
FelixC2000 Feb 17, 2023
6c1fa45
some updates
FelixC2000 Feb 17, 2023
3f17ea6
update
FelixC2000 Feb 17, 2023
d4c6dea
update
FelixC2000 Feb 17, 2023
54a1656
update checkout
FelixC2000 Feb 17, 2023
9231170
cart save
FelixC2000 Feb 17, 2023
537a94b
update
FelixC2000 Feb 17, 2023
76e3322
shopping changes
FelixC2000 Feb 17, 2023
3b745d9
a
FelixC2000 Feb 17, 2023
230dc8c
update
FelixC2000 Feb 17, 2023
99866c1
update
FelixC2000 Feb 17, 2023
75543e9
updates
FelixC2000 Feb 17, 2023
fc850ca
s
FelixC2000 Feb 17, 2023
961e807
update
FelixC2000 Feb 17, 2023
5a0dd52
updates
FelixC2000 Feb 17, 2023
9d058b6
update
FelixC2000 Feb 17, 2023
064979a
update
FelixC2000 Feb 17, 2023
3376675
utils
FelixC2000 Feb 17, 2023
05c1a4c
update 3
FelixC2000 Feb 17, 2023
8b0c0cf
update
FelixC2000 Feb 17, 2023
98d5d67
update
FelixC2000 Feb 17, 2023
c49253c
save
FelixC2000 Feb 17, 2023
3b4d72e
k
FelixC2000 Feb 17, 2023
6701918
change it
FelixC2000 Feb 17, 2023
56661a0
changes it
FelixC2000 Feb 17, 2023
3ef5b66
update
FelixC2000 Feb 17, 2023
e555bfa
update cart page
FelixC2000 Feb 17, 2023
203d8ec
save changes
FelixC2000 Feb 17, 2023
140aacb
Alert for website
FelixC2000 Feb 17, 2023
599f8df
saving
FelixC2000 Feb 17, 2023
aa072bb
making some changes and updates for the website
FelixC2000 Feb 17, 2023
1baacd1
saving
FelixC2000 Feb 17, 2023
753b4c9
saving
FelixC2000 Feb 17, 2023
8d50695
saving shopping js
FelixC2000 Feb 17, 2023
1a2a032
s
FelixC2000 Feb 17, 2023
847b064
saving process
FelixC2000 Feb 17, 2023
833d5b3
saving
FelixC2000 Feb 17, 2023
6eaabd8
updating scripts for the website
FelixC2000 Feb 17, 2023
e132aed
updating javascripts
FelixC2000 Feb 17, 2023
b244129
updating number for items
FelixC2000 Feb 17, 2023
a9eb03d
update main
FelixC2000 Feb 18, 2023
2663031
update main
FelixC2000 Feb 18, 2023
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
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}
],
"no-console": 1,
"quotes": ["error", "single", { "allowTemplateLiterals": true }],
"quotes": ["error", "double", { "allowTemplateLiterals": true }],
"func-names": 0,
"space-unary-ops": 2,
"space-in-parens": "error",
Expand Down
1 change: 1 addition & 0 deletions FelixGuzman.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Felix Guzman
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"build": "vite build --emptyOutDir",
"lint": "eslint *.js src/**/*.js",
"format": "prettier --ignore-path ./.gitignore --write \"./**/*.{html,json,js,ts,css}\"",
"test": "jest"

"test": "jest",
"preview": "vite preview"
},
"author": "Shane Thompson",
"license": "ISC",
Expand Down
85 changes: 13 additions & 72 deletions src/cart/index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Expand All @@ -13,76 +11,19 @@
<link rel="stylesheet" href="/css/style.css" />

<script src="../js/cart.js" type="module"></script>

<script src="../js/deleteButtonCart.js" type="module"></script>
</head>

<body>

<header class="divider">

<div class="logo">

<img src="/images/noun_Tent_2517.svg" alt="tent image for logo" />

<a href="../index.html">
Sleep
<span class="highlight">Outside</span>

</a>

</div>

<div class="cart">

<a href="../cart/index.html">

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">

<path
d="M18.9 32.6c1.1 2.4 2.5 3.3 5.4 3.3 1.6 0 3.6-0.3 5.9-0.6 3.2-0.5 6.9-1 11.2-1 2.1 0 4.3 0.1 6.4 0.3 2.1 0.1 4.2 0.3 6.1 0.3 3.2 0 5.2-0.4 5.9-1.2 2.7-2.7 2.8-8.8 2.9-14.6 0.1-6.7 0.2-14.5 4.6-18.7 -0.5 0-1 0-1.6 0 -14.2 0-37.5 0-41.1 0C15.6 6.2 14.9 23.6 18.9 32.6z"
/>

<path
d="M90.1 29.7c1-3.3 1.5-7.3 1.5-11.2 0-9-2.7-18.8-8.6-18.8 -0.1 0-0.2 0-0.3 0L77.8-0.1c-0.3 0.2-0.8 0.3-1.1 0.4 0 0 0 0 0 0 -0.2 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.8-1.3 0.6-7.7-0.4-14.4C30.7 70.1 27.5 70.8 24.7 71z"
/>

<path
d="M58.8 68.9c2.9-0.1 6.4-0.9 8.3-1.4 0.1-0.8 0.3-2.8-0.7-3.5 -0.5-0.2-2.5-0.4-5.9-0.4 -4.9 0-8.6 0.4-9.5 0.7 -0.3 0.5-0.5 1.9-0.5 3.3C52.5 68.1 56 69 58.8 68.9z"
/>

<path
d="M24.3 68.4c2.9-0.1 6.4-0.9 8.3-1.4 0.1-0.8 0.3-2.8-0.7-3.5 -0.5-0.2-2.5-0.4-5.9-0.4 -4.9 0-8.6 0.4-9.5 0.7 -0.3 0.5-0.5 1.9-0.5 3.3C18 67.7 21.5 68.6 24.3 68.4z"
/>

<path
d="M60.1 71.4v3.3h-5.2v-3.4c-1.7-0.3-3.3-0.7-4.6-1 -0.9 6.8-1.1 13.3-0.3 14.5 0.4 0.3 2.9 1.1 8 1.1h0c5 0 8.8-0.7 9.7-1.3 0.8-1.3 0.6-7.7-0.4-14.4C65.5 70.5 62.7 71.1 60.1 71.4z"
/>

<!-- <text x="0" y="115" fill="#000000" font-size="5px" font-weight="bold" font-family="'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif">Created by Natalia Woodroffe</text>
<text x="0" y="120" fill="#000000" font-size="5px" font-weight="bold" font-family="'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif">from the Noun Project</text> -->

</svg>

</a>

</div>

<header class="divider" id="main-header">
<span class="numberCartItems"></span>
</header>

<main class="divider">

<h2 class="myCartTitle">My Cart</h2>
<section class="products">

<h2>My Cart</h2>

<ul class="product-list">

<!-- <li class="cart-card divider">
<a href="product_pages/marmot-ajax-3.html" class="cart-card__image">
<a href="product_pages/index.html?product=880RR" class="cart-card__image">
<img
src="images/tents/marmot-ajax-tent-3-person-3-season-in-pale-pumpkin-terracotta~p~880rr_01~320.jpg"
alt="Marmot Ajax tent"
Expand Down Expand Up @@ -110,17 +51,17 @@ <h2 class="card__name">
<p class="cart-card__color">Golden Oak/Saffron Yellow</p>
<p class="cart-card__quantity">qty: 1</p>
<p class="cart-card__price">$199.99</p>
</li> -->

</li> -->
</ul>

</section>

<div class="cart-footer hide"><p class="cart-total">Total:</p></div>
<div>
<button class="checkout-btn">
<a href="../checkout/index.html"> Checkout</a>
</button>
</div>
</main>

<footer>&copy;NOT a real business</footer>

<footer id="main-footer"></footer>
</body>

</html>

147 changes: 63 additions & 84 deletions src/checkout/index.html
Original file line number Diff line number Diff line change
@@ -1,88 +1,67 @@
<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>Sleep Outside | Checkout</title>

<link rel="stylesheet" href="css/style.css" />

</head>

<body>

<header class="divider">

<div class="logo">

<img src="images/noun_Tent_2517.svg" alt="tent image for logo" />

<a href="index.html">
Sleep
<span class="highlight">Outside</span>
</a>

</div>

<div class="cart">

<a href="cart/">

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">

<path
d="M18.9 32.6c1.1 2.4 2.5 3.3 5.4 3.3 1.6 0 3.6-0.3 5.9-0.6 3.2-0.5 6.9-1 11.2-1 2.1 0 4.3 0.1 6.4 0.3 2.1 0.1 4.2 0.3 6.1 0.3 3.2 0 5.2-0.4 5.9-1.2 2.7-2.7 2.8-8.8 2.9-14.6 0.1-6.7 0.2-14.5 4.6-18.7 -0.5 0-1 0-1.6 0 -14.2 0-37.5 0-41.1 0C15.6 6.2 14.9 23.6 18.9 32.6z"
/>

<path
d="M90.1 29.7c1-3.3 1.5-7.3 1.5-11.2 0-9-2.7-18.8-8.6-18.8 -0.1 0-0.2 0-0.3 0L77.8-0.1c-0.3 0.2-0.8 0.3-1.1 0.4 0 0 0 0 0 0 -0.2 0-0.3 0-0.4 0 -4.5 0.1-7 1.8-8.4 4.9l8.9-0.1c-1.6 3.6-2.4 8.7-2.4 13.5 0 4.9 0.8 9.9 2.5 13.6l-12.3 0c-0.2 0.4-0.4 0.8-0.6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2-2.5-0.4-5.9-0.4 -4.9 0-8.6 0.4-9.5 0.7 -0.3 0.5-0.5 1.9-0.5 3.3C52.5 68.1 56 69 58.8 68.9z"
/>

<path
d="M24.3 68.4c2.9-0.1 6.4-0.9 8.3-1.4 0.1-0.8 0.3-2.8-0.7-3.5 -0.5-0.2-2.5-0.4-5.9-0.4 -4.9 0-8.6 0.4-9.5 0.7 -0.3 0.5-0.5 1.9-0.5 3.3C18 67.7 21.5 68.6 24.3 68.4z"
/>

<path
d="M60.1 71.4v3.3h-5.2v-3.4c-1.7-0.3-3.3-0.7-4.6-1 -0.9 6.8-1.1 13.3-0.3 14.5 0.4 0.3 2.9 1.1 8 1.1h0c5 0 8.8-0.7 9.7-1.3 0.8-1.3 0.6-7.7-0.4-14.4C65.5 70.5 62.7 71.1 60.1 71.4z"
/>

<!-- <text x="0" y="115" fill="#000000" font-size="5px" font-weight="bold" font-family="'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif">Created by Natalia Woodroffe</text>
<text x="0" y="120" fill="#000000" font-size="5px" font-weight="bold" font-family="'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif">from the Noun Project</text> -->

</svg>

</a>

</div>

</header>

<main class="divider">

<section class="products">

<h2>Review & Place your Order</h2>

</section>

</main>

<footer>&copy;NOT a real business</footer>

</body>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sleep Outside | Cedar Ridge Rimrock 2-person tent</title>
<link rel="stylesheet" href="../css/style.css" />
<script src="../js/checkout.js" type="module"></script>
</head>

<body>
<div>
<h1>Review &amp; Place your Order</h1>
<form name="checkout">
<fieldset>
<legend>Shipping</legend>
<label for="fname">First Name:</label>
<input type="text" id="fname" name="fname" value="John" required>
<br>
<label for="lname">Last Name:</label>
<input type="text" id="lname" name="lname" value="Doe" required>
<br>
<label for="street">Street:</label>
<input type="text" id="street" name="street" value="123 Main" required>
<br>
<label for="city">City:</label>
<input type="text" id="city" name="city" value="Rexburg" required>
<br>
<label for="state">State:</label>
<input type="text" id="state" name="state" value="ID" required>
<br>
<label for="zip">Zip:</label>
<input type="text" id="zip" name="zip" value="83440" required>
<br>
</fieldset>
<br>
<fieldset>
<legend>Payment Information</legend>
<label for="cardNumber">Credit Card Number:</label>
<input type="text" id="cardNumber" name="cardNumber" value="1234123412341234" required>
<br>
<label for="expiration">Expiration Date:</label>
<input type="text" id="expiration" name="expiration" value="8/21" required>
<br>
<label for="code">Security Code:</label>
<input type="text" id="code" name="code" value="123" required>
<br>
</fieldset>

<fieldset class="checkout-summary">
<legend>Order Summary</legend>
<label for="cartTotal">Item Subtotal(<span id="num-items"></span>)</label>
<p name="cartTotal" id="cartTotal"></p>
<label for="shipping">Shipping Estimate</label>
<p id="shipping"></p>
<label for="tax">Tax</label>
<p id="tax"></p>
<label for="orderTotal"><b>Order Total</b></label>
<p id="orderTotal"></p>
</fieldset>
<br>
<button id="checkoutSubmit" type="submit">Submit Order</button>
</form>
</div>
</body>

</html>

Loading