Hello, I’d love to want an assessment for the following task: https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/rwd_skills , and here is my work https://codepen.io/daisymzh/pen/GRQzPzr .
Also, here is one question. In my code, I make main as a flexbox, but when I tried to give article a size, it didn’t work, and I can’t figure out the reason. Would using a grid here be better?
Thanks in advance
Hi @daisymzh95
Great job!
Yes, I think grid would be better. Something like this:
main {
display: grid;
grid-template-columns: 3fr 1fr;
}
Also, instead of using flex: 3;
on the title, it would feel more natural to me to use justify-content: space-between;
on the header
.
I hope that helps.
Michael
2 Likes