Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added LCB2024048/My Picture.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions LCB2024048/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Foss_Assignment</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1 class="heading">My Information</h1>
</header>

<main>
<ol>
<li>Name: Manav Agarwal</li>
<li>Roll Number: LCB2024048</li>
<!-- <li><img src="My Picture.jpg" alt="Photo" height="100px"></li> -->
<li>Branch: Computer Science And Business</li>
<li>Skills: I have studied a bit of java taught in school.Currently Learning C++.</li>
<li>Hobbies: I enjoy playing outdoor sports like badminton and football, as well as video games like Valorant.</li>
</ol>
</main>

<div>
<img src="My Picture.jpg" alt="Photo" height="100px" class="image">
</div>

</body>
</html>
44 changes: 44 additions & 0 deletions LCB2024048/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
*{
margin: 0;
padding: 0;
}

body{
background-color: rgb(220, 212, 183);
color: rgb(83, 92, 44);
}

.heading{
display: flex;
justify-content: center;
align-items: center;
margin: 6px;
padding: 26px;
}

main{
display: flex;
justify-content: center;
align-items: center;
}

ol li {
padding: 23px;
font-size: 26px;
font-style: oblique;
color: rgb(68, 73, 66);
list-style:outside;
}

/* img{
height: 200px;
width: auto;
} */

.image{
position: relative;
bottom: 384px;
left: 74vw;
height: 250px;
width: auto;
}