You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
243 lines
6.3 KiB
243 lines
6.3 KiB
1 year ago
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1,0">
|
||
|
<title>Hair Studio</title>
|
||
|
<link rel="stylesheet" href="style.css">
|
||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<input type="checkbox" id="check">
|
||
|
<header>
|
||
|
<div class="logoimg">
|
||
|
<img src="images.png" alt="logo-haircut">
|
||
|
<h3 class="logo">MY STUDIO</h3>
|
||
|
</div>
|
||
|
<nav>
|
||
|
<ul class="menu">
|
||
|
<li><a href="#home" class="list">Home</a></li>
|
||
|
<li><a href="#hair" class="list">About Us</a></li>
|
||
|
<li><a href="#logomain" class="list">Call Us</a></li>
|
||
|
</ul>
|
||
|
</nav>
|
||
|
<div class="meenu">
|
||
|
<label for="check">
|
||
|
<i class="fas fa-bars menu-btn"></i>
|
||
|
<i class="fas fa-times close-btn"></i>
|
||
|
</label>
|
||
|
</div>
|
||
|
</header>
|
||
|
<section class="header" id="home">
|
||
|
|
||
|
|
||
|
<div class="hair">
|
||
|
<h1 class="stu">Hair Studio</h1>
|
||
|
<p>Style Your Hair Is Style Your Life</p>
|
||
|
<div>
|
||
|
<button class="btn">Find Out</button>
|
||
|
<button class="btn">Read More</button>
|
||
|
</div>
|
||
|
<div class="doot" id="dot" >
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="slideshow-container">
|
||
|
</div>
|
||
|
<a class="prev" onclick="plusSlides(-1)">❮</a>
|
||
|
<a class="next" onclick="plusSlides(1)">❯</a>
|
||
|
<br>
|
||
|
</section>
|
||
|
<main>
|
||
|
<div class="logomain" id="hair">
|
||
|
<img src="hair.png" alt="logo-haircut">
|
||
|
<h2 class="choose">Why Choose Us</h2>
|
||
|
</div>
|
||
|
<div class="divmain">
|
||
|
<div class="submain">
|
||
|
<h2>Experienced Staff</h2>
|
||
|
<div class="subone">
|
||
|
<img class="tik" src="icons8-protect-24.png" >
|
||
|
<p>Lorem ipsum ADXASDScAsCFACASCQWACFEWFQWFCEFQAdolor sit amdfwvsvceszfvzrvrsevwgerv</p>
|
||
|
</div>
|
||
|
<h2>Pre Booking Online</h2>
|
||
|
<div class="subone">
|
||
|
<img class="tik" src="icons8-protect-24.png" >
|
||
|
<p>Lorem ipsum ADXASDScAsCFACASCQWACFEWFQWFCEFQAdolor sit amdfwvsvceszfvzrvrsevwgerv</p>
|
||
|
</div>
|
||
|
<h2>Afforable Cost</h2>
|
||
|
<div class="subone">
|
||
|
<img class="tik" src="icons8-protect-24.png" >
|
||
|
<p>Lorem ipsum ADXASDScAsCFACASCQWACFEWFQWFCEFQAdolor sit amdfwvsvceszfvzrvrsevwgerv</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="imgmain">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="better">
|
||
|
<div class="logomain">
|
||
|
<img src="hair.png" alt="logo-haircut">
|
||
|
<h2 class="choose">We Provide Better</h2>
|
||
|
</div>
|
||
|
<div class="work">
|
||
|
<img src="images (3).jpg" alt="work" class="workimg">
|
||
|
<img src="images (2).jpg" alt="work" class="workimg">
|
||
|
<img src="images (4).jpg" alt="work" class="workimg">
|
||
|
<img src="images (5).jpg" alt="work" class="workimg">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="clientsays">
|
||
|
<div class="logomain">
|
||
|
<img src="hair.png" alt="logo-haircut">
|
||
|
<h2 class="choose">What Client Says</h2>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="clients">
|
||
|
<div class="client">
|
||
|
<div class="clientes">
|
||
|
<img src="images (6).jpg" alt="client" class="imgclient">
|
||
|
<div class="username">
|
||
|
<h6>KEN BILLE</h6>
|
||
|
<p>@sajad001184</p>
|
||
|
</div>
|
||
|
<img src="twitter.png" alt="twitter-logo" class="imgtwitter">
|
||
|
</div>
|
||
|
<div class="lorem">
|
||
|
<p>Lorem ipsuLorem ipsum dolor sit amet</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="client">
|
||
|
<div class="clientes">
|
||
|
<img src="images (6).jpg" alt="client" class="imgclient">
|
||
|
<div class="username">
|
||
|
<h6>KEN BILLE</h6>
|
||
|
<p>@sajad001184</p>
|
||
|
</div>
|
||
|
<img src="twitter.png" alt="twitter-logo" class="imgtwitter">
|
||
|
</div>
|
||
|
<div class="lorem">
|
||
|
<p>Lorem ipsuLorem ipsum dolor sit amet</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="client">
|
||
|
<div class="clientes">
|
||
|
<img src="images (6).jpg" alt="client" class="imgclient">
|
||
|
<div class="username">
|
||
|
<h6>KEN BILLE</h6>
|
||
|
<p>@sajad001184</p>
|
||
|
</div>
|
||
|
<img src="twitter.png" alt="twitter-logo" class="imgtwitter">
|
||
|
</div>
|
||
|
<div class="lorem">
|
||
|
<p>Lorem ipsuLorem ipsum dolor sit amet</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</main>
|
||
|
<footer>
|
||
|
<div class="logomain" id="logomain">
|
||
|
<img src="hair.png" alt="logo-haircut">
|
||
|
<h2 class="choose">Visit Our Salon Today</h2>
|
||
|
</div>
|
||
|
<div class="footer">
|
||
|
<div class="address">
|
||
|
<h2>Opening Hour</h2>
|
||
|
<div class="week">
|
||
|
<img src="dollar-symbol.png" class="time">
|
||
|
<p>Monday Yo Friday - 9am to 9pm</p>
|
||
|
</div>
|
||
|
<div class="week">
|
||
|
<img src="dollar-symbol.png" class="time">
|
||
|
<p>Saturday Yo Sunday - 8am to 11pm</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="address">
|
||
|
<h2>Get In Touch</h2>
|
||
|
<div class="week">
|
||
|
<p>Ward#6,hayderabord,sindh</p>
|
||
|
<img src="dollar-symbol.png" class="time">
|
||
|
</div>
|
||
|
<div class="week">
|
||
|
<p>anyname@gmail.com</p>
|
||
|
<img src="dollar-symbol.png" class="time">
|
||
|
</div>
|
||
|
<div class="week">
|
||
|
<p>+985165151854</p>
|
||
|
<img src="dollar-symbol.png" class="time">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="icon">
|
||
|
<img src="dollar-symbol.png" class="icons">
|
||
|
<img src="twitter.png" class="icons">
|
||
|
<img src="twitter.png" class="icons">
|
||
|
<img src="twitter.png" class="icons">
|
||
|
</div>
|
||
|
<div class="copyright">
|
||
|
<p>Copyright - zehra Khuwaja</p>
|
||
|
</div>
|
||
|
</footer>
|
||
|
<script>
|
||
|
const slide=[
|
||
|
{img: "https://fakeimg.pl/250x100/ff0000/" } ,
|
||
|
{img: "https://fakeimg.pl/250x100/" } ,
|
||
|
{img: "https://fakeimg.pl/250x100/ff0000/"},
|
||
|
{img: "https://fakeimg.pl/250x100/" }
|
||
|
];
|
||
|
let elem=document.getElementById('slideshow-container')
|
||
|
let dot = document.getElementById("dot")
|
||
|
const a=slide.map(value =>{
|
||
|
return`
|
||
|
<div class="mySlides">
|
||
|
|
||
|
<img src="${value.img}" style="width:100%;height:100%">
|
||
|
|
||
|
</div>
|
||
|
`;
|
||
|
})
|
||
|
|
||
|
const b=slide.map(()=>{
|
||
|
for(let i=0;i<slide.length;i++){
|
||
|
return`
|
||
|
<span class="dot" onclick="currentSlide(i)"></span>
|
||
|
`};
|
||
|
})
|
||
|
elem.innerHTML= a.join("");
|
||
|
dot.innerHTML= b.join("");
|
||
|
let n=0;
|
||
|
let slideIndex = 1;
|
||
|
function showSlides(n) {
|
||
|
let i;
|
||
|
let slides = document.getElementsByClassName("mySlides");
|
||
|
let dots = document.getElementsByClassName("dot");
|
||
|
if (n > slides.length) { slideIndex = 1 }
|
||
|
if (n < 1) { slideIndex = slides.length }
|
||
|
for (i = 0; i < slides.length; i++) {
|
||
|
slides[i].style.display = "none";
|
||
|
}
|
||
|
for (i = 0; i < dots.length; i++) {
|
||
|
dots[i].className = dots[i].className.replace(" active", "");
|
||
|
}
|
||
|
slides[slideIndex - 1].style.display = "block";
|
||
|
dots[slideIndex - 1].className += " active";
|
||
|
}
|
||
|
showSlides(slideIndex);
|
||
|
|
||
|
function plusSlides(n) {
|
||
|
showSlides(slideIndex += n);
|
||
|
}
|
||
|
|
||
|
function currentSlide(n) {
|
||
|
showSlides(slideIndex = n);
|
||
|
}
|
||
|
setInterval(function(){
|
||
|
n++;
|
||
|
if(n>slide.length-1){
|
||
|
n=0;
|
||
|
}
|
||
|
showSlides(slideIndex = n);
|
||
|
},3000)
|
||
|
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|