<!DOCTYPE html> <html> <head> <title>My Portfolio</title> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="stylesheet" href="style.css" /> </head> <style> body { font-family: Arial, sans-serif; margin: 0; padding: 0; } header { background-color: #333; color: #fff; padding: 20px; } header h1 { margin: 0; } nav ul { margin: 0; padding: 0; list-style: none; } nav li { display: inline-block; margin-right: 20px; } nav li:last-child { margin-right: 0; } nav a { color: #fff; text-decoration: none; } section { padding: 50px 20px; } section h2 { margin-bottom: 20px; } ul { list-style: none; padding: 0; } li { margin-bottom: 20px; } label { display: block; margin-bottom: 10px; } input[type="text"], input[type="email"], textarea { padding: 10px; border-radius: 5px; margin-bottom: 20px; } input[type="submit"] { background-color: #333; color: #fff; padding: 10px 20px; border-radius: 5px; cursor: pointer; } footer { background-color: #333; color: #fff; padding: 20px; text-align: center; } </style> <body> <header> <h1>My Portfolio</h1> <nav> <ul> <li><a href="#about">About Me</a></li> <li><a href="#projects">My Projects</a></li> <li><a href="#contact">Contact Me</a></li> </ul> </nav> </header> <section id="about"> <h2>About Me</h2> <p>Insert your description here.</p> </section> <section id="projects"> <h2>My 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> <label for="name">Name:</label> <input type="text" id="name" name="name" /><br /> <label for="email">Email:</label> <input type="email" id="email" name="email" /><br /> <label for="message">Message:</label> <textarea id="message" name="message"></textarea><br /> <input type="submit" value="Send" /> </form> </section> <footer> <p>© 2023 My Portfolio</p> </footer> </body> </html>
Run