IFA Mid Term Project
IFA Mid Term Project
Mid-term project
Submitted By:
Aakash Rajdhami
Submitted To:
Department Of IT
LCID:LC00017002576
Program:BIT
Sections:F
Date:24-08-2024
Table of Content
exasCollegeofManagementandIT..........................................................................................0
T
Explore,LearnandExcel..............................................................................................................0
1.Introduction.................................................................................................................................2
2.ProjectOverview.........................................................................................................................2
3.DesignandDevelopmentProcess..............................................................................................3
3.1Homepage...........................................................................................................................3
3.2LuxuryRoomsPages...........................................................................................................4
3.3DiningPage..........................................................................................................................6
3.4SpaandWellnessPage.........................................................................................................7
3.5AboutUsPage.....................................................................................................................8
3.6ContactPage........................................................................................................................9
4.TechnologiesUsed.....................................................................................................................10
5.TestingandResponsiveness.....................................................................................................10
6.SourceCode..............................................................................................................................13
6.1index.html..........................................................................................................................13
6.2food.html............................................................................................................................19
6.3room.html...........................................................................................................................23
6.4spa.html..............................................................................................................................26
6.5about.html..........................................................................................................................30
6.6service.html........................................................................................................................34
6.7index.css.............................................................................................................................36
7.Conclusion................................................................................................................................39
1.Introduction
Welcome to the "Hasbin Hotel" website project, a comprehensive and responsive web design
crafted to provide an elegant online presence for a luxurious hotel. This website is designed to
showcase the hotel's finest features, including its exquisite rooms, top-tier dining experiences,
and rejuvenating spa services. With a focus on user experience, the site aims to offer visitors an
easy-to-navigate platform where they can explore everything the hotel has to offer, from booking
a stay to discovering the amenities and services available.
2.Project Overview
Website structure
Homepage:This website features a striking hero image that sets the tone for the hotel’s brand,
along with quick access to essential sections like Rooms, Dining, and Spa Services. And briefly
introduces the hotel, inviting visitors to explore more.
Rooms:This website hotel included different room categorieswith images and descriptions,
emphasizing comfort, luxury, and modern amenities.And also provides easy navigation for
booking or exploring room details.
Dining:This website hotel highlight the hotel’s culinaryofferings, featuring exquisite dining
options with sample menus and chef specials.
Spa & Wellness:This website hotel provides the detail of rejuvenating spa services offered by
the hotel, including massages, therapies, and wellness programs. It also features a calming design
to reflect the serene atmosphere of the spa.
About Us:The website hotel offers an overview of thehotel’s history, mission, and
values.Including images and a brief narrative about what makes the hotel unique.
Contact:The hotel has provided essential contact information,including phone numbers, email,
and a contact form for inquiries or bookings.
The "Hasbin Hotel" website is built using a combination of modern web technologies to ensure a
robust, responsive, and visually appealing user experience.
CSS (Cascading Style Sheets):CSS is employed to style the website, enhancing the
visual appearance and ensuring consistency across different devices. Custom CSS is used
to define colors, fonts, margins, padding, and other design elements, allowing for a
unique and cohesive design that aligns with the hotel's brand.
Bootstrap's built-in components are also customized with CSS to match the hotel’s
aesthetic, allowing for a balance between functionality and design.
Website on smartphone
Website on Tablet
6. Source Code
6.1 index.html
<!
DOCTYPE
html
>
<
html
lang
=
"
en"
>
<
head
>
<
meta
charset
=
"UTF-8"
>
<
meta
name
=
"viewport"
content
=
"width=device-width,
initial-scale=1.0"
>
<
title
> Hasbin hotel</
title
>
<
link
href
=
"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/boot
strap.min.css"
rel
=
"stylesheet"
>
<
link
rel
=
"stylesheet"
href
=
"index.css"
>
<
link
href
=
"https://fonts.googleapis.com/css2?family=Playfair+Display:
wght@700&display=swap"
rel
=
"stylesheet"
>
<!-- <style>
/* Ensure full width */
html, body {
width: 100%;
margin: 0;
padding: 0;
}
.background-image-container h2 {
margin-bottom: 200px;
}
.background-image-container p {
margin-bottom: 100px;
}
/* Footer */
footer {
background-color: #f8f9fa;
width: 100%;
}
ul {
list-style-type: none;
padding: 0;
}
ul li {
margin: 10px 0;
}
.custom-circle {
width: 650px;
/* Desired width */
height: 150px; /* Desired height */
object-fit: cover; /* Ensures the image covers the entire
area */
border-radius: 0; /* Removes the circular/oval shape */
} -->
</
style
>
</
head
>
<
body
>
<!-- Main Content -->
<
div
class
=
"
content"
>
<!-- Navigation -->
<
nav
class
=
"
navbar navbar-expand-lg"
style
=
"
background-image:
linear-gradient(to right, rgb(11 61 93), rgb(113, 163, 232));;"
>
<
div
class
=
"
container-fluid"
>
<
a
class
=
"
navbar-brand text-white"
href
=
"#"
>Hasbin
Hotel</
a
>
<
button
class
=
"navbar-toggler"
type
=
"button"
data-bs-toggle
=
"
collapse"
data-bs-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 ms-auto"
>
<
l
i
class
=
"nav-item"
>
<
a
class
=
"nav-link active text-white"
aria-current
=
"page"
href
=
"#"
>Home</
a
>
</
li
>
<
l
i
class
=
"nav-item"
>
<
a
class
=
"nav-link text-white"
href
=
"about.html"
>About Us</
a
>
</
li
>
<
l
i
class
=
"nav-item"
>
<
a
class
=
"nav-link text-white"
href
=
"#contact"
>Contact</
a
>
</
li
>
</
ul
>
</
div
>
</
div
>
</
nav
>
</
div
>
<
script
src
=
"https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootst
rap.bundle.min.js"
></
script
>
</
body
>
</
html
>
6.2 food.html
<!
DOCTYPE
html
>
<
html
lang
=
"
en"
>
<
head
>
<
meta
charset
=
"UTF-8"
>
<
meta
name
=
"viewport"
content
=
"width=device-width,
initial-scale=1.0"
>
<
title
>About Us -
Hasbin hotel</
title
>
<
link
href
=
"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/boot
strap.min.css"
rel
=
"stylesheet"
>
</
head
>
<
body
>
<
nav
class
=
"
navbar navbar-expand-lg"
style
=
"background-image: linear-gradient(to right, rgb(36 96
169), rgb(113, 163, 232));"
>
<
div
class
=
"
container-fluid"
>
<
a
class
=
"navbar-brand text-white"
href
=
"#"
>Luxe
Stay Inn</
a
>
<
button
class
=
"navbar-toggler"
type
=
"button"
data-bs-toggle
=
"
collapse"
data-bs-target
=
"#navbarNav"
aria-controls
=
"navbarNav"
aria-expanded
=
"false"
aria-label
=
"
Toggle navigation"
>
<
s
pan
class
=
"navbar-toggler-icon"
></
span
>
</
button
>
<
div
class
=
"
collapse navbar-collapse"
id
=
"navbarNav"
>
<
u
l
class
=
"navbar-nav ms-auto"
>
<
li
class
=
"nav-item"
>
<
a
class
=
"nav-link active
text-white"
aria-current
=
"page"
href
=
"index.html"
>Home</
a
>
</
li
>
<
li
class
=
"nav-item"
>
<
a
class
=
"nav-link text-white"
href
=
"about.html"
>About Us</
a
>
</
li
>
<
li
class
=
"nav-item"
>
<
a
class
=
"nav-link text-white"
href
=
"contact.html"
>Contact</
a
>
</
li
>
</
ul
>
</
div
>
</
div
>
</
nav
>
</
p
>
</
div
>
<!-- Image Section -->
<
div
class
=
"
col-md-6"
>
<
i
mg
src
=
"img/food.jpg"
alt
=
"Resort
Paradise"
class
=
"img-fluid"
>
</
div
>
</
div
>
</
div
>
</
section
>
<!-- About Us Section -->
<
section
class
=
"
about-us-section py-5"
>
<
div
class
=
"
container"
>
<
div
class
=
"
row"
>
<!-- Image Section -->
<
div
class
=
"
col-md-6"
>
<
i
mg
src
=
"img/food2.jpg"
alt
=
"Resort
Paradise"
class
=
"img-fluid custom-img-width"
>
</
div
>
<!-- Text Section -->
<
div
class
=
"
col-md-6"
>
<
h
2
>Chefs Preparing Food</
h2
>
<
p
>In the photo, a group of professional
chefs,
dressed in traditional black chef uniforms and hats, are engaged
in the careful preparation and arrangement of various dishes at
a buffet.
The focus of the scene is on a young chef in
the foreground, who is attentively placing fresh greens onto a
plate.
His colleagues in the background are
similarly occupied, ensuring the food is presented appealingly.
The setting, likely a hotel or restaurant,
features a modern and elegant interior,
enhancing the upscale dining experience.
</
p
>
</
div
>
</
div
>
</
div
>
</
section
>
<
script
src
=
"https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootst
rap.bundle.min.js"
></
script
>
</
body
>
</
html
>
6.3 room.html
<!
DOCTYPE
html
>
<
html
lang
=
"
en"
>
<
head
>
<
meta
charset
=
"UTF-8"
>
<
meta
name
=
"viewport"
content
=
"width=device-width,
initial-scale=1.0"
>
<
title
>About Us -
Hasbin hotel</
title
>
<
link
href
=
"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/boot
strap.min.css"
rel
=
"stylesheet"
>
<
link
rel
=
"stylesheet"
href
=
"room.css"
>
</
head
>
<
body
>
<
nav
class
=
"
navbar navbar-expand-lg"
style
=
"background-image: linear-gradient(to right,
rgb(36 96
169), rgb(113, 163, 232));"
>
<
div
class
=
"
container-fluid"
>
<
a
class
=
"navbar-brand text-white"
href
=
"#"
>Luxe
Stay Inn</
a
>
<
button
class
=
"navbar-toggler"
type
=
"button"
data-bs-toggle
=
"
collapse"
data-bs-target
=
"#navbarNav"
aria-controls
=
"navbarNav"
aria-expanded
=
"false"
aria-label
=
"
Toggle navigation"
>
<
s
pan
class
=
"navbar-toggler-icon"
></
span
>
</
button
>
<
div
class
=
"
collapse navbar-collapse"
id
=
"navbarNav"
>
<
u
l
class
=
"navbar-nav ms-auto"
>
<
li
class
=
"nav-item"
>
<
a
class
=
"nav-link active
text-white"
aria-current
=
"page"
href
=
"index.html"
>Home</
a
>
</
li
>
<
li
class
=
"nav-item"
>
<
a
class
=
"nav-link text-white"
href
=
"about.html"
>About Us</
a
>
</
li
>
<
li
class
=
"nav-item"
>
<
a
class
=
"nav-link text-white"
href
=
"contact.html"
>Contact</
a
>
</
li
>
</
ul
>
</
div
>
</
div
>
</
nav
>
</
p
>
</
div
>
</
div
>
</
div
>
</
section
>
<
script
src
=
"https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootst
rap.bundle.min.js"
></
script
>
</
body
>
</
html
>
room.css
.custom-img-width
{
width
:
100
%
;
max-width
:
100
%
;
height
:
60
%
;
/* Ensures responsiveness */
}
6.4 spa.html
<!
DOCTYPE
html
>
<
html
lang
=
"
en"
>
<
head
>
<
meta
charset
=
"UTF-8"
>
<
meta
name
=
"viewport"
content
=
"width=device-width,
initial-scale=1.0"
>
<
title
>About Us -
Hasbin hotel</
title
>
<
link
href
=
"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/boot
strap.min.css"
rel
=
"stylesheet"
>
</
head
>
<
body
>
<
nav
class
=
"
navbar navbar-expand-lg"
style
=
"background-image: linear-gradient(to right,
rgb(36 96
169), rgb(113, 163, 232));"
>
<
div
class
=
"
container-fluid"
>
<
a
class
=
"navbar-brand text-white"
href
=
"#"
>Luxe
Stay Inn</
a
>
<
button
class
=
"navbar-toggler"
type
=
"button"
data-bs-toggle
=
"
collapse"
data-bs-target
=
"#navbarNav"
aria-controls
=
"navbarNav"
aria-expanded
=
"false"
aria-label
=
"
Toggle navigation"
>
<
s
pan
class
=
"navbar-toggler-icon"
></
span
>
</
button
>
<
div
class
=
"
collapse navbar-collapse"
id
=
"navbarNav"
>
<
u
l
class
=
"navbar-nav ms-auto"
>
<
li
class
=
"nav-item"
>
<
a
class
=
"nav-link active
text-white"
aria-current
=
"page"
href
=
"index.html"
>Home</
a
>
</
li
>
<
li
class
=
"nav-item"
>
<
a
class
=
"nav-link text-white"
href
=
"about.html"
>About Us</
a
>
</
li
>
<
li
class
=
"nav-item"
>
<
a
class
=
"nav-link text-white"
href
=
"contact.html"
>Contact</
a
>
</
li
>
</
ul
>
</
div
>
</
div
>
</
nav
>
</
p
>
</
div
>
<!-- Image Section -->
<
div
class
=
"
col-md-6"
>
<
i
mg
src
=
"img/spa1.jpg"
alt
=
"Resort
Paradise"
class
=
"img-fluid"
>
</
div
>
</
div
>
</
div
>
</
section
>
<!-- About Us Section -->
<
section
class
=
"
about-us-section py-5"
>
<
div
class
=
"
container"
>
<
div
class
=
"
row"
>
<!-- Image Section -->
<
div
class
=
"
col-md-6"
>
<
i
mg
src
=
"img/spa.jpg"
alt
=
"Resort
Paradise"
class
=
"img-fluid custom-img-width"
>
</
div
>
<!-- Text Section -->
<
div
class
=
"
col-md-6"
>
<
h
2
>Serene Spa Essence</
h2
>
<
p
>Bask in the tranquility of this
serene spa
setting, where a beautifully crafted glass bottle, filled with
golden essence, sits atop a perfectly folded white towel,
embodying purity and relaxation. The natural backdrop,
highlighted by the warm golden sunlight filtering through the
palm fronds, creates an atmosphere of peace and rejuvenation.
This picturesque moment captures the essence of a spa retreat
where tranquility and luxury meet.
</
p
>
</
div
>
</
div
>
</
div
>
</
section
>
<
script
src
=
"https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootst
rap.bundle.min.js"
></
script
>
</
body
>
</
html
>
6.5 about.html
<!
DOCTYPE
html
>
<
html
lang
=
"
en"
>
<
head
>
<
meta
charset
=
"UTF-8"
>
<
meta
name
=
"viewport"
content
=
"width=device-width,
initial-scale=1.0"
>
<
title
>About Us -
Hasbin hotel</
title
>
<
link
href
=
"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/boot
strap.min.css"
rel
=
"stylesheet"
>
<
link
rel
=
"stylesheet"
href
=
"index.css"
>
</
head
>
<
body
>
<
nav
class
=
"
navbar navbar-expand-lg"
style
=
"background-image: linear-gradient(to right,
rgb(36 96
169), rgb(113, 163, 232));"
>
<
div
class
=
"
container-fluid"
>
<
a
class
=
"navbar-brand text-white"
href
=
"#"
>Luxe
Stay Inn</
a
>
<
button
class
=
"navbar-toggler"
type
=
"button"
data-bs-toggle
=
"
collapse"
data-bs-target
=
"#navbarNav"
aria-controls
=
"navbarNav"
aria-expanded
=
"false"
aria-label
=
"
Toggle navigation"
>
<
s
pan
class
=
"navbar-toggler-icon"
></
span
>
</
button
>
<
div
class
=
"
collapse navbar-collapse"
id
=
"navbarNav"
>
<
u
l
class
=
"navbar-nav ms-auto"
>
<
li
class
=
"nav-item"
>
<
a
class
=
"nav-link active text-white"
aria-current
=
"page"
href
=
"index.html"
>Home</
a
>
</
li
>
<
li
class
=
"nav-item"
>
<
a
class
=
"nav-link text-white"
href
=
"about.html"
>About Us</
a
>
</
li
>
<
li
class
=
"nav-item"
>
<
a
class
=
"nav-link text-white"
href
=
"contact.html"
>Contact</
a
>
</
li
>
</
ul
>
</
div
>
</
div
>
</
nav
>
<
h1
>About Us</
h1
>
</
p
>
</
div
>
</
div
>
</
div
>
</
section
>
</
p
>
</
div
>
</
div
>
</
div
>
</
section
>
<
script
src
=
"https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootst
rap.bundle.min.js"
></
script
>
</
body
>
</
html
>
about.css
body
{
background-color
:
aliceblue
;
width
:
50
%
;
height
:
50
%
;
}
6.6 service.html
<!
DOCTYPE
html
>
<
html
lang
=
"
en"
>
<
head
>
<
meta
charset
=
"UTF-8"
>
<
meta
name
=
"viewport"
content
=
"width=device-width,
initial-scale=1.0"
>
<
title
>Services - Hasbin hotel</
title
>
<
link
href
=
"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/boot
strap.min.css"
rel
=
"stylesheet"
>
<
link
rel
=
"stylesheet"
href
=
"styles.css"
>
</
head
>
<
body
>
<!-- Navigation -->
<
nav
class
=
"
navbar navbar-expand-lg navbar-light bg-light"
>
<
div
class
=
"
container-fluid"
>
<
a
class
=
"navbar-brand"
href
=
"index.html"
>Resort
Paradise</
a
>
<
button
class
=
"navbar-toggler"
type
=
"button"
data-bs-toggle
=
"
collapse"
data-bs-target
=
"#navbarNav"
aria-controls
=
"navbarNav"
aria-expanded
=
"false"
aria-label
=
"
Toggle navigation"
>
<
s
pan
class
=
"navbar-toggler-icon"
></
span
>
</
button
>
<
div
class
=
"
collapse navbar-collapse"
id
=
"navbarNav"
>
<
u
l
class
=
"navbar-nav ms-auto"
>
<
li
class
=
"nav-item"
>
<
a
class
=
"nav-link"
href
=
"index.html"
>Home</
a
>
</
li
>
<
li
class
=
"nav-item"
>
<
a
class
=
"nav-link"
href
=
"about.html"
>About Us</
a
>
</
li
>
<
li
class
=
"nav-item"
>
<
a
class
=
"nav-link active"
aria-current
=
"page"
href
=
"#"
>Services</
a
>
</
li
>
<
li
class
=
"nav-item"
>
<
a
class
=
"nav-link"
href
=
"contact.html"
>Contact</
a
>
</
li
>
</
ul
>
</
div
>
</
div
>
</
nav
>
<
script
src
=
"https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootst
rap.bundle.min.js"
></
script
>
</
body
>
</
html
>
6.7 index.css
/* General Styles */
html
,
body
{
width
:
100
%
;
margin
:
0
;
padding
:
0;
font-family
:
'Playfair Display'
,
serif
;
}
.background-image-container
h2
{
margin-bottom
:
200
px
;
}
.background-image-container
p
{
margin-bottom
:
100
px
;
}
/* Navigation */
.navbar
{
background-image
:
linear-gradient
(
to
right
,
rgb
(
36
96
169
),
rgb
(
113
,
163
,
232
));
}
.navbar-brand
{
font-size
:
1.8
rem
;
}
.nav-link
{
font-size
:
1
rem
;
}
/* Footer */
footer
{
background-color
:
#f8f9fa
;
width
:
100
%
;
padding
:
20
px
0
;
}
footer
p
{
margin
:
0
;
color
:
#6c757d
;
}
.footer-custom
{
background-color
:
#4173a7
;
text-emphasis-color
:
white
;
}
7. Conclusion
The "Hasbin Hotel" website effectively utilizes HTML, CSS, and Bootstrap to create a
responsive and visually appealing online presence. The site is well-structured to highlight the
hotel's key offerings, ensuring a seamless user experience across all devices.