Skip to content
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
22 changes: 22 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
const hamburger = document.querySelector(".nav-hamburger");
const navClose = document.querySelector(".nav-close");
hamburger.addEventListener("click",()=>{

hamburger.classList.add("display-none");

navClose.classList.add("display-initial");
document.querySelector("nav ul").classList.add("display-initial");
});
navClose.addEventListener("click",()=>{
hamburger.classList.remove("display-none");

navClose.classList.remove("display-initial");
document.querySelector("nav ul").classList.remove("display-initial");
});
window.addEventListener('resize',()=>{
if(window.matchMedia("(min-width:1000px)")){
navClose.classList.remove("display-initial");
hamburger.classList.remove("display-none");
document.querySelector("nav ul").classList.remove("display-initial");
}
});
Binary file added images/about-me-img.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 images/header-hero-img.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/icon-close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/icon-hamburger.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 images/skill-html.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 images/skill-java.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
156 changes: 156 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
<!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" />
<link
href="https://fonts.googleapis.com/css2?family=Overpass:wght@300;600&family=Pacifico&family=Ubuntu:wght@400;500;700&display=swap"
rel="stylesheet"
/>
<!-- CSS only -->

<link rel="stylesheet" href="styles.css" />
<title>Tushar Sharma | Portfolio</title>
</head>
<body>
<nav>
<ul>
<li><a href="#home">HOME</a></li>
<li><a href="#about">ABOUT ME</a></li>
<li><a href="#skill">SKILLS</a></li>
<li><a href="#project">PROJECTS</a></li>
<li><a href="#contact">CONTACT ME</a></li>
</ul>
<div class="nav-close">
<img src="images\icon-close.svg" alt="" />
</div>
<div class="nav-hamburger">
<img src="images\icon-hamburger.svg" alt="" />
</div>
</nav>
<header id="home">
<section class="header-section-1">
<span id="greet">Hi, I'm</span>

<h1 id="hero-name"><strong>Tushar Sharma</strong></h1>
a
<span class="header-desc is-visible"> Frontend Developer.</span>
<span class="header-desc is-hidden"> Learner.</span>
<span class="header-desc is-hidden"> Software Enthusiast.</span>
</section>
<section class="header-section-2">
<div class="header-hero-img">
<img src="images\header-hero-img.jpg" alt="" />
</div>
</section>
</header>
<main>
<article class="about-me-wrapper" id="about">
<h2 class="main-heading">About Me</h2>
<section class="about-me">
<div class="about-me-desc">
<p id="pp">
I am Tushar Sharma, a 17 year old Software Enthusiast, a Freshman
in B.Tech Program from ACEIT, a learning Frontend Developer.
</p>

<p>
Doloremque eaque autem nam maxime voluptatem? Lorem ipsum dolor
sit amet consectetur adipisicing elit. Rerum impedit fugiat
repudiandae perferendis reprehenderit ullam atque porro nostrum
odit nulla recusandae debitis quae.
</p>
</div>
<div class="about-me-img">
<img src="images\about-me-img.jpg" alt="" />
</div>
</section>
</article>
<article class="skills-wrapper" id="skill">
<h2 class="main-heading">Skills</h2>
<section class="skills">
<div class="skill-html">
<div class="skill-html-img">
<img src="images\skill-html.jpg" alt="" />
</div>
<div class="skill-html-desc">
<h3 class="main-sub-heading">HTML , CSS and JAVASCRIPT</h3>
<p>
Lorem ipsum dolor, sit amet consectetur adipisicing elit.
Possimus, incidunt nostrum quo itaque assumenda exercitationem
eligendi autem eveniet ullam, distinctio soluta molestiae
dolores quisquam. Veniam repudiandae commodi laudantium
molestiae labore.
</p>
</div>
</div>
<div class="skill-java">
<div class="skill-java-desc">
<h3 class="main-sub-heading">JAVA</h3>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Amet
quaerat quidem nisi, doloremque cum enim. Quibusdam reprehenderit
cum nostrum optio cumque a numquam ut ullam facere eum,
perspiciatis, magni architecto.
</div>
<div class="skill-java-img">
<img src="images\skill-java.webp" alt="" />
</div>
</div>
</section>
</article>
<article class="projects-wrapper" id="project">
<h2 class="main-heading">Project</h2>
<div class="projects">
<div class="blogr-page prj-itm">
<a
href="https://tushar885.github.io/blogr-landing-page/"
target="_blank"
>Blogr-Landing-Page</a
>
<p>
This is a Landing page for a Bloge Website, this projects id taken
form Frontend Mentor, it is mostly focuses on HTML & CSS. The
JavaScript required is for Navbar.
</p>
</div>
<div class="scoreboard prj-itm">
<a href="https://tushar885.github.io/scoreboard/" target="_blank"
>Score-Board</a
>
<p>
This is a score registering webapp for game, with multiple game
points, this is a basic JavaScript project with a some CSS for
visuals.
</p>
</div>
<div class="rand-color prj-itm">
<a
href="https://tushar885.github.io/color-generator/"
target="_blank"
>random-color-generator</a
>
<p>A Random Color Generator app.</p>
</div>
<div class="grid-layout prj-itm">
<a href="https://tushar885.github.io/grid-layout/" target="_blank"
>grid-layout</a
>
<p>Responsive Grid Layout Section.</p>
</div>
</div>
</article>
</main>
<footer id="contact">
<h3>Contact Me</h3>
<div class="socials">
<a href="https://instagram.com/tushar.sharma85" target="_blank"
>INSTAGRAM</a
>
|
<a href="https://twitter.com/tushars_85" target="_blank">TWITTER</a>
</div>
</footer>
<script src="app.js"></script>
</body>
</html>
130 changes: 130 additions & 0 deletions reset.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
display: block;
}

body {
line-height: 1;
}

ol,
ul {
list-style: none;
}

blockquote,
q {
quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
content: '';
content: none;
}

table {
border-collapse: collapse;
border-spacing: 0;
}
Loading