R201m_-_FA_2024_-_PE_2897.webp
plum_blossom1

R201m_-_FA_2024_-_PE_2897.webp

Zoom
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,Haircare and Respiration.
3. (1.0 mark) At Management route implement the delete action.
With delete function, you must confirm before implementing. After deleting successful, showing a
notice (modal, alert, toast...) and the list of products will render the new list.
4. (1.5 marks) Implement the update action (the URL of route must be '/edit'). With the update function,the same validation requirements as the add function.
-The end of test-

Close
+ 100%
Chưa có bình luận nào.

Thông tin

Category
FER201m
Thêm bởi
plum_blossom1
Ngày thêm
Lượt xem
399
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
R201m_-_FA_2024_-_PE_2897.webp
File size
194.5 KB
Dimensions
1920px x 803px

Share this media

Back
Bên trên Bottom