diff --git a/Kavya/.vscode/settings.json b/Kavya/.vscode/settings.json new file mode 100644 index 0000000..4c7ff40 --- /dev/null +++ b/Kavya/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "liveServer.settings.port": 5502 +} diff --git a/Kavya/asset/arrow.svg b/Kavya/asset/arrow.svg new file mode 100644 index 0000000..afe0ebe --- /dev/null +++ b/Kavya/asset/arrow.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Kavya/asset/download.svg b/Kavya/asset/download.svg new file mode 100644 index 0000000..a81ca07 --- /dev/null +++ b/Kavya/asset/download.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Kavya/asset/halfstar.svg b/Kavya/asset/halfstar.svg new file mode 100644 index 0000000..1c1100c --- /dev/null +++ b/Kavya/asset/halfstar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Kavya/asset/star.svg b/Kavya/asset/star.svg new file mode 100644 index 0000000..dff7b4f --- /dev/null +++ b/Kavya/asset/star.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Kavya/asset/svgexport-7.svg b/Kavya/asset/svgexport-7.svg new file mode 100644 index 0000000..18c30a2 --- /dev/null +++ b/Kavya/asset/svgexport-7.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Kavya/calculatePrice.js b/Kavya/calculatePrice.js new file mode 100644 index 0000000..c6c287d --- /dev/null +++ b/Kavya/calculatePrice.js @@ -0,0 +1,4 @@ +export function calculatePrice(actualPrice, discount) { + const currentPrice = actualPrice * ((100 - discount) / 100); + return Math.floor(currentPrice).toLocaleString(); +} diff --git a/Kavya/fetchFunction.js b/Kavya/fetchFunction.js new file mode 100644 index 0000000..7b28af0 --- /dev/null +++ b/Kavya/fetchFunction.js @@ -0,0 +1,5 @@ +export function getData() { + return fetch( + "https://raw.githubusercontent.com/kavyaks11/Training-Oct/main/etsy/object.json" + ).then((response) => response.json()); +} diff --git a/Kavya/font/Graphik-Medium-Web.woff2 b/Kavya/font/Graphik-Medium-Web.woff2 new file mode 100644 index 0000000..895f66d Binary files /dev/null and b/Kavya/font/Graphik-Medium-Web.woff2 differ diff --git a/Kavya/font/Graphik-Regular-Web.woff2 b/Kavya/font/Graphik-Regular-Web.woff2 new file mode 100644 index 0000000..bc3cbe6 Binary files /dev/null and b/Kavya/font/Graphik-Regular-Web.woff2 differ diff --git a/Kavya/font/Guardian-EgypTT-Light.woff2 b/Kavya/font/Guardian-EgypTT-Light.woff2 new file mode 100644 index 0000000..2441a68 Binary files /dev/null and b/Kavya/font/Guardian-EgypTT-Light.woff2 differ diff --git a/Kavya/index.html b/Kavya/index.html new file mode 100644 index 0000000..ce48c33 --- /dev/null +++ b/Kavya/index.html @@ -0,0 +1,478 @@ + + +
+ + + + + + +${text}
++ (${starno.toLocaleString()}) +
+Add to Heart: Explore extraordinary ways—from extraordinary local sellers—to express your love
+Curated collections hand-picked by Etsy editors
+${text}
+${text} + Here are some of the ways we're making a positive impact,together. +
+${text}
+{item.text}
+{item.text}
++ {item.text} + + Here are some of the ways we're making a positive + impact,together. + +
+{item.text}
+
+
Etsy is powered by 100% renewable electricity.
++ Etsy’s 100% renewable electricity commitment includes the + electricity used by the data centres that host Etsy.com, the Sell on + Etsy app, and the Etsy app, as well as the electricity that powers + Etsy’s global offices and employees working remotely from home in + the US. +
+Curated collections hand-picked by Etsy editors
+{item.text}
++ Yes! Send me exclusive offers, unique gift ideas, and + personalised tips for shopping and selling on Etsy. +
++ Add to Heart: Explore extraordinary ways—from extraordinary + local sellers—to express your love +
+
+
+ Cart
+ +My Profile
+ +Flipkart Plus Zone
+ +Orders
+ +Whishlist
+ +Rewards
+ +Gift Cards
+ +Notification Preferences
+ +24x7 Customer Care
+ +Advertise
+ +Download App
+ +
+ Shop for a cool summer
+ +