Greetings! As a novice in the world of web development, I must admit that I am facing some difficulties with my homework assignment. Despite my several attempts, I am unable to remove the spacing in the navbar on my university website clone project. It simply doesn't look pleasing to the eye.
I have come across outdated posts suggesting the use of negative margin for this issue, but I believe there must be a more modern and efficient solution available.
If you would like to take a closer look at my code, it is available on Codepen: https://codepen.io/pr1232/pen/MWJPooq
Currently, I have set a background color for the links, intending for it to completely fill the height of the navbar without any gaps between adjacent links. The color is merely for visual purposes at the moment. Although I attempted to achieve the same result using padding, I found myself hardcoding values which seemed impractical.