Menu
Coddy logo textTech

Nav

Lesson 9 of 19 in Coddy's Netflix Sign-in Page Clone | Front-end project course.

challenge icon

Challenge

Easy

Target nav:

  1. Set the position to be fixed.
  2. Set padding to 25 pixels from top and bottom and 30 pixels from right and left.

Target the image in the nav and set its width to 75px and add display: block;

Try it yourself

<!DOCTYPE html>
<html>
<head>
    <link rel="stylesheet" href="styles.css">
</head>
    <body>
        <!-- Write HTML code here -->
        <script src="script.js"></script>
    </body>
</html>

All lessons in Netflix Sign-in Page Clone | Front-end project