HTML ^0 CSS
HTML ^0 CSS
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<header>
<nav class="nav-bar">
<div class="logo">
<a href="/index.html">
</a>
</div>
<div class="nav-items">
<span>Singup</span>
</a>
<span>Login</span>
</a>
</div>
</nav>
</header>
<main>
<div class="hero-section">
</div>
<div class="background">
</div>
<div class="content">
<div class="search">
<button type="submit">
</div>
</div>
<div class="citys">
<p>Major Cities</p>
<div class="city-img">
<a href="/Property_list//Property_list_html/Delhi_PG.html"
target="_parent">
<div>
</div>
</a>
<a href="/Property_list/Property_list_html/Mumbai_PG.html"
target="_parent">
<div>
<img src="img_folder_assignment_2/img/mumbai.png"
alt="Gateway of India">
</div>
</a>
<a href="/Property_list/Property_list_html/Bangalore_PG.html"
target="_parent">
<div>
<img src="img_folder_assignment_2/img/bangalore.png"
alt="Vidhana Soudha">
</div>
</a>
<a href="/Property_list/Property_list_html/Hydrabad_PG.html"
target="_parent">
<div>
<img src="img_folder_assignment_2/img/hyderabad.png"
alt="Char Minar">
</div>
</a>
</div>
</div>
<div class="signup-section">
<div class="heading-adjusment">
<div class="heading">
</div>
</div>
<form class="form">
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-gender-group">
<span>I'm a</span>
<label for="male">Male</label>
<label for="female">Female</label>
</div>
<button>Create Account</button>
<div class="login-btn">
<span>
</span>
</div>
</form>
</div>
</div>
<div class="login-section">
<div class="heading-adjusment">
<div class="heading">
</div>
</div>
<form class="form">
<div class="form-group">
</div>
<div class="form-group">
</div>
<button>Login</button>
<div class="signup-btn">
<a href="#signup-modal" target="_parent">Click
here</a><span>to Ragister a new account
</span>
</div>
</form>
</div>
</div>
</main>
<!-- <footer>
<div class="footer">
<div class="footer-content">
<a href="/Property_list/Property_list_html/Delhi_PG.html"
target="_parent">PG in Delhi</a>
<a href="/Property_list/Property_list_html/Mumbai_PG.html"
target="_parent">PG in Mumbai</a>
<a href="/Property_list/Property_list_html/Bangalore_PG.html"
target="_parent">PG in Bangalore</a>
<a href="/Property_list/Property_list_html/Hydrabad_PG.html"
target="_parent">PG in Hyderabad</a>
</div>
<div class="cr-icon">
</div>
</div>
</footer> -->
<footer>
<div class="footer-links">
<ul>
<li><a href="/index.html" target="_parent">Home Page</a></li>
<li><a href="/Property_list/Property_list_html/Delhi_PG.html"
target="_parent">PG in Delhi</a></li>
<li><a href="/Property_list/Property_list_html/Mumbai_PG.html"
target="_parent">PG in Mumbai</a></li>
<li><a href="/Property_list/Property_list_html/Bangalore_PG.html"
target="_parent">PG in Bangalore</a></li>
<li><a href="/Property_list/Property_list_html/Hydrabad_PG.html"
target="_parent">PG in Hyderabad</a></li>
</ul>
<div class="sci">
<a href="https://www.facebook.com/profile.php?
id=100046577055940"><i class="fa-brands fa-facebook"></i></a>
<a href="https://www.instagram.com/reels/DD3lHHkqRJK/"><i
class="fa-brands fa-instagram"></i></a>
</div>
</div>
<div class="contact-info">
<h1>Contact Us</h1>
<form class="form">
</form>
</div>
<div class="cr-icon">
<div class="copy-right">
<i class="fa-regular fa-copyright"></i>
</div>
</div>
</footer>
</body>
</html>
HTML (Cities)
<body>
<header>
<nav class="nav-bar">
<div class="logo">
<a href="/index.html">
</a>
</div>
<div class="nav-items">
<span>Singup</span>
</a>
<span>Login</span>
</a>
</div>
</nav>
<div class="mini-nav">
<div class="mini-nav-content">
<span><a href="/index.html">Home</a></span>
<span>/</span>
<span>Delhi</span>
<span>/</span>
<span><a
href="/Property_list/Property_list_html/Mumbai_PG.html">Mumbai</a></
span>
<span>/</span>
<span><a
href="/Property_list/Property_list_html/Bangalore_PG.html">Bangalore</
a></span>
<span>/</span>
<span><a
href="/Property_list/Property_list_html/Hydrabad_PG.html">Hyderabad</
a></span>
</div>
</div>
</header>
<main>
<div class="hero-section">
<div class="filter-section">
<div class="filter">
<img src="/img_folder_assignment_2/img/filter.png" alt="filter-
image">
<span>Filter</span>
</div>
<div class="filter">
</div>
<div class="filter">
</div>
</div>
<div class="properties-list">
<div class="img-container">
<img
src="/img_folder_assignment_2/img/Properties_img_list/p1.jpg"
alt="property image">
</div>
<div class="content-container">
<div class="rating">
<div class="stars">
</div>
<div class="reaction">
<span>5 intrested</span>
</div>
</div>
<div class="rent">
<button>View</button>
</a>
</div>
</div>
</div>
<div class="properties-list">
<div class="img-container">
<img
src="/img_folder_assignment_2/img/Properties_img_list/p2.jpg"
alt="property image">
</div>
<div class="content-container">
<div class="rating">
<div class="stars">
</div>
<div class="reaction">
<span>3 intrested</span>
</div>
</div>
<h2>Navrang PG Home</h2>
<div class="gents-ladies-img">
<img src="/img_folder_assignment_2/img/female.png"
alt="Ladies-Img" id="img-2">
</div>
<div class="rent">
</a>
</div>
</div>
</div>
<div class="properties-list">
<div class="img-container">
<img
src="/img_folder_assignment_2/img/Properties_img_list/p1.jpg"
alt="property image">
</div>
<div class="content-container">
<div class="rating">
<div class="stars">
</div>
<div class="reaction">
<span>6 interested</span>
</div>
</div>
<h2>Greenwood Stay</h2>
<button>View</button>
</a>
</div>
</div>
</div>
<div class="properties-list">
<div class="img-container">
<img
src="/img_folder_assignment_2/img/Properties_img_list/p2.jpg"
alt="property image">
</div>
<div class="content-container">
<div class="rating">
<div class="stars">
</div>
<div class="reaction">
<span>8 interested</span>
</div>
</div>
<h2>Modern PG</h2>
<img src="/img_folder_assignment_2/img/female.png"
alt="Ladies-Img">
<div class="rent">
<button>View</button>
</a>
</div>
</div>
</div>
<div class="properties-list">
<div class="img-container">
<img
src="/img_folder_assignment_2/img/Properties_img_list/p3.jpg"
alt="property image">
</div>
<div class="content-container">
<div class="rating">
<div class="stars">
</div>
<div class="reaction">
<i class="fa-regular fa-heart"></i>
<span>5 interested</span>
</div>
</div>
<h2>Luxury Living</h2>
<div class="rent">
<button>View</button>
</a>
</div>
</div>
</div>
</div>
<div class="signup-section">
<div class="heading-adjusment">
<div class="heading">
</div>
</div>
<form class="form">
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-gender-group">
<span>I'm a</span>
<label for="male">Male</label>
<input type="radio" name="gender" value="female" required>
<label for="female">Female</label>
</div>
<button>Create Account</button>
<div class="login-btn">
<span>
</span>
</div>
</form>
</div>
</div>
<div class="login-section">
<div class="heading-adjusment">
<div class="heading">
</div>
</div>
<form class="form">
<div class="form-group">
</div>
<div class="form-group">
</div>
<button>Login</button>
<div class="signup-btn">
</div>
</form>
</div>
</div>
</main>
<!-- <footer>
<div class="footer">
<div class="footer-content">
<a href="/Property_list/Property_list_html/Delhi_PG.html">PG in
Delhi</a>
<a href="/Property_list/Property_list_html/Mumbai_PG.html">PG in
Mumbai</a>
<a href="/Property_list/Property_list_html/Bangalore_PG.html">PG in
Bangalore</a>
<a href="/Property_list/Property_list_html/Hydrabad_PG.html">PG in
Hyderabad</a>
</div>
<div class="cr-icon">
</div>
</div>
</footer> -->
<footer>
<div class="footer-links">
<ul>
<li><a href="/Property_list/Property_list_html/Delhi_PG.html"
target="_parent">PG in Delhi</a></li>
<li><a href="/Property_list/Property_list_html/Mumbai_PG.html"
target="_parent">PG in Mumbai</a></li>
<li><a href="/Property_list/Property_list_html/Bangalore_PG.html"
target="_parent">PG in Bangalore</a></li>
<li><a href="/Property_list/Property_list_html/Hydrabad_PG.html"
target="_parent">PG in Hyderabad</a></li>
</ul>
<div class="sci">
<a href="https://www.facebook.com/profile.php?
id=100046577055940"><i class="fa-brands fa-facebook"></i></a>
<a href="https://www.instagram.com/reels/DD3lHHkqRJK/"><i
class="fa-brands fa-instagram"></i></a>
</div>
</div>
<div class="contact-info">
<h1>Contact Us</h1>
<form class="form">
</form>
</div>
<div class="cr-icon">
<div class="copy-right">
</div>
</div>
</footer>
</body>
</html>
CSS
@import url('https://fonts.googleapis.com/css2?
family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
body{
padding-top: 66px;
}
.nav-bar {
background-color: #fff;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
height: 66px;
.logo img {
width: 108px;
margin-left: 16px;
margin-top: 5.2px;
.nav-items {
margin-right: 25px;
.nav-items a {
text-decoration: none;
color: #969494;
font-size: 13px;
}
.nav-items a:hover {
color: #383737;
transform: scale(1.0);
.nav-items a i {
color: #7d7c7c;
font-size: 13px;
margin-left: 50px;
.nav-items a i:hover {
color: #383737;
transform: scale(1.0);
.hero-section {
position: fixed;
top: 66;
z-index: -1;
background-image: url(img_folder_assignment_2/img/bg.png);
width: 100%;
height: 70vh;
text-align: center;
filter: brightness(100%);
}
.background {
position: relative;
top: 0;
left: 0;
width: 100%;
height: 70vh;
.content {
position: absolute;
top: 50%;
left: 50%;
color: #fff;
/* filter: brightness(100%); */
.content .search {
display: flex;
.content h1 {
margin-left: 60px;
margin-bottom: 20px;
font-weight: 600;
.content input {
width: 490px;
height: 38px;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
border: none;
.content input:hover {
transform: scale(1.01);
.content input::placeholder {
font-size: 16px;
padding-left: 10px;
.content button {
height: 38px;
width: 40px;
background-color: #767474;
border: none;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
}
.content button:hover {
background-color: #646464;
transform: scale(1.05);
.content button i {
text-align: center;
font-size: 16px;
color: #fff;
.citys {
position: relative;
top: 0;
left: 0;
right: 0;
width: 100%;
height: 90vh;
text-align: center;
background-color: #fff;
.citys p {
font-size: 35px;
font-weight: 600;
padding-top: 80px;
color: #383737;
}
.city-img {
display: flex;
align-items: center;
justify-content: center;
margin-top: 100px;
margin-bottom: 80px;
.city-img a {
padding-left: 15px;
padding-right: 15px;
.city-img a div {
padding: 20px;
margin-left: 15px;
margin-right: 15px;
border-radius: 50%;
.city-img a div:hover {
transform: scale(1.0);
.city-img img {
width: 100px;
height: 100px;
/* .footer {
position: relative;
bottom: 0;
width: 100%;
height: 17.8vh;
background-color: #383737;
.footer-content {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
.footer-content a {
text-decoration: none;
color: #fff;
padding: 0 30px;
font-size: 13px;
.footer-content a:hover {
text-decoration: underline;
transform: scale(1.0);
}
.cr-icon {
display: flex;
align-items: center;
justify-content: center;
font-size: 13px;
margin-top: 35px;
color: #cbcaca;
.cr-icon i {
font-size: 9px;
margin-top: 2px;
margin-right: 3px;
} */