3. (1 marks) At Detail route, display all the information of product: productName, image, price (for-matting to #,### vnd), limitTimeDeal (showing the percent value not a decimal value), category,cover, nation, packaging and isGift value (reference: styling as a ribbon gift card for true value).Design and arrange this component as good as possible.
Task 3.
1. (1.0 mark) At Management route (the URL must be '/private'), it displays the list of products by table.Each row must contain the links or icons for CRUD actions. Automate sort products descending by id property.
2. (1.5 marks) Create an Add route (the URL must be '/add') with the requirements:
✓ Create a form and validate all data.
✓ All fields are required.
✓ productName must more than 1 words, uppercase.
✓ image must be a URL.
✓isGift is a tongle or switch control.
✓ packaging is a option group or radio button (Box and Tube)
✔limitTimeDeal is number (min = 0, max = 1).
cover is a number that larger than 10.
category is a select control which contains 4 values: Cholesterol, Varicose veins, Skincare,
Close
+ 100%
Zoom