@mako542b
Posted
Hi. I noticed one small bug prone line in the code - when assigning id's to the link elements, it depends on the length of array with links, but if you delete some older link and then add new one, the last two elements have the same id - it's bad for react rendering (as id's are used as keys) and also if one is deleted, both disappears. In my solution i used the 'code' coming with the api response - i assume it's unique.
Regarding the layout - it looks great for the dimension key dimensions for mobile and desktop, but between there are some elements overlaping, so it could need some some breakpoints
Marked as helpful
Hi @mako542b, thanks for the feedback! You are absolutely right regarding the ID issue, I changed the id property to accept the 'code' from the API response (as you suggested). as for the layout, I tried to make it as close as possible to the given design, but I suppose there is room for improvement for different widths.