Skip to content

Commit c19bac4

Browse files
committed
CSS Revision, JS String Manipulation
Back to learning after CUET!
1 parent 92cf7ef commit c19bac4

File tree

6 files changed

+91
-0
lines changed

6 files changed

+91
-0
lines changed

Day-36/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Day 36 – #100DaysOfCode
2+
3+
• Revisited CSS by building a navbar from scratch
4+
• Reviewed key JavaScript string methods: .charAt(), .at(), .trim(), .length
5+
• Installed and set up Node Version Manager (nvm)
6+
• Progress: The Odin Project Foundations → 68%
7+
8+
I haven’t been able to code for the past few days due to CUET exams, now back to consistent learning!
9+
10+
## 06 June 2025

Day-36/css-practice/index.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Document</title>
7+
<link rel="stylesheet" href="style.css">
8+
</head>
9+
<body>
10+
<nav class="header">
11+
<div class="left">
12+
<img src="logo.png" alt="logo">
13+
<ul>
14+
<li><a href="#">One</a></li>
15+
<li><a href="#">Two</a></li>
16+
<li><a href="#">Three</a></li>
17+
</ul>
18+
</div>
19+
<div class="right">
20+
<form>
21+
<input type="text" placeholder="Search...">
22+
<button>Search</button>
23+
</form>
24+
</div>
25+
</nav>
26+
</body>
27+
</html>

Day-36/css-practice/logo.png

37.6 KB
Loading

Day-36/css-practice/style.css

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
* {
2+
padding: 0;
3+
margin: 0;
4+
}
5+
6+
.header {
7+
background-color: rgb(157, 148, 148);
8+
display: flex;
9+
justify-content: space-between;
10+
align-items: center;
11+
flex-wrap: wrap;
12+
}
13+
14+
a {
15+
color: black;
16+
text-decoration: none;
17+
font-size: 18px;
18+
}
19+
20+
.left, .right {
21+
display: flex;
22+
align-items: center;
23+
gap: 50px;
24+
margin: 0.5% 1%;
25+
}
26+
27+
ul {
28+
display: flex;
29+
list-style: none;
30+
gap: 50px;
31+
}
32+
33+
img {
34+
max-height: 50px;
35+
height: auto;
36+
width: auto;
37+
}

Day-36/js-practice/index.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Document</title>
7+
</head>
8+
<body>
9+
<script src="script.js"></script>
10+
</body>
11+
</html>

Day-36/js-practice/script.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
let first_name = "Zoro";
2+
let last_name = "Roronoa";
3+
let full_name = `${first_name} ${last_name}`;
4+
alert(`Hello, nice to meet you ${first_name} ${last_name}`)
5+
alert(`The word "${full_name}" has ${full_name.trim().length} characters.`);
6+
alert(first_name.charAt(0));

0 commit comments

Comments
 (0)