Design comparison
Solution retrospective
I'm most proud of the following:
-
Continuing to use these projects to implement and practice typescript fundamentals, and it worked well with my react components.
-
I used CSS Grid for the first time with this project. and I feel like it worked well on both small and large screens.
I was struggling to use CSS grid because I didn't understand rows. I also struggled with positioning two of the card elements. I wasn't sure if I was missing some grid trick that would move the cards I wanted to where I wanted them to be.
Ultimately, I decided to use relative position to make the elements move the way I wanted them to move. If anyone with more experience than me sees this, please let me know if there is a way I could have moved the items without using postion.
What specific areas of your project would you like help with?For now, it would using Grid to correctly position items that aren't available to be moved due to the tracks or grid lines.
Community feedback
- @MikDra1Posted 3 months ago
Nice one 😀
If you are curious how you can do this straight lines on the top of each card here is my tip:
Create another element in each of the cards. Then position this element absolute. Card should be positioned relative. At the end you need to give this element a height of 3px width of 100% and top 0 and left 0. You can also use ::after or ::before pseudo elements to create these.
Hope you found this comment helpful 💗
Good job and keep going 😁😊😉
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord