Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML How to Make a Website CSS: Cascading Style Sheets What is CSS?

Goran Penov
Goran Penov
1,635 Points

Bullet points still on.

At the end of the section, I still have my bullet points from the unordered list. Is this default style from the browser or am I something missing?

Goran Penov
Goran Penov
1,635 Points

<style> nav a { color: white; background-color: orange; } </style> </head> <body> <header> <a href="index.html"> <h1>Goran Penov</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href="about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav>

1 Answer

Julian Gutierrez
Julian Gutierrez
19,201 Points

Goran Penov you are correct that this is default browser behavior, to use bullets. The code you pasted in is missing its opening style tag and in order to get rid of bullet points you need to utilize list-style:none

<style>
  nav a {
      color: white;
      background-color: orange;
  }
  nav ul{
    list-style:none;
  }
</style>