Remove List Bullets

Remove List Bullets

Easy CSS Box Model & Sizing 30 views
Explanation Complexity

Problem Statement

Remove bullets and padding from a nav list.

Input Format

No input.

Output Format

Print the HTML+CSS code in one block.

Constraints

Use list-style: none and padding: 0.

Input / Output Format

Input Format
No input.
Output Format
Print the HTML+CSS code in one block.
Constraints
Use list-style: none and padding: 0.

Examples

Input:
Output:
(HTML+CSS code)

Example Solution (Public)

CSS
<!doctype html>
<html lang='en'>
<head>
  <meta charset='utf-8'>
  <meta name='viewport' content='width=device-width, initial-scale=1'>
  <title>meetcode</title>
  <style>
    ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 12px; }
    a { text-decoration: none; color: #124; }
  </style>
</head>
<body>
  <nav>
    <ul>
      <li><a href='#'>Home</a></li>
      <li><a href='#'>Topics</a></li>
      <li><a href='#'>Profile</a></li>
    </ul>
  </nav>
</body>
</html>

Official Solution Code

<!doctype html>
<html lang='en'>
<head>
  <meta charset='utf-8'>
  <meta name='viewport' content='width=device-width, initial-scale=1'>
  <title>meetcode</title>
  <style>
    ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 12px; }
    a { text-decoration: none; color: #124; }
  </style>
</head>
<body>
  <nav>
    <ul>
      <li><a href='#'>Home</a></li>
      <li><a href='#'>Topics</a></li>
      <li><a href='#'>Profile</a></li>
    </ul>
  </nav>
</body>
</html>
Please login to submit solutions.
Editor
Output

                                        
Please login to submit solutions.