@Miculino
Posted
Well done on building out this design, Gabriel!
Even though you shouldn't stress yourself too much about pixel perfection, your solution looks near pixel-perfect compared to the original design.
On the larger screens, there seems to be a little scaling issue with the dark blue card. https://prnt.sc/24bssig
In the screenshot, you can see that it doesn't fully cover the corners and a bit of the card's color can be seen.
Also, in your Javascript code, you could separate that entire template literal for the section and store it into another section and just pass the data as function arguments.
Marked as helpful
@GabrielFMPinheiro
Posted
@Remus432 Firstly, Thank you Remus! =)
"In the screenshot, you can see that it doesn't fully cover the corners and a bit of the card's color can be seen."
I saw that. Do you have some idea to fully cover? I didn't understand why this was hapenning;
"Also, in your Javascript code, you could separate that entire template literal for the section and store it into another section and just pass the data as function arguments."
Here, are you saying to use the destructuring?