project
by webwizard1
HTML
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="author" content="Pranshu Saxena">
<meta name="Declaration of description" content="This doc contains all about project info">
<title>MY info</title>
<link rel="stylesheet" href="project.css" type="text/css">
</head>
<body>
<div class="particles-js">
<header>
<nav aria-label="topnav" class="topnav" role="navigation">
<a href="#home" class="nav-link">Home</a>
<a href="#abtme" class="nav-link">About Me</a>
<a href="#myproj" class="nav-link">My Project</a>
<a href="#contacme" class="nav-link">Contact Me</a>
<button class="hamburger-menu">☰</button>
</nav>
</header>
<section class="content-section" role="region" aria-label="Main Content Section">
<div class="image-container">
<img src="jamesbond.jpg" alt="James bond" width="370" height="570">
</div>
<div class="text-container">
<h1 class="heading1">HI! A am Kerem</h1>
<h4 class="content1">Lorem ipsum dolor sit amet consectetur adipisicing elit. A ullam quis iusto at ipsum sed
eligendi voluptates praesentium veniam perspiciatis laborum minima amet consequuntur, veritatis commodi
eveniet minus voluptatem laboriosam! meow meow meow meow meow</h4>
</div>
</section>
<br><br>
<section class="progress-section">
<div class="progress-container">
<div class="skill-container">
<h1>MY SKILLS</h1>
<h3>HTML</h3>
<div class="progress-bar">
<div class="progress-line" data-percent="70" style="--percent: 70;"></div>
</div>
</div>
<div class="skill-container">
...
CSS
body {
background-color: black;
color: #ddd;
font-family: sans-serif;
margin: 0;
padding: 0;
background-image: url(bimg1.png);
}
.topnav {
background-color: #333;
overflow: hidden;
position: fixed;
top: 0;
width: 100%;
height: 40px;
display: flex;
justify-content: space-between;
align-items: flex-end;
transition: background-color 0.3s ease-in-out;
}
.topnav a {
color: #f2f2f2;
text-decoration: none;
font-size: 16px;
padding: 10px 16px;
transition: background-color 0.3s ease-in-out;
}
.topnav a:hover {
background-color: #ddd;
color: black;
}
.topnav a.active {
background-color: #04AA6D;
color: white;
}
.hamburger-menu {
display: none;
background-color: transparent;
border: none;
cursor: pointer;
}
@media (max-width: 768px) {
.topnav {
flex-direction: column;
align-items: center;
}
.topnav a {
float: none;
display: block;
text-align: center;
width: 100%;
box-sizing: border-box;
}
.hamburger-menu {
display: block;
margin-top: 10px;
}
}
.content-section {
display: flex;
align-items: center;
padding: 20px;
}
.image-container {
float: left;
margin-right: 20px;
}
.text-container {
text-align: justify;
}
.progress-section {
margin-top: 20px;
display: flex;
flex-direction: row;
align-items: flex-start;
}
.progress-container {
display: flex;
flex-direction: column;
}
.skill-container {
margin: 10px 10px;
padding: 10px;
border: 1px solid black;
border-radius: 5px;
}
.progress-bar {
background-color: #fff;
height: 10px;
border-radius: 5px;
width: 560px;
overflow: hidden;
margin-top: 10px;
}
.progress-line {
background-color: purple;
height: 100%;
transition: width 0.3s ease-in-out;
padding: 2px;
}
.progress-line[data-percent] {
...
JavaScript
/* -----------------------------------------------
/* How to use? : Check the GitHub README
/* ----------------------------------------------- */
/* To load a config file (particles.json) you need to host this demo (MAMP/WAMP/local)... */
/*
particlesJS.load('particles-js', 'particles.json', function() {
console.log('particles.js loaded - callback');
});
*/
/* Otherwise just put the config content (json): */
particlesJS('particles-js',
{
"particles": {
"number": {
"value": 80,
"density": {
"enable": true,
"value_area": 800
}
},
"color": {
"value": "#ffffff"
},
"shape": {
"type": "circle",
"stroke": {
"width": 0,
"color": "#000000"
},
"polygon": {
"nb_sides": 5
},
"image": {
"src": "img/github.svg",
"width": 100,
"height": 100
}
},
"opacity": {
"value": 0.5,
"random": false,
"anim": {
"enable": false,
"speed": 1,
"opacity_min": 0.1,
"sync": false
}
},
"size": {
"value": 5,
"random": true,
"anim": {
"enable": false,
"speed": 40,
"size_min": 0.1,
"sync": false
}
},
"line_linked": {
"enable": true,
"distance": 150,
"color": "#ffffff",
"opacity": 0.4,
"width": 1
},
"move": {
"enable": true,
"speed": 6,
"direction": "none",
"random": false,
"straight": false,
"out_mode": "out",
"attract": {
"enable": false,
"rotateX": 600,
"rotateY": 1200
}
}
},
"interactivity": {
"detect_on": "canvas",
"events": {
"onhover": {
"enable": true,
"mode": "repulse"
},
"onclick": {
...