👨💻 Professional problem solver - 🎧 Music lover
Hello! Thanks for checking out my profile.
If you haven't yet, make sure to also follow me on my other social media! ⬇️
I was basically trying to fetch the product data from fakestore.api and then add an event listener to a button to change the order shown based on the price. Originally when i had the object data inside my code i could just store the original array somewhere and then change the order of the products by adding: 'contain.style.flexFlow = "row-reverse wrap-reverse";' Now it seems much more complicated when im fetching the data
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey! Welcome to Dev.to
Would you like to elaborate a bit more on what you've learned and the problems you've ran into? Someone else might be able to learn from it too!
Best of luck
I was basically trying to fetch the product data from fakestore.api and then add an event listener to a button to change the order shown based on the price. Originally when i had the object data inside my code i could just store the original array somewhere and then change the order of the products by adding: 'contain.style.flexFlow = "row-reverse wrap-reverse";' Now it seems much more complicated when im fetching the data