Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
fbastos231 authored May 24, 2024
1 parent 7e735cc commit 379a7ee
Showing 1 changed file with 87 additions and 0 deletions.
87 changes: 87 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Basic Website</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
header {
background-color: #333;
color: #fff;
padding: 1em 0;
text-align: center;
}
nav {
margin: 0;
padding: 0;
background-color: #444;
}
nav ul {
list-style: none;
margin: 0;
padding: 0;
overflow: hidden;
}
nav ul li {
float: left;
}
nav ul li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
nav ul li a:hover {
background-color: #111;
}
main {
padding: 1em;
}
footer {
background-color: #333;
color: white;
text-align: center;
padding: 1em 0;
position: absolute;
width: 100%;
bottom: 0;
}
</style>
</head>
<body>
<header>
<h1>Welcome to My Basic Website</h1>
</header>
<nav>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
<main>
<section id="home">
<h2>Home</h2>
<p>This is the home section of the website.</p>
</section>
<section id="about">
<h2>About</h2>
<p>This section contains information about the website.</p>
</section>
<section id="contact">
<h2>Contact</h2>
<p>This section contains contact information.</p>
</section>
</main>
<footer>
<p>&copy; 2024 My Basic Website</p>
</footer>
</body>
</html>

0 comments on commit 379a7ee

Please sign in to comment.