Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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>