Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
HTML
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="main.css" />
<script src="script.js"></script>
</head>
<body>
<div class="container">
<div class="topnav">
<img src="img/logo.png" alt="" class="main-nav__logo" />
<div id="myLinks">
<a href="#about">Home</a>
<a href="#about">Services</a>
<a href="#news">News</a>
<a href="#contact">Contact</a>
<a href="#about">About</a>
</div>
<a href="javascript:void(0);" class="icon icon2" onclick="myFunction()">
<i class="fa fa-bars"></i>
</a>
</div>
<div style="padding-left: 16px"></div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment