-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
919 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="stylesheet" href="style.css"> | ||
<link rel="stylesheet" href="https://unicons.iconscout.com/release/v4.0.0/css/line.css"> | ||
<title>Portfolio</title> | ||
</head> | ||
|
||
<body> | ||
<i class="uil uil-angle-up up"></i> | ||
<header> | ||
<h2><a href="#home">Portfolio</a></h2> | ||
<ul> | ||
<li><a href="#home" id="nav1">Home</a></li> | ||
<li><a href="#services" id="nav2">Services</a></li> | ||
<li><a href="#skills" id="nav3">Skills</a></li> | ||
<li><a href="#contact" id="nav4">Contact</a></li> | ||
<li> | ||
<div class="switch"> | ||
<div class="switchcircle"> | ||
<ion-icon name="moon-outline"></ion-icon> | ||
</div> | ||
</div> | ||
</li> | ||
</ul> | ||
<i class="uil uil-bars menu"></i> | ||
</header> | ||
<section id="home"> | ||
<div class="left"> | ||
<span>Hello</span> | ||
<h3>Web Design</h3> | ||
<span class="des">Developing And Designing Website.</span> | ||
<button><a href="#skills">View My Skills</a></button> | ||
</div> | ||
<h1 class="bgtitle">Portfolio</h1> | ||
<div class="circle1"></div> | ||
<div class="circle2"></div> | ||
<div class="circle3"></div> | ||
</section> | ||
<section id="services"> | ||
<h1 class="title">Services</h1> | ||
<div class="cards"> | ||
<div class="card"> | ||
<div class="bgcard"></div> | ||
<ion-icon name="logo-html5" class="html"></ion-icon> | ||
<h3>Web Development</h3> | ||
<p>Web Development Is Very Important In Our Time!!<br />Developing this Website.</p> | ||
</div> | ||
<div class="card"> | ||
<div class="bgcard"></div> | ||
<ion-icon name="logo-css3" class="css"></ion-icon> | ||
<h3>Web Design</h3> | ||
<p>Developing Websites Needs CSS For Design!!<br />CSS is really important in styling a website.</p> | ||
</div> | ||
<div class="card"> | ||
<div class="bgcard"></div> | ||
<ion-icon name="logo-javascript" class="js"></ion-icon> | ||
<h3>Web Applications</h3> | ||
<p>For making Web Application you need JavaScript!!<br />JavaScript is important for Web Applications.</p> | ||
</div> | ||
</div> | ||
</section> | ||
<section id="skills"> | ||
<h1 class="title">Skills</h1> | ||
<div class="content"> | ||
<div class="skills"> | ||
<div class="skill"> | ||
<span class="htmlbar">HTML</span><br /> | ||
<div class="bar"></div> | ||
<div class="activebar" id="bar1"></div> | ||
</div> | ||
<div class="skill"> | ||
<span class="cssbar">CSS</span><br /> | ||
<div class="bar"></div> | ||
<div class="activebar" id="bar2"></div> | ||
</div> | ||
<div class="skill"> | ||
<span class="jsbar">JavaScript</span><br /> | ||
<div class="bar"></div> | ||
<div class="activebar" id="bar3"></div> | ||
</div> | ||
</div> | ||
<div class="para"> | ||
<h3>My Skills!!</h3> | ||
<p>My HTML is nearly perfect from my point of view.<br />And my CSS is good but not perfect.<br />My JavaScript | ||
is Normal.</p> | ||
</div> | ||
</div> | ||
<h1 class="bgskill">Skills</h1> | ||
<div class="circle4"></div> | ||
<div class="circle5"></div> | ||
</section> | ||
<section id="contact"> | ||
<h1 class="title">Contact</h1> | ||
<div class="cards"> | ||
<div class="card"> | ||
<ion-icon name="call-outline"></ion-icon> | ||
<h3>Phone</h3> | ||
<p>01221799644</p> | ||
</div> | ||
<div class="card"> | ||
<ion-icon name="mail-outline"></ion-icon> | ||
<h3>Email</h3> | ||
<p>[email protected]</p> | ||
</div> | ||
</div> | ||
</section> | ||
<script src="script.js"></script> | ||
<script type="module" src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"></script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
const menubtn = document.querySelector('.menu') | ||
menu = document.querySelector('header ul') | ||
up = document.querySelector('.up') | ||
|
||
menubtn.onclick = function() { | ||
if (!menu.classList.contains('open')) { | ||
menu.classList.add('open') | ||
menubtn.style.transform = 'rotate(180deg)' | ||
menubtn.classList.remove('uil-bars') | ||
menubtn.classList.add('uil-times') | ||
} else { | ||
menu.classList.remove('open') | ||
menubtn.style.transform = 'rotate(0deg)' | ||
menubtn.classList.add('uil-bars') | ||
menubtn.classList.remove('uil-times') | ||
} | ||
} | ||
|
||
window.addEventListener('scroll', () => { | ||
if (document.body.scrollTop > 10 || document.documentElement.scrollTop > 10) { | ||
up.style.display = "block" | ||
} else { | ||
up.style.display = "none" | ||
} | ||
if (menu.classList.contains('open')) { | ||
menu.classList.remove('open') | ||
menubtn.style.transform = 'rotate(0deg)' | ||
menubtn.classList.add('uil-bars') | ||
menubtn.classList.remove('uil-times') | ||
} | ||
}) | ||
|
||
up.addEventListener('click', () => { | ||
document.body.scrollTop = 0 | ||
document.documentElement.scrollTop = 0 | ||
}) | ||
|
||
|
||
const htmlbar = document.getElementById('bar1') | ||
cssbar = document.getElementById('bar2') | ||
jsbar = document.getElementById('bar3') | ||
|
||
window.addEventListener('scroll', () => { | ||
if (document.body.scrollTop > 1200 || document.documentElement.scrollTop > 1200) { | ||
htmlbar.classList.add('activehtml') | ||
cssbar.classList.add('activecss') | ||
jsbar.classList.add('activejs') | ||
} | ||
}) | ||
|
||
|
Oops, something went wrong.