Skip to content

Commit 8a9e653

Browse files
update
1 parent 3290b64 commit 8a9e653

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

index.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>Your Name - Portfolio</title>
6+
<title>Nayan Kumar Ray - Portfolio</title>
77
<link rel="stylesheet" href="styles.css">
88
</head>
99
<body>
1010
<header>
11-
<h1>Your Name</h1>
11+
<h1>Nayan Kumar Ray</h1>
1212
<nav>
1313
<ul>
1414
<li><a href="#about">About</a></li>
@@ -22,7 +22,7 @@ <h1>Your Name</h1>
2222
<h2>About Me</h2>
2323
<p>Welcome to my portfolio website. I'm a passionate developer with a love for creating amazing web applications.</p>
2424
</section>
25-
<section id="projects">
25+
<section id="projects" class="project-grid" >
2626
<h2>Projects</h2>
2727
<div class="project">
2828
<h3>Project 1</h3>
@@ -40,7 +40,7 @@ <h2>Contact Me</h2>
4040
</section>
4141
</main>
4242
<footer>
43-
<p>&copy; 2024 Your Name</p>
43+
<p>&copy; 2024 lwnayan</p>
4444
</footer>
4545
<script src="script.js"></script>
4646
</body>

styles.css

+12
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,18 @@ main {
3838
section {
3939
margin-bottom: 30px;
4040
}
41+
.project-grid {
42+
display: grid;
43+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
44+
grid-gap: 20px;
45+
}
46+
47+
.project {
48+
background-color: #f0f0f0;
49+
padding: 20px;
50+
border-radius: 5px;
51+
}
52+
4153

4254
footer {
4355
background-color: #333;

0 commit comments

Comments
 (0)