Skip to content

Commit

Permalink
Create welcome.html
Browse files Browse the repository at this point in the history
  • Loading branch information
arpit376 authored Sep 17, 2024
1 parent 56364c5 commit 467d3bb
Showing 1 changed file with 144 additions and 0 deletions.
144 changes: 144 additions & 0 deletions blog/welcome.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Blog</title>
<style>
body {
font-family: 'Arial', sans-serif;
background-color: #f4f4f4;
color: #333;
margin: 0;
padding: 0;
}

header {
background-color: #333;
color: white;
padding: 20px;
text-align: center;
}

header h1 {
margin: 0;
font-size: 2.5em;
}

nav {
background-color: #444;
padding: 15px;
text-align: center;
}

nav a {
color: white;
text-decoration: none;
margin: 0 15px;
font-size: 1.2em;
}

nav a:hover {
text-decoration: underline;
}

.container {
width: 80%;
margin: 20px auto;
background-color: white;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.blog-post {
margin-bottom: 40px;
}

.blog-post h2 {
color: #333;
font-size: 2em;
}

.blog-post p {
line-height: 1.8;
color: #555;
}

.blog-post a {
color: #007BFF;
text-decoration: none;
}

.blog-post a:hover {
text-decoration: underline;
}

footer {
background-color: #333;
color: white;
text-align: center;
padding: 20px;
position: fixed;
width: 100%;
bottom: 0;
}
</style>
</head>
<body>

<!-- Header Section -->
<header>
<h1>Welcome to My Blog</h1>
<p>Sharing ideas and insights</p>
</header>

<!-- Navigation Bar -->
<nav>
<a href="index.html">Home</a>
<a href="about.html">About</a>
<a href="blog.html">Blog</a>
<a href="contact.html">Contact</a>
</nav>

<!-- Main Blog Content -->
<div class="container">

<!-- Blog Post 1 -->
<div class="blog-post">
<h2>Getting Started with Web Development</h2>
<p><strong>Date:</strong> September 16, 2024</p>
<p>
Web development is an exciting field that offers endless opportunities to learn and grow. In this post, I’ll cover the basics of web development, including HTML, CSS, and JavaScript. Whether you're just starting out or looking to brush up on your skills, this guide has something for everyone.
</p>
<a href="post1.html">Read more</a>
</div>

<!-- Blog Post 2 -->
<div class="blog-post">
<h2>Understanding CSS Grid and Flexbox</h2>
<p><strong>Date:</strong> September 10, 2024</p>
<p>
CSS Grid and Flexbox are two powerful layout systems that every web developer should master. In this post, we'll break down how to use both to create responsive, dynamic layouts that work across all screen sizes.
</p>
<a href="post2.html">Read more</a>
</div>

<!-- Blog Post 3 -->
<div class="blog-post">
<h2>Why JavaScript is Essential for Modern Web Development</h2>
<p><strong>Date:</strong> August 28, 2024</p>
<p>
JavaScript is the backbone of interactive web pages. From form validation to complex animations, JavaScript plays a crucial role in enhancing user experience. Let's dive into why you should prioritize learning JavaScript as part of your web development journey.
</p>
<a href="post3.html">Read more</a>
</div>

</div>

<!-- Footer Section -->
<footer>
<p>&copy; 2024 My Blog. All Rights Reserved.</p>
</footer>

</body>
</html>

0 comments on commit 467d3bb

Please sign in to comment.