Help! I can't get the links in the beginning (navigation class) to not be default underlined blue. | Sololearn: Learn to code for FREE!
+ 2

Help! I can't get the links in the beginning (navigation class) to not be default underlined blue.

https://sololearn.com/compiler-playground/WBX30zubfD9w/?ref=app

1st Jul 2024, 3:35 AM
Manuel Azancot de Menezes
Manuel Azancot de Menezes - avatar
2 Answers
+ 4
in your css you missed the closing bracket in your .header style .header{ ... } <--- this is missing also, color is usually written in lower case, so it's white, not White. .navigation a { color: white; text-decoration: none; } finally, I would avoid using .header as a class name. It's an html tagname and the possibility of having header{...} .header{...} as distinct from one another would be confusing.
1st Jul 2024, 4:29 AM
Bob_Li
Bob_Li - avatar
+ 3
Bob_Li THANK YOU SO MUCH. I can't believe it was just that. But at the same time I'm glad it was just that. I even tried chatGPT and it didn't realize that. And thank you for the extra tips about the lower case color, and the .header thingy. I'll keep going now đŸ€ȘđŸ”„đŸ™
1st Jul 2024, 12:07 PM
Manuel Azancot de Menezes
Manuel Azancot de Menezes - avatar