Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created a website would appreciate addons #22

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const menu = document.querySelector('#mobile-menu');
const menuLinks = document.querySelector('.navbar__menu');

menu.addEventListener('click', function() {
menu.classList.toggle('is-active');
menuLinks.classList.toggle('active');
});
112 changes: 112 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pratham's Database</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.3/css/all.css"
integrity="sha384-SZXxX4whJ79/gErwcOYf+zWLeJdY/qpuqC4cAa9rOGUstPomtqpuNWT9wdPEn2fk" crossorigin="anonymous" />
<link rel="stylesheet" href="style.css" </head>

<body>
<nav class="navbar">
<div class="navbar__container">
<a href="/" id="navbar__logo"> <i class="fab fa-atlassian"></i> DATABASE </a>
<div class="navbar__toggle" id="mobile-menu">
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>

</div>
<ul class="navbar__menu">
<li class="navbar__item">
<a href="/" class="navbar__links">Home</a>
</li>
<li class="navbar__item">
<a href="/database.html" class="navbar__links"> Database</a>
</li>
<li class="navbar__item">
<a href="/" class="navbar__links"> About Me</a>
</li>
<li class="navbar__btn">
<a href="/" class="button"> Social Handles</a>
</li>
</ul>
</div>
</nav>
<!-- hero section -->
<div class="main">
<div class="main__container">
<div class="main__content">
<h1>A Tech</h1>
<h2>Enthusiast</h2>
<p>seeking to learn.</p>
<button class="main__btn"><a href="/">Get to know me</a></button>
</div>
<div class="main__img--container">
<img src="images/pic1.svg" alt="pic1" id="main__img">
</div>
</div>
</div>

<!-- Abour me -->
<div class="aboutme">
<h1>Skills I know</h1>
<div class="aboutme__container">
<div class="aboutme__card">
<h2>Future Ambitions</h2>
<p>It's not the length of life But the depth of life</p>
<button>Know more</button>
</div>
</div>
</div>

<!-- Footer section-->
<div class="container-fluid pb-0 mb-0 justify-content-center text-light ">
<footer>
<div class="row my-5 justify-content-center py-5">
<div class="col-11">
<div class="row ">
<div class="col-xl-8 col-md-4 col-sm-4 col-12 my-auto mx-auto a">
<h3 class="text-muted mb-md-0 mb-5 bold-text">Database</h3>
</div>
<div class="col-xl-2 col-md-4 col-sm-4 col-12">
<h6 class="mb-3 mb-lg-4 bold-text "><b>MENU</b></h6>
<ul class="list-unstyled">
<li>Home</li>
<li>About</li>
<li>Contact me </li>
<li>Portfolio</li>
</ul>
</div>
<div class="col-xl-2 col-md-4 col-sm-4 col-12">
<h6 class="mb-3 mb-lg-4 text-muted bold-text mt-sm-0 mt-5"><b>ADDRESS</b></h6>
<p class="mb-1">420 ,Falling heights</p>
<p>WATERBASE</p>
</div>
</div>
<div class="row ">
<div class="col-xl-8 col-md-4 col-sm-4 col-auto my-md-0 mt-5 order-sm-1 order-3 align-self-end">
<p class="social text-muted mb-0 pb-0 bold-text"> <span class="mx-2"><i class="fa fa-facebook" aria-hidden="true"></i></span> <span class="mx-2"><i class="fa fa-linkedin-square" aria-hidden="true"></i></span> <span class="mx-2"><i class="fa fa-twitter" aria-hidden="true"></i></span> <span class="mx-2"><i class="fa fa-instagram" aria-hidden="true"></i></span> </p><small class="rights"><span>&#174;</span> Database All Rights Reserved.</small>
</div>
<div class="col-xl-2 col-md-4 col-sm-4 col-auto order-1 align-self-end ">
<h6 class="mt-55 mt-2 text-muted bold-text"><b>PRATHAM MANDLOI</b></h6><small> <span><i class="fa fa-envelope" aria-hidden="true"></i></span> [email protected]</small>
</div>
<div class="col-xl-2 col-md-4 col-sm-4 col-auto order-2 align-self-end mt-3 ">
<h6 class="text-muted bold-text"><b>PRATHAM MANDLOI</b></h6><small><span><i class="fa fa-envelope" aria-hidden="true"></i></span> [email protected]</small>
</div>
</div>
</div>
</div>
</footer>
</div>
<script src="app.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions pic1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pic2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pic3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pic4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sample.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading