0

Productlist app

Iam building a productlist web app which allow users to insert products with name and price..etc..I made all of it but the problem is when the user add prodcut for first time it is added to a div normally but if he tries to add another product it overwrites the previous product..i want method allows user to add products as he want ...u can help in javascript or php Note: i made a page for user to insert the data of the product like name and price and a page to display the products. here is the link: https://code.sololearn.com/WWwYPgeQwUdS/#

14th Oct 2021, 2:16 AM
Ahmed Usama Mahmoud Nasr
Ahmed Usama Mahmoud Nasr - avatar
1 Odpowiedź
+ 1
Add code please so we can see exacly what is wrong. But this sound familiar to me, you probably set on code to change inner value of some elements but for this one you have to create new elements each time user add product. Cant know for sure, because you didnt add code
14th Oct 2021, 8:11 AM
PanicS
PanicS - avatar