diff --git a/catalog.html b/catalog.html index 86e2a89..1e1f163 100644 --- a/catalog.html +++ b/catalog.html @@ -78,12 +78,12 @@
-
-
-

- +
+
+

+

@@ -98,6 +98,23 @@
+
+ + +
+
+ + +
@@ -130,7 +147,6 @@

Stone Island

super idol rovny pacan, groza rayona, mother's modnik, патч на месте

-
Category:
@@ -348,9 +364,15 @@ e.preventDefault(); const name = document.getElementById("productName").value; const price = document.getElementById("productPrice").value; + const category = document.getElementById("productCategory").value; + const condition = document.getElementById("productCondition").value; const description = document.getElementById("productDescription").value; const image = document.getElementById("productImage").value; + // Получаем текстовые значения для отображения + const categoryText = document.getElementById("productCategory").options[document.getElementById("productCategory").selectedIndex].text; + const conditionText = document.getElementById("productCondition").options[document.getElementById("productCondition").selectedIndex].text; + const productCard = `
@@ -358,6 +380,16 @@
${name}

${description}

+
+
+
Category:
+

${categoryText}

+
+
+
Condition:
+

${conditionText}

+
+