My GitHub Repo and a live example.
I created a basic navigation menu, I know it’s not the best but it works.
Any advice is always welcome .
My GitHub Repo and a live example.
I created a basic navigation menu, I know it’s not the best but it works.
Any advice is always welcome .
Hello @salvadorperezm
Nice idea with the nav menu. Simple and functional
My comments:
border
should be 1px solid grey;
, but the browsers still understand your order).container
doesn’t have text itself. The correct selector would be: .container p:first-child::first-line
list-style-type: none;
to the last selector and remove .list {}
)Great work on this tasks!
All the best,
Michael
Thank you Michael.
I’ve already updated my code, you can check it out right here.
Great job on the improvements!
One small thing to bear in mind: ::first-line
is a pseudo-element and should therefore have two colons at the start. The version with one colon is still supported by browsers but nowadays one-colon-properties are only used for pseudo-classes (e.g. :first-child, :hover, etc.)
Cheers,
Michael
My mistake, I’m sorry.
The code is now fully updated.
No reason to be sorry We are here to learn
Now it’s perfect!