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
56 changes: 56 additions & 0 deletions column-preview-card/Riya Jaiswal/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<!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>Card Preview</title>
<link rel="shortcut icon" href="../images/favicon.png" type="image/x-icon">
<link href="https://fonts.googleapis.com/css2?family=Lexend+Deca&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">

</head>

<body>
<main>
<div class="car">

<div id="sedans">
<img src="../images/icon-sedans.svg" alt="sedans">
<h1>SEDANS</h1>
<p>
Choose a sedan for its affordability and excellent fuel economy. Ideal for cruising in the city or on
your next road trip.
</p>
<button id="but1">Learn More</button>
</div>
<div id="suvs">
<img src="../images/icon-suvs.svg" alt="suvs">
<h1>SUVS</h1>
<p>
Take a SUV for its spacious interior,power, and versatility. Perfect for your next family vacation and
off-road adventures.
</p>

<button id="but2">Learn More</button>

</div>
<div id="luxury">
<img src="../images/icon-luxury.svg" alt="luxury">
<h1>LUXURY</h1>
<p>
Cruise in the best car brands without the bloated prices. Enjoy the enhanced comfort of a luxury rental
and arrive in style.
</p>
<button id="but3">Learn More</button>

</div>

</div>

</main>
</body>

</html>
139 changes: 139 additions & 0 deletions column-preview-card/Riya Jaiswal/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@

* {
margin: 0;
padding: 0;

}
body {
margin: 7% 12% 5% 12%;
background-color:hsl(0, 0%, 95%);
}

.car {
display: flex;
color: hsla(0, 0%, 100%, 0.75);

font-family: 'Lexend Deca', sans-serif;
}

h1 {
color: hsl(0, 0%, 95%);
font-family: 'Big Shoulders Display', cursive;
font-size: 3rem;
padding: 15px 0px;

}
#but1{
border: hsl(0, 0%, 95%);
border-radius: 50px;
color:hsl(31, 77%, 52%) ;
background-color:hsl(0, 0%, 95%);
margin:100px 0px 0px 0px ;
padding: 15px 45px;
cursor: pointer;
font-family: 'Lexend Deca', sans-serif;
position:inherit;
}
#but2{
border: hsl(0, 0%, 95%);
border-radius: 50px;
color:hsl(179, 100%, 13%) ;
background-color:hsl(0, 0%, 95%);
margin:100px 0px 0px 0px ;
padding:15px 45px;
cursor: pointer;
font-family: 'Lexend Deca', sans-serif;
position:inherit;

}

#but3{
border: hsl(0, 0%, 95%);
border-radius: 50px;
color:hsl(184, 100%, 22%) ;
background-color:hsl(0, 0%, 95%);
margin:100px 0px 0px 0px ;
padding: 15px 45px;
cursor: pointer;
font-family: 'Lexend Deca', sans-serif;
position:inherit;

}


#but1:hover{
color:hsla(0, 0%, 100%, 0.75) ;
background-color:hsl(31, 77%, 52%) ;

border:2px solid hsl(0, 0%, 95%);
}

#but2:hover{
color:hsla(0, 0%, 100%, 0.75) ;
background-color:hsl(179, 100%, 13%) ;
border: 2px solid hsl(0, 0%, 95%);

}
#but3:hover{
color:hsla(0, 0%, 100%, 0.75);
background-color:hsl(184, 100%, 22%);
border: 2px solid hsl(0, 0%, 95%) ;
}
p {
word-spacing: 4px;
line-height: 175%;

}
#sedans {
background-color: hsl(31, 77%, 52%);
height: 68vh;
width: 33vw;
padding: 3vw;
padding-bottom: 0vw;
border-radius: 10px 0px 0px 10px;
}

#suvs {
background-color: hsl(179, 100%, 13%);
height: 68vh;
width: 33vw;
padding: 3vw;
padding-bottom: 0vw;
}

#luxury {
background-color: hsl(184, 100%, 22%);
height: 68vh;
width: 33vw;
padding: 3vw;
padding-bottom: 0vw;
border-radius: 0px 10px 10px 0px;
}


@media only screen and (max-width:380px) {
body {
margin:60px 20px;
}
h1{
margin: 25px 0px;
}
.car{
display:grid;
grid-template-columns:repeat(1,1fr);

}
#sedans, #suvs, #luxury{
width:86vw;
height: 54vh;
padding: 15vw 3vw;
}
#sedans{

border-radius: 10px 10px 0px 0px ;
}
#luxury{
border-radius: 0px 0px 10px 10px;

}
}
157 changes: 157 additions & 0 deletions social-media-dashboard/Riya Jaiswal/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
<!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>Dashboard</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
<link
href="https://fonts.googleapis.com/css2?family=Inter&display=swap"
rel="stylesheet"
/>
<link rel="icon" href="../images/favicon.png" type="image/x-icon" />
<link rel="stylesheet" href="style.css" />
</head>

<body>

<div class="container">
<button id="switch" onclick="toggleTheme()">Switch</button>
</div>

<nav class="head">
<h2 style="margin-block-end: 2px">Social Media Dashboard</h2>
<h5 style="margin-block-start: 0em">Total Followers: 24754</h5>
</nav>

<div class="one">
<div class="facebook">
<img src="../images/icon-facebook.svg" alt="facebook" />&nbsp&nbsp
<a
href="https://www.facebook.com/"
target="_blank"
rel="noopener noreferrer"
>@riyajaiswal</a
>
<h1>1190</h1>
<p><b>FOLLOWERS</b></p>
<img src="../images/icon-up.svg" alt="increase" />Today
</div>

<div class="twitter">
<img src="../images/icon-twitter.svg" alt="twitter" /> &nbsp&nbsp
<a
href="https://twitter.com/?lang=en"
target="_blank"
rel="noopener noreferrer"
>
@riyajaiswal</a
>

<h1>1234</h1>
<p><b>FOLLOWERS</b></p>
<img src="../images/icon-up.svg" alt="increase" />Today
</div>
<div class="insta">
<img src="../images/icon-instagram.svg" alt="instagram" />&nbsp&nbsp
<a
href="https://www.instagram.com/nomadic_click._/"
target="_blank"
rel="noopener noreferrer"
>
@riyajaiswal</a
>

<h1>11k</h1>
<p><b>FOLLOWERS</b></p>
<img src="../images/icon-up.svg" alt="increase" />Today
</div>
<div class="youtube">
<img src="../images/icon-youtube.svg" alt="youtube" />&nbsp&nbsp
<a
href="https://www.youtube.com/"
target="_blank"
rel="noopener noreferrer"
>
@riyajaiswal</a
>
<h1>8956</h1>
<p><b>SUBSCRIBERS</b></p>
<img src="../images/icon-down.svg" alt="decrease" /> Today
</div>
</div>

<h2 class="head">Overview - Today</h2>
<div class="three">
<div class="facebook1">
<p>
Page Views &nbsp&nbsp&nbsp&nbsp
<img src="../images/icon-facebook.svg" alt="" />
</p>
80 &nbsp&nbsp&nbsp&nbsp
<img src="../images/icon-up.svg" alt="" />
</div>

<div class="facebook1">
<p>
Likes &nbsp&nbsp&nbsp&nbsp
<img src="../images/icon-facebook.svg" alt="" />
</p>
52 &nbsp&nbsp&nbsp&nbsp
<img src="../images/icon-down.svg" alt="" />
</div>
<div class="insta1">
<p>
Likes &nbsp&nbsp&nbsp&nbsp
<img src="../images/icon-instagram.svg" alt="" />
</p>
5462 &nbsp&nbsp&nbsp&nbsp
<img src="../images/icon-up.svg" alt="" />
</div>
<div class="insta1">
<p>
Profile Views &nbsp&nbsp&nbsp&nbsp
<img src="../images/icon-instagram.svg" alt="" />
</p>
52k &nbsp&nbsp&nbsp&nbsp
<img src="../images/icon-up.svg" alt="" />
</div>
</div>
<div class="three">
<div class="twitter1">
<p>
Retweets &nbsp&nbsp&nbsp&nbsp
<img src="../images/icon-twitter.svg" alt="" />
</p>
117 &nbsp&nbsp&nbsp&nbsp
<img src="../images/icon-up.svg" alt="" />
</div>
<div class="twitter1">
<p>
Likes &nbsp&nbsp&nbsp&nbsp
<img src="../images/icon-twitter.svg" alt="" />
</p>
345 &nbsp&nbsp&nbsp&nbsp
<img src="../images/icon-up.svg" alt="" />
</div>
<div class="youtube1">
<p>
Likes &nbsp&nbsp&nbsp&nbsp
<img src="../images/icon-youtube.svg" alt="" />
</p>
107 &nbsp&nbsp&nbsp&nbsp
<img src="../images/icon-down.svg" alt="" />
</div>
<div class="youtube1">
<p>
Total Views &nbsp&nbsp&nbsp&nbsp
<img src="../images/icon-youtube.svg" alt="" />
</p>
123 &nbsp&nbsp&nbsp&nbsp
<img src="../images/icon-down.svg" alt="" />
</div>
</div>
<script src="script.js"></script>
</body>
</html>
23 changes: 23 additions & 0 deletions social-media-dashboard/Riya Jaiswal/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// function to set a given theme/color-scheme
function setTheme(themeName) {
localStorage.setItem("theme", themeName);
document.documentElement.className = themeName;
}

// function to toggle between light and dark theme
function toggleTheme() {
if (localStorage.getItem("theme") === "theme-dark") {
setTheme("theme-light");
} else {
setTheme("theme-dark");
}
}

// Immediately invoked function to set the theme on initial load
(function () {
if (localStorage.getItem("theme") === "theme-dark") {
setTheme("theme-dark");
} else {
setTheme("theme-light");
}
})();
Loading