Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Create your college ID card using HTML and CSS #43

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Binary file added Soorjyakant3/1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Soorjyakant3/2.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Soorjyakant3/3.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added Soorjyakant3/4.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Soorjyakant3/5.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Soorjyakant3/download.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Soorjyakant3/img.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
122 changes: 122 additions & 0 deletions Soorjyakant3/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>College ID Cards</title>
<style>
body {
font-family: Arial, Helvetica, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-image: url('download.jpeg');
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;

}

.id-card {
background-color: #fff;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
width: 300px;
text-align: center;
padding: 20px;
margin: 10px;
float: left;
}

.photo {
width: 100px;
height: 100px;
border-radius: 50%;
background-color: #ccc; /* Placeholder background color for the photo */
margin: 0 auto 10px;
}

h2 {
margin: 0;
font-size: 20px;
}

p {
margin: 5px 0;
font-size: 16px;
}

.barcode {
margin-top: 20px;
/* Include styles for the barcode or QR code here if needed */
}
</style>
</head>
<body>
<div class="id-card">
<div class="photo">
<img class="id-image" src="1.jpeg" alt="John Doe" height="100" width="100">

</div>
<h2>John Doe</h2>
<p>Student ID: 12345</p>
<p>Program: Computer Science</p>
<p>Batch: 2023</p>
<div class="barcode">
<!-- Include barcode or QR code here -->
</div>
</div>
<div class="id-card">
<div class="photo">
<img class="id-image" src="2.jpeg" alt="John Doe" height="100" width="100">
</div>
<h2>Jane Smith</h2>
<p>Student ID: 54321</p>
<p>Program: Engineering</p>
<p>Batch: 2022</p>
<div class="barcode">
<!-- Include barcode or QR code here -->
</div>
</div>
<div class="id-card">
<div class="photo">
<img class="id-image" src="3.jpeg" alt="John Doe" height="100" width="100">
</div>
<h2>Alice Johnson</h2>
<p>Student ID: 67890</p>
<p>Program: Business</p>
<p>Batch: 2024</p>
<div class="barcode">
<!-- Include barcode or QR code here -->
</div>
</div>
<div class="id-card">
<div class="photo">
<img class="id-image" src="4.jpeg" alt="John Doe" height="100" width="100">
</div>
<h2>Bob Brown</h2>
<p>Student ID: 98765</p>
<p>Program: Psychology</p>
<p>Batch: 2023</p>
<div class="barcode">
<!-- Include barcode or QR code here -->
</div>
</div>
<div class="id-card">
<div class="photo">
<img class="id-image" src="5.jpeg" alt="John Doe" height="100" width="100">
</div>
<h2>Eve Wilson</h2>
<p>Student ID: 45678</p>
<p>Program: Art</p>
<p>Batch: 2022</p>
<div class="barcode">
<!-- Include barcode or QR code here -->
</div>
</div>
</body>
</html>
1 change: 1 addition & 0 deletions Soorjyakant3/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## issue solved