-
product title
-Price: $ product price
-Rating: product rating rate/5
-Description: product.description
+{title}
+Price: $ {price}
+Rating: {rating.rate}/5
+Description: {description}
diff --git a/src/App.js b/src/App.js index c6e5940..a6d8bc1 100644 --- a/src/App.js +++ b/src/App.js @@ -87,7 +87,7 @@ const App = () => { return (
Price: $ product price
-Rating: product rating rate/5
-Description: product.description
+Price: $ {price}
+Rating: {rating.rate}/5
+Description: {description}