Here’s the assessment, my code and a live example.
Any advice is always welcome.
Here’s the assessment, my code and a live example.
Any advice is always welcome.
Congrats! Well done!
I see you also tinkered with the z-index
in task 1.
Since the element is already at the top you could also simply use position: fixed;
without the other properties. We only see the special behavior of sticky
when the element is further down and will stick to the top while scrolling by.
Cheers,
Michael
Thank you @mikoMK, I’ll be updating my code as soon as possible!