Navigation element working not as expected

Hello, so I was playing with those elements. I did it but the elements arent sending me to the

elements, as I expected. It sends me to the next section.
What mistakes do I have?
Hope that u get the screenshot, I could only upload one file.

Welcome to the forum @butinskijo

Try commenting out all the padding and margin properties for debugging.

Happy coding

I am knew to this, been studying css and html for the past 48 hours so I might not be correct. However, I think your issue might be caused because:

line 15 of .css file should look like " nav, ul { " instead of " nav > ul { "
Same applies to line 25.
From what I have learned, we need a comma “,” after the first selector if targeting multiple selectors.

Also I do not see a body element inside your html file, seems like you went straight to the main element after your head element.

I re-read your question and I am having a difficult time understanding it clearly. Maybe you are referring to your nav item links not working? In that case it would be worth to remember that the “a” elements attribute which is href must include an actual path whether its absolute or relative.