CodePen is a social development environment for front-end designers and developers. It’s a great place to share your work, experiment with new ideas, and get feedback from other developers. Here’s how you can use CodePen to display your web development projects effectively.
Create an Account:
Create a New Pen:
Here’s a basic example of a simple web layout you can create:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Simple Layout</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<h1>Welcome to My Portfolio</h1>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Projects</a></li>
</ul>
</nav>
</header>
<main>
<section>
<h2>About Me</h2>
<p>I am a web developer passionate about creating engaging user experiences.</p>
</section>
<section>
<h2>My Projects</h2>
<p>Check out my work below!</p>
</section>
</main>
<footer>
<p>© 2023 My Portfolio</p>
</footer>
</body>
</html>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
header {
background: #333;
color: white;
padding: 10px 0;
}
nav ul {
list-style-type: none;
padding: 0;
}
nav ul li {
display: inline;
margin-right: 15px;
}
main {
padding: 20px;
}
footer {
text-align: center;
padding: 10px 0;
background: #333;
color: white;
}
Once you have created your layout, you can add your projects:
Link Projects in Your Main Pen:
- [Weather App](https://codepen.io/yourusername/pen/yourpenid) - A simple weather app that displays current conditions.
Using CodePen is a fantastic way to showcase your web development skills. By creating a clear and organized portfolio, you can attract potential employers and collaborators. Start exploring, and happy coding!