Lucas ๐พโข 104,420
@correlucas
Posted
๐พHello Julliafren, congratulations for your solution!
๐ต๏ธI've inspected your code and there are some issues with the component, to create this component correctly with grid is better you use display: grid;
and manage the columns with grid-template-column: 1fr 1fr;
doing that you'll have more control over the child elements (the columns). See the code below:
.container {
max-width: 900px;
grid-template-columns: 1fr 1fr;
display: grid;
align-items: center;
justify-content: center;
flex-direction: row;
}
Hope it helps and happy coding!
0