@correlucas
Posted
Hello Marta, welcome to the frontend mentor community!
Answering your question about the sizes, the sizes 1440px and 375 are just a reference to know in which dimensions the design were created. You can follow this but not stick these numbers since your solution will be open in multiple screens. A value you should follow is the container size, for example, this container has around max-width: 900px
.
To do this challenge I choose GRID, here's my approach to build this component with 2 columns
All you need to do is create a main block to hold all the content (you can use <main>
to wrap), set its width
as max-width: 900px
(it's the container size) and display: grid
/ grid-template-column: 1fr 1fr
(this means that your component will have two columns with 50% of the container width each thats 450px).
Hope it helps and I want to see your next challenges.
Marked as helpful