SCHOOL OF COMPUTER SCIENCE AND ENGINEERING
WINTER SEMESTER 2024-2025
Lab Assessment-1
Program Name & Branch: B. Tech CSBS
Course code & Title: CBS3014 – Modern Web Applications
Faculty Name: RAMESH C
Name: Himanshu Shekhar
Reg. No: 22BBS0070
Basic HTML Code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My First Website</title>
<link rel="stylesheet" href="styles.css">
<!-- Font Awesome for Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-
awesome/5.15.4/css/all.min.css">
</head>
<body>
<header>
<h1>Welcome to My Website</h1>
<!-- Icon on the top right -->
<div class="icon-container">
<i class="fas fa-cogs"></i> <!-- This is the icon you can change -->
</div>
</header>
<section id="about-me">
<h2>About Me</h2>
<img src="abc.jpeg" alt="Your Name">
<p>
I'm very passionate about technology and interested in designing and
developing innovative computer systems.
I am also the type of person who likes to interact with new people.
Currently, I am learning about marketing and management and exploring the
pros and cons of the stock market.
</p>
</section>
<section id="specialties">
<h2>Specialties</h2>
<p>Here are the areas I excel in:</p>
<ul>
<li>Innovative system design and architecture</li>
<li>Programming languages: Python, Java, C++</li>
<li>Data science and machine learning model development</li>
<li>Dynamic interface creation for web and mobile platforms</li>
<li>Project management and team leadership</li>
</ul>
</section>
<section id="areas-of-interest">
<h2>Areas of Interest</h2>
<p>These are the areas I am deeply curious about:</p>
<ul>
<li>Artificial Intelligence and machine learning</li>
<li>Blockchain and its applications</li>
<li>Stock market analysis and investment strategies</li>
<li>Marketing and management methodologies</li>
<li>Exploring human-computer interaction (HCI)</li>
</ul>
</section>
<section id="portfolio">
<h2>Portfolio</h2>
<p>Here are some of my recent works:</p>
<ul>
<li><a href="https://github.com/yourusername/project1"
target="_blank">Dynamic Chatbot Interface</a></li>
<li><a href="https://github.com/yourusername/project2" target="_blank">GDP
Prediction Using Satellite Data</a></li>
<li><a href="https://github.com/yourusername/project3"
target="_blank">Multi-threaded Messaging System</a></li>
</ul>
</section>
<section id="resume">
<h2>Resume</h2>
<p>
You can download my resume here:
<a
href="https://drive.google.com/file/d/1rgTs8FVNn4kbBQe8EsZUhK7_CyBWomp3/view?usp=shari
ng" target="_blank" download style="font-weight: bold; color: #FF4500;">Download
Resume</a>
</p>
</section>
<section id="social-links">
<h2>Connect with Me</h2>
<div class="social-icons">
<a href="https://www.linkedin.com/in/yourprofile" target="_blank"
class="social-icon">
<i class="fab fa-linkedin"></i>
</a>
<a href="mailto:[email protected]" class="social-icon">
<i class="fas fa-envelope"></i>
</a>
<a href="https://github.com/yourusername" target="_blank" class="social-
icon">
<i class="fab fa-github"></i>
</a>
</div>
</section>
<footer>
<p>© 2025 Himanshu Shekhar. All rights reserved.</p>
</footer>
</body>
</html>
/* General Styles */
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(135deg, #6fa3ef, #98d9f3);
color: #333;
line-height: 1.6;
}
/* Header Styles */
header {
background: linear-gradient(90deg, #4a90e2, #9013fe);
color: white;
text-align: center;
padding: 40px 20px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
border-bottom: 5px solid #333;
position: relative; /* Ensures icon can be positioned absolutely within the header
*/
}
h1 {
font-size: 42px;
margin: 0;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
/* Icon Container Styles */
.icon-container {
position: absolute;
top: 20px;
right: 20px;
font-size: 30px;
color: white;
cursor: pointer;
transition: color 0.3s ease;
}
.icon-container:hover {
color: #FF6347; /* Change color on hover */
}
/* Section Styles */
section {
padding: 30px;
margin: 30px auto;
max-width: 900px;
background: #ffffff;
border-radius: 12px;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
transition: all 0.3s ease-in-out;
}
section:hover {
transform: scale(1.02);
}
section h2 {
font-size: 28px;
margin-bottom: 20px;
color: #4a90e2;
}
/* About Me Section */
#about-me {
background-color: #f0f8ff; /* Light background color for description */
padding: 20px;
border-radius: 10px;
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}
#about-me img {
border-radius: 50%;
display: block;
margin: 0 auto 20px;
width: 180px;
height: 180px;
border: 5px solid #4a90e2;
transition: all 0.3s ease;
}
#about-me img:hover {
transform: scale(1.1);
}
/* Specialties and Areas of Interest Sections */
ul {
list-style: none;
padding: 0;
margin: 0;
}
ul li {
margin: 12px 0;
font-size: 18px;
}
ul li::before {
content: "✔";
color: #4a90e2;
margin-right: 10px;
}
/* Portfolio Section */
#portfolio ul {
list-style: none;
padding: 0;
text-align: left;
}
#portfolio li {
margin: 15px 0;
}
#portfolio a {
color: #4a90e2;
text-decoration: none;
font-weight: bold;
font-size: 18px;
transition: color 0.3s ease, text-shadow 0.3s ease;
}
#portfolio a:hover {
color: #9013fe;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
/* Resume Section */
#resume a {
color: #FF4500;
text-decoration: none;
font-weight: bold;
font-size: 18px;
transition: color 0.3s ease;
}
#resume a:hover {
color: #FF6347;
}
/* Social Links Section */
#social-links {
text-align: center;
margin-top: 40px;
}
#social-links h2 {
font-size: 28px;
color: #4a90e2;
margin-bottom: 20px;
}
.social-icons {
display: flex;
justify-content: center;
gap: 30px;
}
.social-icon {
font-size: 30px;
color: #4a90e2;
text-decoration: none;
transition: color 0.3s ease;
}
.social-icon:hover {
color: #9013fe;
}
/* Footer Styles */
footer {
text-align: center;
padding: 15px;
background-color: #4a90e2;
color: white;
font-size: 16px;
position: relative;
bottom: 0;
width: 100%;
border-top: 5px solid #333;
}
footer p {
margin: 0;
}
/* Mobile Styles */
@media (max-width: 768px) {
section {
padding: 20px;
margin: 20px;
max-width: 95%;
}
header {
padding: 30px 20px;
}
h1 {
font-size: 30px;
}
#about-me img {
width: 150px;
height: 150px;
}
}
OUTPUT:-