Learn to Code via Tutorials on Repl.it!

← Back to all posts
A nice navbar tutorial
h
brokentoken

How to make a navbar

Lets get started

Put this code in your header tags

Then create a body tag. but add style to it and replace green with any color

<body style="--color: var(--green)">

Then create a '<nav>' tag
then put link with <a href="#"> tag

Finished code:

Cheers!

More information at https://freshclass.netlify.app

Voters
brokentoken
Comments
hotnewtop
Bookie0

Add syntax highlighting to your code blcoks by adding html after the 3 backslashes (`):

:D

brokentoken

thanks i will add that in @Bookie0

Bookie0

np! :D @brokentoken

Rajamasker

wooowww, its good