0% found this document useful (0 votes)
17 views

Webfilemihr

1. The document describes a student creating three web development programs: a student registration form with validation, a student login form with validation, and a train ticket booking form. 2. The first program creates a student registration form using HTML and CSS that collects information such as name, gender, birthdate, address, and includes form validation. 3. The second program creates a student login form with fields for username, email, and password that includes form validation checks. 4. The third program creates a web page using HTML and CSS to collect train ticket booking information such as name, source/destination, address, travel date, number of passengers, and train number.

Uploaded by

dhruvbarvaliya27
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

Webfilemihr

1. The document describes a student creating three web development programs: a student registration form with validation, a student login form with validation, and a train ticket booking form. 2. The first program creates a student registration form using HTML and CSS that collects information such as name, gender, birthdate, address, and includes form validation. 3. The second program creates a student login form with fields for username, email, and password that includes form validation checks. 4. The third program creates a web page using HTML and CSS to collect train ticket booking information such as name, source/destination, address, travel date, number of passengers, and train number.

Uploaded by

dhruvbarvaliya27
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 113

1

Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

::::::::::::::::::::::::::::::::::::: Web Designing-1 ::::::::::::::::::::::::::::::::::::

Program :- 1

Create a Student Registration Form using HTML and CSS with all
required html validations. Fields are like First_Name, Last_Name, Gender,
Birthdate, Address, City, Mobile_Number, Cast, Subcast, Qualification etc.

CODE:
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
font-family: Arial, sans-serif;
background-color: #222;
margin: 0;
padding: 0;
}

.container {
max-width: 600px;
margin: 0 auto;
padding: 20px;
background-color: #913f92;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
color: white;
2
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}

input[type="text"],
input[type="date"],
select {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 5px;
box-sizing: border-box;
}

select {
height: 40px;
}

input[type="submit"] {
background-color: #007bff;
color: #fff;
padding: 10px 20px;
3
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

border: none;
border-radius: 5px;
cursor: pointer;
}

input[type="submit"]:hover {
background-color: #0056b3;
}
</style>
<title>Student Registration Form</title>
</head>
<body>
<div class="container">
<h2>Student Registration Form</h2>
<form action="#" method="post">
<div class="first_name">
<label for="first_name">First Name:</label>
<input type="text" id="first_name" name="first_name" required>
</div>
<div class="last_name">
<label for="last_name">Last Name:</label>
<input type="text" id="last_name" name="last_name" required>
</div>
<div class="gender">
<label for="gender">Gender:</label>
<select id="gender" name="gender" required>
<option value="male">Male</option>
4
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<option value="other">Other</option>
<option value="female">Female</option>
</select>

</div>
<div class="birthdate">
<label for="birthdate">Birthdate:</label>
<input type="date" id="birthdate" name="birthdate" required>

</div>
<div class="address">
<label for="address">Address:</label>
<input type="text" id="address" name="address" required>

</div>
<div class="city">
<label for="city">City:</label>
<input type="text" id="city" name="city" required>

</div>
<div class="mobile_number">
<label for="mobile_number">Mobile Number:</label>
<input type="text" id="mobile_number" name="mobile_number"
pattern="[0-9]{10}" required>

</div>
<div class="cast">
<label for="cast">Cast:</label>
5
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<input type="text" id="cast" name="cast" required>

</div>
<div class="subcast">
<label for="subcast">Subcast:</label>
<input type="text" id="subcast" name="subcast" required>

</div>
<div class="qualification">
<label for="qualification">Qualification:</label>
<input type="text" id="qualification" name="qualification" required>

</div>
<div class="submit">
<input type="submit" value="Register">

</div>
</form>
</div>
</body>
</html>

OUTPUT:
6
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51
7
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

Program 2 :-
2) Create a Student Login Form using HTML and CSS with Proper
validations. Fields are like User_Name, Email ID, Password, etc.
CODE:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Student Login</title>
<style>
body {
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande',
'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
background-color: #f4f4f4;
}
.container {
background-color: rgb(140, 112, 144);
max-width: 400px;
margin: 0 auto;
padding: 40px;
border: 1px solid #ccc;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.form-group {
margin-bottom: 20px;
}
8
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

label {
font-weight: bold;
}
input[type="text"],
input[type="email"],
input[type="password"] {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
input[type="submit"] {
background-color: #007BFF;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #0056b3;
}
.error {
color: red;
font-size: 12px;
}
</style>
9
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

</head>
<body>
<div class="container">
<h2>Student Login</h2>
<form id="login-form" action="#" method="post">
<div class="form-group">
<label for="user_name">User Name:</label>
<input type="text" id="user_name" name="user_name" required>
<div class="error" id="user_name_error"></div>
</div>
<div class="form-group">
<label for="email">Email ID:</label>
<input type="email" id="email" name="email" required>
<div class="error" id="email_error"></div>
</div>
<div class="form-group">
<label for="password">Password:</label>
<input type="password" id="password" name="password" required>
<div class="error" id="password_error"></div>
</div>
<div class="form-group">
<input type="submit" value="Login">
</div>
</form>
</div>
<script>
const form = document.getElementById('login-form');
10
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

const userNameInput = document.getElementById('user_name');


const emailInput = document.getElementById('email');
const passwordInput = document.getElementById('password');
const userNameError = document.getElementById('user_name_error');
const emailError = document.getElementById('email_error');
const passwordError = document.getElementById('password_error');

form.addEventListener('submit', function (e) {


let isValid = true;

// Clear previous error messages


userNameError.textContent = '';
emailError.textContent = '';
passwordError.textContent = '';

// Validate User Name


if (userNameInput.value.trim() === '') {
userNameError.textContent = 'User Name is required';
isValid = false;
}

// Validate Email
const emailPattern = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-
Z]{2,4}$/;
if (!emailPattern.test(emailInput.value)) {
emailError.textContent = 'Invalid email format';
isValid = false;
}
11
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

// Validate Password
if (passwordInput.value.length < 6) {
passwordError.textContent = 'Password must be at least 6 characters';
isValid = false;
}

if (!isValid) {
e.preventDefault(); // Prevent form submission if there are errors
}
});
</script>
</body>
</html>

Output:
12
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51
13
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

Program 3 :-
3) Create a web page using HTML with CSS which accept ticket booking
information like Client_Name, Source, Destination, Address,
Travelling_Date, Number_Of_Passenger_Travelling and Train_Number
etc.
Code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
}

.container {
max-width: 600px;
margin: 0 auto;
padding: 20px;
background-color:rgb(140, 112, 144);
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

label {
14
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

display: block;
margin-bottom: 5px;
font-weight: bold;
}

input[type="text"],
input[type="date"],
input[type="number"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 5px;
box-sizing: border-box;
}

input[type="submit"] {
background-color: #007bff;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}

input[type="submit"]:hover {
background-color: #0056b3;
15
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

}
</style>
<title>Ticket Booking Form</title>
</head>
<body>
<div class="container">
<h2>Ticket Booking Form</h2>
<form action="#" method="post">
<label for="client_name">Client Name:</label>
<input type="text" id="client_name" name="client_name" required>

<label for="source">Source:</label>
<input type="text" id="source" name="source" required>

<label for="destination">Destination:</label>
<input type="text" id="destination" name="destination" required>

<label for="address">Address:</label>
<input type="text" id="address" name="address" required>

<label for="travelling_date">Travelling Date:</label>


<input type="date" id="travelling_date" name="travelling_date" required>

<label for="passenger_count">Number of Passengers:</label>


<input type="number" id="passenger_count" name="passenger_count"
min="1" required>

<label for="train_number">Train Number:</label>


16
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<input type="text" id="train_number" name="train_number" required>

<input type="submit" value="Book Ticket">


</form>
</div>
</body>
</html>

Output:-
17
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51
18
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

Program 4 :-
4) create following structure using Bootstrap Grid System classes.
Code:
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Grid Example</title>
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
</head>
<body>

<div class="container">

<div class="row">
<div class="col-md-1" style="background-color: #f2f2f2; border: 1px solid
#ccc; padding: 10px;text-align: center;">col-1</div>
<div class="col-md-1" style="background-color: #f2f2f2; border: 1px solid
#ccc; padding: 10px;text-align: center">col-1</div>
<div class="col-md-1" style="background-color: #f2f2f2; border: 1px solid
#ccc; padding: 10px;text-align: center">col-1</div>
<div class="col-md-1" style="background-color: #f2f2f2; border: 1px solid
#ccc; padding: 10px;text-align: center">col-1</div>
<div class="col-md-1" style="background-color: #f2f2f2; border: 1px solid
#ccc; padding: 10px;text-align: center">col-1</div>
<div class="col-md-1" style="background-color: #f2f2f2; border: 1px solid
#ccc; padding: 10px;text-align: center">col-1</div>
<div class="col-md-1" style="background-color: #f2f2f2; border: 1px solid
#ccc; padding: 10px;text-align: center">col-1</div>
<div class="col-md-1" style="background-color: #f2f2f2; border: 1px solid
#ccc; padding: 10px;text-align: center">col-1</div>
19
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<div class="col-md-1" style="background-color: #f2f2f2; border: 1px solid


#ccc; padding: 10px;text-align: center">col-1</div>
<div class="col-md-1" style="background-color: #f2f2f2; border: 1px solid
#ccc; padding: 10px;text-align: center">col-1</div>
<div class="col-md-1" style="background-color: #f2f2f2; border: 1px solid
#ccc; padding: 10px;text-align: center">col-1</div>
<div class="col-md-1" style="background-color: #f2f2f2; border: 1px solid
#ccc; padding: 10px;text-align: center">col-1</div>

</div>

<div class="row">
<div class="col-md-4" style="background-color: #d9edf7; border: 1px
solid #ccc; padding: 10px;text-align: center;">col 4</div>
<div class="col-md-4" style="background-color: #d9edf7; border: 1px
solid #ccc; padding: 10px;text-align: center">col 4</div>
<div class="col-md-4" style="background-color: #d9edf7; border: 1px
solid #ccc; padding: 10px;text-align: center">col 4</div>
</div>

<div class="row">
<div class="col-md-4" style="background-color: #fcf8e3; border: 1px
solid #ccc; padding: 10px;text-align: center">col 4</div>
<div class="col-md-8" style="background-color: #fcf8e3; border: 1px
solid #ccc; padding: 10px;text-align: center">col 8</div>
</div>
20
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<div class="row">
<div class="col-md-6" style="background-color: #dff0d8; border: 1px
solid #ccc; padding: 10px;text-align: center">col 6</div>
<div class="col-md-6" style="background-color: #dff0d8; border: 1px
solid #ccc; padding: 10px;text-align: center">col 6</div>
</div>

<div class="row">
<div class="col-md-12" style="background-color: #f5f5f5; border: 1px
solid #ccc; padding: 10px;text-align: center">col 12</div>
</div>
</div>

</body>
</html>

Output:-
21
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

Program 5 :-
5) Create web pages using HTML and Bootstrap which accept book details
like Book_Code, Book_Name, Author_Name, Cost, ISBN_No. etc.
Code:-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Book Details Form</title>

<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">

<style>
body {
background-color: #25496c;
}
h2{
text-align: center;
}
.container {
margin-top: 30px;
background-color:rgb(140, 112, 144);
}
.form-container {
background-color:rgb(140, 112, 144);
padding: 20px;
22
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

border-radius: 5px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}
</style>
</head>
<body>

<div class="container">
<div class="form-container">
<h2 class="mb-4">Enter Book Details</h2>
<form>
<div class="form-group">
<label for="bookCode">Book Code:</label>
<input type="text" class="form-control" id="bookCode"
name="bookCode" required>
</div>
<div class="form-group">
<label for="bookName">Book Name:</label>
<input type="text" class="form-control" id="bookName"
name="bookName" required>
</div>
<div class="form-group">
<label for="authorName">Author Name:</label>
<input type="text" class="form-control" id="authorName"
name="authorName" required>
</div>
23
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<div class="form-group">
<label for="cost">Cost:</label>
<input type="number" class="form-control" id="cost" name="cost"
required>
</div>
<div class="form-group">
<label for="isbn">ISBN No.:</label>
<input type="text" class="form-control" id="isbn" name="isbn"
required>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</div>
</div>
</body>
</html>

Output:-
24
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51
25
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

Program 6 :-
6) Create a Contact Form using HTML and Bootstrap with Proper
validations. Fields are like First_Name, Last_Name, Email ID,
Mobile_Number, Message, etc.
Code:-

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Form</title>
<!-- Include Bootstrap CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- Custom CSS -->
<style>
.container {
margin-top: 30px;
}
body{
background: #222;
color: white;
}
</style>
</head>
<body>
<div class="container">
26
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<h2>Contact Us</h2>
<form id="contactForm">
<div class="form-row">
<div class="form-group col-md-6">
<label for="firstName">First Name:</label>
<input type="text" class="form-control" id="firstName"
name="firstName" required>
</div>
<div class="form-group col-md-6">
<label for="lastName">Last Name:</label>
<input type="text" class="form-control" id="lastName"
name="lastName" required>
</div>
</div>
<div class="form-group">
<label for="email">Email ID:</label>
<input type="email" class="form-control" id="email" name="email"
required>
</div>
<div class="form-group">
<label for="mobileNumber">Mobile Number:</label>
<input type="tel" class="form-control" id="mobileNumber"
name="mobileNumber" required>
</div>
<div class="form-group">
<label for="message">Message:</label>
<textarea class="form-control" id="message" name="message" rows="4"
required></textarea>
</div>
27
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<button type="submit" class="btn btn-primary">Submit</button>


</form>
</div>

<!-- Include Bootstrap JS and jQuery


<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"
></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></sc
ript>
<script>
// Form validation using JavaScript
document.getElementById("contactForm").addEventListener("submit",
function(event) {
var form = event.target;
if (!form.checkValidity()) {
event.preventDefault();
event.stopPropagation();
}
form.classList.add('was-validated');
});
</script> -->
</body>
</html>

Output:-
28
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51
29
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

Program 7 :-
7) Create Employee Registration Form using HTML and Bootstrap with
Proper validations. Fields are like Employee Full Name, Gender, Birthdate,
Address, Nationality, Contact_Number, Designation, Salary, Employee
Number, Department, Cast, Qualification, Language Known etc.

Code:-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Employee Registration Form</title>
<!-- Include Bootstrap CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- Custom CSS -->
<style>
body {
background-color: #222;
}
.container {
margin-top: 50px;
background-color: #333333;
color: white;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
padding: 30px;
}
30
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

.container h2 {
margin-bottom: 30px;
}
.btn-primary {
background-color: #007bff;
border-color: #007bff;
}
.btn-primary:hover {
background-color: #0056b3;
border-color: #0056b3;
}
</style>
</head>
<body>
<div class="container">
<h2 class="text-center">Employee Registration</h2>
<form id="employeeForm">
<div class="form-group">
<label for="fullName">Full Name:</label>
<input type="text" class="form-control" id="fullName" name="fullName"
required>
</div>
<div class="form-group">
<label for="gender">Gender:</label>
<select class="form-control" id="gender" name="gender" required>
<option value="">Select Gender</option>
<option value="male">Male</option>
<option value="female">Female</option>
31
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<option value="other">Other</option>
</select>
</div>
<div class="form-group">
<label for="birthdate">Birthdate:</label>
<input type="date" class="form-control" id="birthdate" name="birthdate"
required>
</div>

<div class="form-group">
<label for="address">Address</label>
<input type="address" class="form-control" name="address" required>
</div>
<div class="form-group">
<label for="contact_no">contact_no</label>
<input type="number" class="form-control" name="contact_no" required>
</div>
<div class="form-group">
<label for="designation">designation</label>
<input type="designation" class="form-control" name="designation"
required>
</div>
<div class="form-group">
<label for="nationality">nationality</label>
<input type="text" class="form-control" name="nationality" required>
</div>
<div class="form-group">
<label for="salary">salary</label>
32
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<input type="number" class="form-control" name="salary" required>


</div>
<div class="form-group">
<label for="employee_number">employee_number</label>
<input type="text" class="form-control" name="employee_number"
required>
</div>
<div class="form-group">
<label for="department">department</label>
<input type="text" class="form-control" name="department" required>
</div>
<div class="form-group">
<label for="cast">cast</label>
<input type="text" class="form-control" name="cast" required>
</div>
<div class="form-group">
<label for="qualification">qualification</label>
<input type="text" class="form-control" name="qualification" required>
</div>
<div class="form-group">
<label for="language_known">language known</label>
<input type="text" class="form-control" name="language_known"
required>
</div>

<button type="submit" class="btn btn-primary btn-block">Submit</button>


</form>
33
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

</div>

</body>
</html>

Output:-
34
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51
35
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

Program 8 :-
8) Create following structure using Bootstrap Grid System classes.\
Code:-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<title>Bootstrap Grid Structure Example</title>
</head>
<body>
<div class="container">
<!-- Row 1 -->
<div class="row">
<div class="col-md-4">
<div class="bg-primary text-white p-3">Column 1</div>
</div>
<div class="col-md-4">
<div class="bg-secondary text-white p-3">Column 2</div>
</div>
<div class="col-md-4">
<div class="bg-success text-white p-3">Column 3</div>
</div>
</div>

<!-- Row 2 -->


36
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<div class="row">
<div class="col-md-6">
<div class="bg-warning p-3">Column 1</div>
</div>
<div class="col-md-6">
<div class="bg-danger text-white p-3">Column 2</div>
</div>
</div>

<!-- Row 3 -->


<div class="row">
<div class="col-md-3">
<div class="bg-info text-white p-3">Column 1</div>
</div>
<div class="col-md-3">
<div class="bg-dark text-white p-3">Column 2</div>
</div>
<div class="col-md-6">
<div class="bg-light p-3">Column 3</div>
</div>
</div>

<!-- Row 4 -->


<div class="row">
<div class="col-md-4">
<div class="bg-primary text-white p-3">Column 1</div>
</div>
37
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<div class="col-md-4">
<div class="bg-secondary text-white p-3">Column 2</div>
</div>
<div class="col-md-4">
<div class="bg-success text-white p-3">Column 3</div>
</div>
</div>
</div>

<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></sc
ript>
</body>
</html>

Output:-
38
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

Program 9 :-
9) Designing a Signup page and login page of Facebook using bootstrap4
and css.
Code:-
SignUP Page:-
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Facebook Signup</title>
<!-- Add Bootstrap CSS Link -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<style>
.signup-form,
.login-form {
background: #fff;
padding: 20px;
border: 1px solid #ccc;
border-radius: 5px;
}

.signup-form h2,
.login-form h2 {
text-align: center;
margin-bottom: 20px;
39
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

.btn-block {
margin-top: 10px;
}

.text-center {
text-align: center;
}
</style>
</head>

<body>
<div class="container mt-5">
<div class="row">
<div class="col-md-6 offset-md-3">
<div class="signup-form">
<h2>Sign Up for Facebook</h2>
<form>
<div class="form-group">
<input type="text" class="form-control" placeholder="First
Name">
</div>
<div class="form-group">
<input type="text" class="form-control" placeholder="Last
Name">
</div>
<div class="form-group">
40
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<input type="email" class="form-control"


placeholder="Email">
</div>
<div class="form-group">
<input type="password" class="form-control"
placeholder="Password">
</div>
<button type="submit" class="btn btn-primary btn-block">Sign
Up</button>
</form>
</div>
<p class="text-center mt-3">
<a href="9login.html">Already have an account? Log in</a>
</p>
</div>
</div>
</div>

<!-- Add Bootstrap and Custom CSS -->


<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js
"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></sc
ript>
</body>

</html>
41
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

Output:-

===>>>Login Page:-
Code:-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
42
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<title>Facebook Login</title>
<!-- Add Bootstrap CSS Link -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- Add Custom CSS -->
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container mt-5">
<div class="row">
<div class="col-md-6 offset-md-3">
<div class="login-form">
<h2>Log in to Facebook</h2>
<form>
<div class="form-group">
<input type="email" class="form-control"
placeholder="Email">
</div>
<div class="form-group">
<input type="password" class="form-control"
placeholder="Password">
</div>
<button type="submit" class="btn btn-primary btn-block">Log
In</button>
</form>
</div>
<p class="text-center mt-3">
<a href="index.html">Sign up for Facebook</a>
</p>
43
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

</div>
</div>
</div>
<!-- Add Bootstrap and Custom CSS -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js
"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></sc
ript>
</body>
</html>

Output:-
44
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

Program 10 :-
10) Design a mark sheet like VNSGU Mark sheet of student and display all
your marks with subjects in a tabular format.

Code:-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Student Mark Sheet</title>
<style>
body {
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande',
'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
background-color: aliceblue;
}

.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
border: 2px solid #333;
background-color: white;
}
45
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

.header {
text-align: center;
}
.student-info {
text-align: left;
}

table {
width: 100%;
border-collapse: initial;
margin-top: 20px;
background-color: burlywood;
}

table, th, td {
border: 1px solid #333;
}

th, td {
padding: 10px;
text-align: center;
}

th {
background-color: #333;
color: #fff;
}
46
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

.total-gpa {
margin-top: 20px;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<h1>Veer Narmad South Gujarat University</h1>
<h2>Student Mark Sheet</h2>
</div>

<div class="student-info">
<p><strong>Student Name:</strong> Roshan Dudhat</p>
<p><strong>Roll Number:</strong> 19</p>
<p><strong>Program:</strong> Bachelor of Computer Application</p>
<p><strong>Batch:</strong> 2023</p>
<p><strong>Semester:</strong> 3rd</p>
</div>

<table>
<thead>
<tr>
<th>Subject</th>
<th>Maximum Marks</th>
<th>Obtained Marks</th>
47
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<th>Grade</th>
</tr>
</thead>
<tbody>
<tr>
<td>Mathematics</td>
<td>100</td>
<td>95</td>
<td>A</td>
</tr>
<tr>
<td>Oops</td>
<td>100</td>
<td>98</td>
<td>A+</td>
</tr>
<tr>
<td>Web Design</td>
<td>100</td>
<td>92</td>
<td>A+</td>
</tr>
<tr>
<td>Softwere Eng.</td>
<td>100</td>
<td>88</td>
<td>A</td>
48
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

</tr>
<tr>
<td>Python</td>
<td>100</td>
<td>95</td>
<td>A+</td>
</tr>
</tbody>
</table>

<div class="total-gpa">
<p><strong>Total Marks Obtained:</strong> 467 out of 500</p>
<p><strong>GPA:</strong> 9.8/10.0</p>
</div>
<div class="remarks">
<p><strong>Remarks:</strong> Excellent performance by the
student.</p>
</div>
</div>
</body>
</html>

Output:-
49
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51
50
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

Program 11 :-
11) Design a website for medical store with following pages;
• Home/Index page
• Registration page
• Login page
• Medicine Stock page
• About us page
• Do proper validation from use JavaScript. Using HTML, CSS,
Bootstrap 4 for styling.
CODE:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Medical Store</title>
<!-- Include Bootstrap CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
</head>
<body>
<!-- Navigation Bar -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">Medical Store</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-
target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-
label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
51
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<ul class="navbar-nav ml-auto">


<li class="nav-item active">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="login.html">Login</a>
</li>
<li class="nav-item">
<a class="nav-link" href="registration.html">Registration</a>
</li>
<li class="nav-item">
<a class="nav-link" href="medicine.html">Medicine Stock</a>
</li>
<li class="nav-item">
<a class="nav-link" href="about.html">About Us</a>
</li>
</ul>
</div>
</nav>

<!-- Main Content for Home Page -->


<div class="container mt-5">
<h1>Welcome to Medical Store</h1>
<p>Your trusted source for medicines and healthcare products.</p>
</div>
<!-- Include Bootstrap JS -->
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
52
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"
></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></sc
ript>
</body>
</html>

HOME/INDEX PAGE:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Medical Store - Home</title>
<!-- Include Bootstrap CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- Add your custom CSS if necessary -->
<style>
/* Custom CSS styles can be added here */
</style>
</head>
<body>
<!-- Navigation Bar (if needed) -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">Medical Store</a>
53
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<!-- Add navigation links here -->


<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="login.html">Login</a>
</li>
<li class="nav-item">
<a class="nav-link" href="registration.html">Registration</a>
</li>
<li class="nav-item">
<a class="nav-link" href="medicine.html">Medicine Stock</a>
</li>
<li class="nav-item">
<a class="nav-link" href="about.html">About Us</a>
</li>
</ul>
</nav>

<!-- Main Content for Home Page -->


<div class="container mt-5">
<h1>Welcome to Medical Store</h1>
<p>Your trusted source for medicines and healthcare products.</p>
<!-- Add more content as needed -->
</div>
54
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<!-- Include Bootstrap JS -->


<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"
></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></sc
ript>
</body>
</html>
OUTPUT:
55
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

Registration page :
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Registration - Medical Store</title>
<!-- Include Bootstrap CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- Add your custom CSS if necessary -->
<style>
/* Custom CSS styles can be added here */
</style>
</head>
<body>
<!-- Navigation Bar (if needed) -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">Medical Store</a>
<!-- Add navigation links here -->
</nav>

<!-- Registration Form -->


<div class="container mt-5">
<div class="row justify-content-center">
<div class="col-md-6">
<h2 class="mb-4">Registration</h2>
<form action="process_registration.php" method="POST">
<!-- Name -->
<div class="form-group">
<label for="name">Full Name</label>
<input type="text" class="form-control" id="name"
name="name" required>
</div>

<!-- Email -->


<div class="form-group">
<label for="email">Email</label>
56
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<input type="email" class="form-control" id="email"


name="email" required>
</div>

<!-- Password -->


<div class="form-group">
<label for="password">Password</label>
<input type="password" class="form-control" id="password"
name="password" required>
</div>

<!-- Confirm Password -->


<div class="form-group">
<label for="confirm_password">Confirm Password</label>
<input type="password" class="form-control"
id="confirm_password" name="confirm_password" required>
</div>

<!-- Add more fields as needed -->

<!-- Submit Button -->


<button type="submit" class="btn btn-primary">Register</button>
</form>
</div>
</div>
</div>

<!-- Include Bootstrap JS -->


<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"
></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></sc
ript>
</body>
</html>
57
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

OUTPUT:
58
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

Login page :
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login - Medical Store</title>
<!-- Include Bootstrap CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- Add your custom CSS if necessary -->
<style>
/* Custom CSS styles can be added here */
</style>
</head>
<body>
<!-- Navigation Bar (if needed) -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">Medical Store</a>
<!-- Add navigation links here -->
</nav>

<!-- Login Form -->


<div class="container mt-5">
<div class="row justify-content-center">
<div class="col-md-6">
<h2 class="mb-4">Login</h2>
<form action="process_login.php" method="POST">
<!-- Email -->
<div class="form-group">
<label for="email">Email</label>
<input type="email" class="form-control" id="email"
name="email" required>
</div>

<!-- Password -->


<div class="form-group">
<label for="password">Password</label>
59
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<input type="password" class="form-control" id="password"


name="password" required>
</div>

<!-- Add Remember Me checkbox if needed -->


<!-- <div class="form-check">
<input type="checkbox" class="form-check-input"
id="rememberMe">
<label class="form-check-label" for="rememberMe">Remember
Me</label>
</div> -->

<!-- Submit Button -->


<button type="submit" class="btn btn-primary">Login</button>
</form>
</div>
</div>
</div>

<!-- Include Bootstrap JS -->


<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"
></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></sc
ript>
</body>
</html>

OUTPUT:
60
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

Medicine Stock page :


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Medicine Stock - Medical Store</title>
<!-- Include Bootstrap CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- Add your custom CSS if necessary -->
<style>
/* Custom CSS styles can be added here */
</style>
</head>
<body>
<!-- Navigation Bar (if needed) -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">Medical Store</a>
<!-- Add navigation links here -->
</nav>

<!-- Medicine Stock Table -->


<div class="container mt-5">
<h2 class="mb-4">Medicine Stock</h2>
61
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<table class="table table-bordered">


<thead>
<tr>
<th>Medicine Name</th>
<th>Quantity</th>
<th>Price</th>
</tr>
</thead>
<tbody>
<!-- Example medicine data -->
<tr>
<td>Medicine A</td>
<td>100</td>
<td>$10.00</td>
</tr>
<tr>
<td>Medicine B</td>
<td>50</td>
<td>$15.00</td>
</tr>
<!-- Add more rows for other medicines -->
</tbody>
</table>
</div>

<!-- Include Bootstrap JS -->


<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"
></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></sc
ript>
</body>
</html>

OUTPUT:
62
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

About us page :
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About Us - Medical Store</title>
<!-- Include Bootstrap CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- Add your custom CSS if necessary -->
<style>
/* Custom CSS styles can be added here */
</style>
</head>
<body>
<!-- Navigation Bar (if needed) -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">Medical Store</a>
<!-- Add navigation links here -->
</nav>

<!-- About Us Section -->


<div class="container mt-5">
63
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<div class="row">
<div class="col-md-6">
<h2>About Us</h2>
<p>
Welcome to our medical store! We are dedicated to providing high-
quality medicines and healthcare products to our customers. With a team of
experienced professionals, we ensure that you receive the best care and
guidance for your health needs.
</p>
<p>
Our mission is to make healthcare accessible and convenient for
everyone. We take pride in serving our community and strive to maintain the
highest standards of service and integrity.
</p>
</div>
<div class="col-md-6">
<!-- Add an image of your store or team here -->
<img src="medical_store_image.jpg" alt="Medical Store"
class="img-fluid">
</div>
</div>
</div>

<!-- Include Bootstrap JS -->


<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"
></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></sc
ript>
</body>
</html>

OUTPUT:
64
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51
65
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

Program 12 :-
12) Design a website for Online Shopping containing multiple webpages.
• Home page ➢ (Kids Wear, Women Wear, Mens Wear) Show any
logo to relate with website in Header left side) (Show profile icon in
Header right side)
• Log in Page.
• About us page.
CODE:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Online Shopping</title>
<!-- Include Bootstrap CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- Add your custom CSS if necessary -->
<style>
/* Custom CSS styles can be added here */
</style>
</head>
<body>
<!-- Navigation Bar -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#"><img
src="C:\Users\DELL\OneDrive\Desktop\jr_files\draw_svg20200611-27481-
1gfzrgc.svg.png" alt="Website Logo" height="30"></a>
<ul class="navbar-nav ml-auto">
<li class="nav-item">
66
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<a class="nav-link" href="login12.html"><i class="fa fa-user">


<link rel="stylesheet" href="about12.html">
</i> Profile</a>
</li>
</ul>
</nav>

<!-- Main Content for Home Page -->


<div class="container mt-5">
<h1>Welcome to Online Shopping</h1>
<div class="row">
<div class="col-md-4">
<h3>Kids Wear</h3>
<!-- Add kids wear products here -->
</div>
<div class="col-md-4">
<h3>Women Wear</h3>
<!-- Add women wear products here -->
</div>
<div class="col-md-4">
<h3>Mens Wear</h3>
<!-- Add mens wear products here -->
</div>
</div>
</div>

<!-- Include Bootstrap JS -->


67
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"
></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></sc
ript>
</body>
</html>
68
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

OUTPUT:

LOGIN PAGE:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login - Online Shopping</title>
<!-- Include Bootstrap CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- Add your custom CSS if necessary -->
<style>
/* Custom CSS styles can be added here */
</style>
</head>
<body>
<!-- Navigation Bar (if needed) -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
69
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<a class="navbar-brand" href="#"><img


src="C:\Users\DELL\OneDrive\Desktop\jr_files\draw_svg20200611-27481-
1gfzrgc.svg.png" alt="Website Logo" height="30"></a>
</nav>

<!-- Login Form -->


<div class="container mt-5">
<div class="row justify-content-center">
<div class="col-md-6">
<h2 class="mb-4">Login</h2>
<form action="process_login.php" method="POST">
<!-- Username or Email -->
<div class="form-group">
<label for="username">Username or Email</label>
<input type="text" class="form-control" id="username"
name="username" required>
</div>

<!-- Password -->


<div class="form-group">
<label for="password">Password</label>
<input type="password" class="form-control" id="password"
name="password" required>
</div>

<!-- Submit Button -->


<button type="submit" class="btn btn-primary">Login</button>
</form>
</div>
70
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

</div>
</div>

<!-- Include Bootstrap JS -->


<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"
></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></sc
ript>
</body>
</html>

OUTPUT:

ABOUT US:
<!DOCTYPE html>
<html lang="en">
71
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About Us - Online Shopping</title>
<!-- Include Bootstrap CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- Add your custom CSS if necessary -->
<style>
/* Custom CSS styles can be added here */
</style>
</head>
<body>
<!-- Navigation Bar (if needed) -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#"><img
src="C:\Users\DELL\OneDrive\Desktop\jr_files\draw_svg20200611-27481-
1gfzrgc.svg.png" alt="Website Logo" height="30"></a>
</nav>

<!-- About Us Section -->


<div class="container mt-5">
<h2>About Us</h2>
<p>
Welcome to Online Shopping, your one-stop destination for a wide range
of products.We offer a diverse selection of items, including clothing,
electronics, home goods, and much more.
</p>
<p>
72
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

Our mission is to provide you with a convenient and enjoyable online


shopping experience. We are committed to offering high-quality products,
exceptional customer service, and competitive prices.
</p>
</div>

<!-- Include Bootstrap JS -->


<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"
></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></sc
ript>
</body>
</html>

OUTPUT:
73
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

Program 13 :-
13) Design a website for Electronics Store containing multiple webpages.
• Home/Index page
• Registration page
• Login page
• Electronic Stock(different type of Variety) page
• About us page
Do proper validation from use JavaScript. using HTML5, CSS, Bootstrap
4 for styling.
HOME/INDEX:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Electronics Store</title>
<!-- Include Bootstrap CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- Add your custom CSS if necessary -->
<style>
/* Custom CSS styles can be added here */
</style>
</head>
<body>
<!-- Navigation Bar -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">Electronics Store</a>
<!-- Add navigation links here -->
74
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<ul class="navbar-nav ml-auto">


<li class="nav-item active">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="LOG13.HTML">Login</a>
</li>
<li class="nav-item">
<a class="nav-link" href="REG13.HTML">Registration</a>
</li>
<li class="nav-item">
<a class="nav-link" href="ele13.html">Electronic Stock</a>
</li>
<li class="nav-item">
<a class="nav-link" href="AB13.HTML">About Us</a>
</li>
</ul>
</nav>

<!-- Main Content for Home Page -->


<div class="container mt-5">
<h1>Welcome to Electronics Store</h1>
<p>Your source for the latest electronic gadgets and appliances.</p>
<!-- Add more content as needed -->
</div>

<!-- Include Bootstrap JS -->


75
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"
></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></sc
ript>
</body>
</html>
76
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

OUTPUT:

Registration page :
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Registration - Electronics Store</title>
<!-- Include Bootstrap CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- Add your custom CSS if necessary -->
<style>
/* Custom CSS styles can be added here */
</style>
</head>
<body>
<!-- Navigation Bar (if needed) -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">Electronics Store</a>
<!-- Add navigation links here -->
</nav>
77
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<!-- Registration Form -->


<div class="container mt-5">
<div class="row justify-content-center">
<div class="col-md-6">
<h2 class="mb-4">Registration</h2>
<form action="process_registration.php" method="POST">
<!-- Full Name -->
<div class="form-group">
<label for="fullName">Full Name</label>
<input type="text" class="form-control" id="fullName"
name="fullName" required>
</div>

<!-- Email -->


<div class="form-group">
<label for="email">Email</label>
<input type="email" class="form-control" id="email"
name="email" required>
</div>

<!-- Password -->


<div class="form-group">
<label for="password">Password</label>
<input type="password" class="form-control" id="password"
name="password" required>
</div>
<!-- Confirm Password -->
<div class="form-group">
<label for="confirmPassword">Confirm Password</label>
<input type="password" class="form-control"
id="confirmPassword" name="confirmPassword" required>
</div>

<!-- Address -->


<div class="form-group">
<label for="address">Address</label>
<textarea class="form-control" id="address" name="address"
rows="3" required></textarea>
</div>
78
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<!-- Add more fields as needed -->

<!-- Submit Button -->


<button type="submit" class="btn btn-primary">Register</button>
</form>
</div>
</div>
</div>
<!-- Include Bootstrap JS -->
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"
></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></sc
ript>
</body>
</html>
OUTPUT:

LOGIN PAGE:
<!DOCTYPE html>
<html lang="en">
<head>
79
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login - Electronics Store</title>
<!-- Include Bootstrap CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- Add your custom CSS if necessary -->
<style>
/* Custom CSS styles can be added here */
</style>
</head>
<body>
<!-- Navigation Bar (if needed) -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">Electronics Store</a>
<!-- Add navigation links here -->
</nav>

<!-- Login Form -->


<div class="container mt-5">
<div class="row justify-content-center">
<div class="col-md-6">
<h2 class="mb-4">Login</h2>
<form action="process_login.php" method="POST">
<!-- Username or Email -->
<div class="form-group">
<label for="username">Username or Email</label>
80
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<input type="text" class="form-control" id="username"


name="username" required>
</div>

<!-- Password -->


<div class="form-group">
<label for="password">Password</label>
<input type="password" class="form-control" id="password"
name="password" required>
</div>

<!-- Add Remember Me checkbox if needed -->


<!-- <div class="form-check">
<input type="checkbox" class="form-check-input"
id="rememberMe">
<label class="form-check-label" for="rememberMe">Remember
Me</label>
</div> -->

<!-- Submit Button -->


<button type="submit" class="btn btn-primary">Login</button>
</form>
</div>
</div>
</div>

<!-- Include Bootstrap JS -->


<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
81
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"
></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></sc
ript>
</body>
</html>

OUTPUT:
82
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

ELECTRONICS STOCK:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Electronic Stock - Electronics Store</title>
<!-- Include Bootstrap CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- Add your custom CSS if necessary -->
<style>
/* Custom CSS styles can be added here */
</style>
</head>
<body>
<!-- Navigation Bar (if needed) -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">Electronics Store</a>
<!-- Add navigation links here -->
</nav>

<!-- Electronic Stock Page Content -->


<div class="container mt-5">
<h2>Electronic Stock</h2>
<div class="row">
<div class="col-md-4">
<!-- Product Card 1 -->
83
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<div class="card mb-4">


<div class="card-body">
<h5 class="card-title">Product 1</h5>
<p class="card-text">Description of Product 1.</p>
<p class="card-text">Price: $99.99</p>
<!-- Add a "Buy Now" button or other actions -->
</div>
</div>
</div>
<div class="col-md-4">
<!-- Product Card 2 -->
<div class="card mb-4">
<div class="card-body">
<h5 class="card-title">Product 2</h5>
<p class="card-text">Description of Product 2.</p>
<p class="card-text">Price: $149.99</p>
<!-- Add a "Buy Now" button or other actions -->
</div>
</div>
</div>
<div class="col-md-4">
<!-- Product Card 3 -->
<div class="card mb-4">
<div class="card-body">
<h5 class="card-title">Product 3</h5>
<p class="card-text">Description of Product 3.</p>
<p class="card-text">Price: $199.99</p>
84
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<!-- Add a "Buy Now" button or other actions -->


</div>
</div>
</div>
</div>
<!-- Add more product cards as needed -->
</div>

<!-- Include Bootstrap JS -->


<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"
></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></sc
ript>
</body>
</html>

OUTPUT:
85
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

ABOUT US:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About Us - Electronics Store</title>
<!-- Include Bootstrap CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- Add your custom CSS if necessary -->
<style>
/* Custom CSS styles can be added here */
</style>
</head>
<body>
<!-- Navigation Bar (if needed) -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">Electronics Store</a>
<!-- Add navigation links here -->
</nav>

<!-- About Us Section -->


<div class="container mt-5">
<h2>About Us</h2>
<p>
86
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

Welcome to Electronics Store, your premier destination for a wide range


of electronic products. We are committed to providing high-quality gadgets and
appliances to our customers.
</p>
<p>
Our team is dedicated to delivering the latest technology trends and
innovations. We aim to make your life easier and more enjoyable with our
products.
</p>
</div>

<!-- Include Bootstrap JS -->


<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"
></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></sc
ript>
</body>
</html>

OUTPUT:
87
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51
88
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

Program 14 :-
14) Design a website for Online Banking System with following pages;
• Registration Customer
• Login Customer
• View Account Details
• Do proper validation from use JavaScript. using HTML5, CSS,
Bootstrap 4 for styling.

REGISTRATION:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Customer Registration</title>
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<style>
body {
background-color: #f8f9fa;
}
.container {
margin-top: 50px;
}
</style>
</head>
<body>
<div class="container">
<div class="row justify-content-center">
89
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<div class="col-md-6">
<div class="card">
<div class="card-header">
<h3>Customer Registration</h3>
</div>
<div class="card-body">
<form id="registrationForm">
<div class="form-group">
<label for="username">Username</label>
<input type="text" class="form-control" id="username"
name="username" required>
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" class="form-control"
id="password" name="password" required>
</div>
<div class="form-group">
<label for="confirmPassword">Confirm Password</label>
<input type="password" class="form-control"
id="confirmPassword" name="confirmPassword" required>
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" class="form-control" id="email"
name="email" required>
</div>
<button type="submit" class="btn btn-primary btn-
block">Register</button>
90
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<a href="LOG14.HTML">Already have an account? Log


in</a>
</form>
</div>
</div>
</div>
</div>
</div>

<script>
document.getElementById('registrationForm').addEventListener('submit',
function(event) {
const password = document.getElementById('password').value;
const confirmPassword =
document.getElementById('confirmPassword').value;

if (password !== confirmPassword) {


alert('Passwords do not match.');
event.preventDefault();
}
});
</script>
</body>
</html>

OUTPUT:
91
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51
92
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

LOGIN :
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Customer Login</title>
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<style>
body {
background-color: #f8f9fa;
}
.container {
margin-top: 50px; }
</style>
</head>
<body>
<div class="container">
<div class="row justify-content-center">
<div class="col-md-6">
<div class="card">
<div class="card-header">
<h3>Customer Login</h3>
</div>
<div class="card-body">
<form id="loginForm">
<div class="form-group">
93
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<label for="username">Username</label>
<input type="text" class="form-control" id="username"
name="username" required> </div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" class="form-control"
id="password" name="password" required>
</div>
<button type="submit" class="btn btn-primary btn-
block">Login</button>
</form>
</div> </div>
</div>
</div>
</div>
</body>
</html>
OUTPUT:
94
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

ACCOUNT DETAILS:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>View Bank Account Details</title>
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<style>
body {
background-color: #f8f9fa; }
.container {
margin-top: 50px;}
</style>
</head>
<body>
<div class="container">
<div class="row justify-content-center">
<div class="col-md-6">
<div class="card">
<div class="card-header">
<h3>Bank Account Details</h3>
</div>
<div class="card-body">
<div class="form-group">
<label for="accountNumber">Account Number</label>
95
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<input type="text" class="form-control" id="accountNumber"


name="accountNumber" readonly>
</div>
<div class="form-group">
<label for="accountBalance">Account Balance</label>
<input type="text" class="form-control" id="accountBalance"
name="accountBalance" readonly>
</div>
<div class="form-group">
<label for="accountHolder">Account Holder</label>
<input type="text" class="form-control" id="accountHolder"
name="accountHolder" readonly>
</div></div></div>
</div>
</div>
</div></body>
</html>
OUTPUT:
96
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

VALIDATION:
// registration.js
document.getElementById('registrationForm').addEventListener('submit',
function(event) {
const username = document.getElementById('username').value;
const password = document.getElementById('password').value;

if (!username || !password) {
alert('Please fill in all fields.');
event.preventDefault();
}
});

// login.js
document.getElementById('loginForm').addEventListener('submit',
function(event) {
const username = document.getElementById('username').value;
const password = document.getElementById('password').value;

if (!username || !password) {
alert('Please fill in all fields.');
event.preventDefault();
}
});
97
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

Program 15 :-
15) Design a website for College Management System containing multiple
webpages.
• Home/Index page
• Registration page
• Login page
• About us page
• Do proper validation from use JavaScript.
using CSS, Bootstrap 4 for styling.
Code:
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>College Management System</title>
<!-- Link to Bootstrap CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- Link to your custom CSS file -->
<style>

.container {
display: flex;
background-color: #047BD5;
color: white;
height: 30vh;
width: 100%;
98
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

.cent {
display: flex;
flex-direction: column;
text-align: center;
margin-left: 24%;
align-items: center;
justify-content: center;
}

p{
font-size: 20px;
}

h1 {
font-size: 3rem;
font-weight: bolder;
}

.container2 {
display: flex;
height: 60vh;
width: 100vw;
background-color: wheat;
flex-direction: row;
text-align: center;
99
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

box-shadow: 10px;
justify-self: center;
justify-content: flex-start;
margin-top: 0;
align-items:center;

.portal1 {
display: flex;
height: fit-content;
margin-right: 46px;
background-color: white;
color: black;
text-align: center;
padding: 10px;
box-shadow: 10px;
flex-direction: column;
width: 20vw;
box-shadow: color(srgb black black black);
margin-left: 350px;

}
100
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

h2 p {
margin: 0;
}

.portal2 {
display: flex;
padding: 10px;
margin-right: 46px;
text-align: center;
height: fit-content;
background-color: white;
color: black;
flex-direction: column;
padding: auto;
box-shadow: color(srgb black black black);

width: 20vw;

.portal3 {
display: flex;
height: fit-content;
background-color: white;
color: black;
flex-direction: column;
101
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

width: 20vw;
padding: 10px;
box-shadow: 29px;
box-shadow: color(srgb black black black);
margin-right: 46px;
padding: auto;
}
</style>
</head>

<body>
<!-- Common navigation menu -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="index.html">College Management
System</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-
target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle
navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="REG15.HTML">Registration</a>
102
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

</li>
<li class="nav-item">
<a class="nav-link" href="LOG15.HTML">Login</a>
</li>
<li class="nav-item">
<a class="nav-link" href="AB15.HTML">About Us</a>
</li>
</ul>
</div>
</nav>

<div class="container">

<div class="cent">

<h2>Collage Mangement system</h2>


</br>
<p id="p2">your one stop solution for collage operations.</p>
</div>
</div >

<div class="container3">
103
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<div class="container2">
<div class="portal1">
<h2>student portal</h2>
<br>
<p>access you garde ,more.</p>
<br>
<a href="#">Login</a>
</div>
<br>
<div class="portal2">
<h2>student portal</h2>
<br>
<p>access you garde ,more.</p>
<br>
<a href="#">Login</a>
</div>
<br>
<div class="portal3">
<h2>student portal</h2>
<br>
<p>access you garde ,more.</p>
<br>
<a href="#">Login</a>
</div>
</div>
</div>
104
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<!-- Link to Bootstrap JS and jQuery -->


<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js
"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></sc
ript>
<!-- Link to your custom JavaScript file -->
<script src="script.js"></script>
</body>

</html>
105
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

OUTPUT:

• Registration page :
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Registration - College Management System</title>
<!-- Link to Bootstrap CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
>
<!-- Link to your custom CSS file -->
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container mt-5">
<div class="row justify-content-center">
<div class="col-md-6">
<div class="card">
<div class="card-header">
<h2 class="text-center">Registration</h2>
106
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

</div>
<div class="card-body">
<form>
<!-- Name Field -->
<div class="form-group">
<label for="name">Full Name</label>
<input type="text" class="form-control" id="name"
placeholder="Enter your full name" required>
</div>

<!-- Email Field -->


<div class="form-group">
<label for="email">Email Address</label>
<input type="email" class="form-control" id="email"
placeholder="Enter your email address" required>
</div>

<!-- Password Field -->


<div class="form-group">
<label for="password">Password</label>
<input type="password" class="form-control"
id="password" placeholder="Enter your password" required>
</div>

<!-- Confirm Password Field -->


<div class="form-group">
<label for="confirmPassword">Confirm
Password</label>
<input type="password" class="form-control"
id="confirmPassword" placeholder="Confirm your password" required>
</div>

<!-- Submit Button -->


<button type="submit" class="btn btn-primary btn-
block">Register</button>
</form>
</div>
</div>
</div>
</div>
107
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

</div>

<!-- Link to Bootstrap JS and jQuery -->


<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.
js"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></s
cript>
<!-- Link to your custom CSS file -->
<script src="script.js"></script>
</body>
</html>
108
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

OUTPUT:

LOG IN PAGE:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login - College Management System</title>
<!-- Link to Bootstrap CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- Link to your custom CSS file -->
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container mt-5">
109
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<div class="row justify-content-center">


<div class="col-md-6">
<div class="card">
<div class="card-header">
<h2 class="text-center">Login</h2>
</div>
<div class="card-body">
<form>
<!-- Email Field -->
<div class="form-group">
<label for="email">Email Address</label>
<input type="email" class="form-control" id="email"
placeholder="Enter your email address" required>
</div>

<!-- Password Field -->


<div class="form-group">
<label for="password">Password</label>
<input type="password" class="form-control"
id="password" placeholder="Enter your password" required>
</div>

<!-- Remember Me Checkbox -->


<div class="form-check">
<input type="checkbox" class="form-check-input"
id="rememberMe">
<label class="form-check-label"
for="rememberMe">Remember Me</label>
</div>
110
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<!-- Submit Button -->


<button type="submit" class="btn btn-primary btn-
block">Login</button>
</form>
</div>
</div>
</div>
</div>
</div>

<!-- Link to Bootstrap JS and jQuery -->


<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js
"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></sc
ript>
<!-- Link to your custom CSS file -->
<script src="script.js"></script>
</body>
</html>
111
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

OUTPUT:

ABOUT US:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About Us - College Management System</title>
<!-- Link to Bootstrap CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- Link to your custom CSS file -->
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container mt-5">
112
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<div class="row">
<div class="col-md-6">
<h1>About Us</h1>
<p>A
Welcome to the College Management System website. We are
committed to providing a seamless experience for students, faculty, and
administrators in managing various aspects of college life.
</p>
<p>
Our system helps streamline tasks such as student registration,
course management, attendance tracking, and more. We aim to simplify the
management of academic data and enhance the overall efficiency of educational
institutions.
</p>
<p>
Whether you are a student looking for course information or an
administrator seeking to manage academic operations, our College Management
System offers a user-friendly interface and powerful tools to meet your needs.
</p>
</div>
<div class="col-md-6">
<!-- You can add images or additional content here -->
</div>
</div>
</div>

<!-- Link to Bootstrap JS and jQuery -->


<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
113
Name:- Bhadreshwara Mihir Roll No :-S.Y.BCA Div-1 = 51

<script
src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js
"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></sc
ript>
<!-- Link to your custom CSS file -->
<script src="script.js"></script>
</body>
</html>

OUTPUT:

::::::::::::::::::::::::::::::::::::: Thank You ::::::::::::::::::::::::::::::::::::

You might also like