-
-
Save codecademydev/f7a1c7d1b8fecbfc9ce96be3c418b982 to your computer and use it in GitHub Desktop.
Codecademy export
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>The Tea Cozy</title> | |
<link rel="stylesheet" href="style.css" type="text/css" /> | |
</head> | |
<body> | |
<!--Logo and Navigation--> | |
<div class="header"> | |
<h1> | |
<img src="img-tea-cozy-logo.webp" alt="Tea Cozy Logo"> | |
</h1> | |
<nav> | |
<a href="#mission">Mission</a> | |
<a href="#featured tea">Featured Tea</a> | |
<a href="#locations">Locations</a> | |
</nav> | |
</div> | |
<!--End of Header--> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body{ | |
font-family: Helvetica; | |
font-size: 22px; | |
color: seashell; | |
background-color: black; | |
opacity: 0.9; | |
margin: auto; | |
text-align: center; | |
display: flex; | |
} | |
header{ | |
display: inline-flex; | |
border-bottom: 1px solid seashell; | |
position: fixed; | |
height: 69px; | |
margin-left: auto; | |
margin-right: auto; | |
padding: 10px; | |
justify-content: space-between; | |
} | |
header img{ | |
display: flex-start; | |
height: 50px; | |
margin: 0px auto; | |
} | |
header nav{ | |
display: flex-end; | |
} | |
header a{ | |
text-decoration: underline; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment