mirror of
https://github.com/bmorelli25/Become-A-Full-Stack-Web-Developer.git
synced 2025-12-17 07:30:14 +01:00
Create sample.html
This commit is contained in:
parent
465307471e
commit
e9092ff2ca
1 changed files with 59 additions and 0 deletions
59
sample.html
Normal file
59
sample.html
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
/* Here is the sample HTML code for example making a portfolio website the basic HTML Structure will be */
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>My Portfolio</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#about">About</a></li>
|
||||
<li><a href="#projects">Projects</a></li>
|
||||
<li><a href="#contact">Contact</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<main>
|
||||
<section id="about">
|
||||
<h2>About Me</h2>
|
||||
<p>Hi, my name is Ansh srivastava and I'm a web developer. I have experience in HTML, CSS and JavaScript. I'm passionate about creating clean, responsive, and user-friendly websites.</p>
|
||||
</section>
|
||||
<section id="projects">
|
||||
<h2>Projects</h2>
|
||||
<ul>
|
||||
<li>
|
||||
<h3>Project 1</h3>
|
||||
<p>Description of project 1.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h3>Project 2</h3>
|
||||
<p>Description of project 2.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h3>Project 3</h3>
|
||||
<p>Description of project 3.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section id="contact">
|
||||
<h2>Contact Me</h2>
|
||||
<form action="submit-form.js" method="POST">
|
||||
<label for="name">Name:</label>
|
||||
<input type="text" id="name" name="name" required>
|
||||
<label for="email">Email:</label>
|
||||
<input type="email" id="email" name="email" required>
|
||||
<label for="message">Message:</label>
|
||||
<textarea id="message" name="message" required></textarea>
|
||||
<button type="submit">Send</button>
|
||||
</form>
|
||||
</section>
|
||||
</main>
|
||||
<footer>
|
||||
<p>Copyright © 2023</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue