I would appreciate if I could have an assessment of my work on fundamental css layout test.
I have two questions:
To distribute nav menu evenly, instead of justify-content: space-between, how about this?
nav ul {
display: flex;
}
nav ul li {
flex: 1;
text-align: center;
}
In the approach above, in order to centre each navigation menu’s text, I added a rule nav ul li { text-align: center; }
because I realised that there was a user agent style rule li {text-align: -weblit-match-parent}.
Was my solution correct? Is there a better way to do this?
I somehow didn’t realise the ratio of article and aside, but now I see it!
Also I agree I could have just done centring nav menu by justify-content: space-around.