scrimba
Build Components in HTML, CSS & JS
Personalized Navbar - The CSS 🎨
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Personalized Navbar - The CSS 🎨
AboutCommentsNotes
Personalized Navbar - The CSS 🎨
Expand for more info
index.html
run
preview
console
<!DOCTYPE html>
<html lang="en">
<head>
<link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Component 1 - Personalized Navbar</title>
</head>
<body>

<nav class="navbar">
<a class="link link-name" href="#">Welcome, </a>
<a class="link" href="#">Dashboard</a>
<a class="link" href="#">Home</a>
</nav>

<div class="name-input-container">
<label for="name-input">Name: </label>
<input type="text" name="name-input" class="name-input">
</div>
<script type="text/javascript" src="index.js"></script>
</body>
</html>
Console
/index.html
-5:29