mirror of
https://github.com/bmorelli25/Become-A-Full-Stack-Web-Developer.git
synced 2026-01-02 07:18:49 +01:00
60 lines
1.7 KiB
HTML
60 lines
1.7 KiB
HTML
|
|
/* 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>
|