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

Addition Of Chemical Bonding Quiz #102

Merged
merged 2 commits into from
Jan 11, 2024
Merged
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
14 changes: 13 additions & 1 deletion Pages/Quizes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<header>
<div class="header">
<h1 class="head-txt">Quizes</h1>
<img src="assets/asset 42.svg" alt="Quizes" class="head-img">
<img src="assets/asset 42.svg" alt="Simulation" class="head-img">
</div>
</header>

Expand Down Expand Up @@ -127,6 +127,18 @@ <h2>3D Geometry</h2>
</div>

</div>
<div class="course">
<div class="course-preview">
<h6>Course</h6>
<h2>Chemistry</h2>
</div>
<div class="course-info">
<h6>Test</h6>
<h2>Chemical Bonding</h2>
<button class="card-btn" onclick="window.location.href = './tests/button-8/index.html' ">Start</button>
</div>

</div>
</div>
</div>

Expand Down
Binary file added Pages/Quizes/tests/button-8/assets/asset 1.png
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 Pages/Quizes/tests/button-8/assets/asset 41.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,037 changes: 1,037 additions & 0 deletions Pages/Quizes/tests/button-8/assets/asset 42.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 Pages/Quizes/tests/button-8/img/Formal Charge.png
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 Pages/Quizes/tests/button-8/img/Hybridization.png
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 Pages/Quizes/tests/button-8/img/Ionic Bonds.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 Pages/Quizes/tests/button-8/img/Resonance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 Pages/Quizes/tests/button-8/img/VSEPR Theory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
128 changes: 128 additions & 0 deletions Pages/Quizes/tests/button-8/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
<!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>Virtuo Learn</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="media-queries.css">
<link rel="icon" type="image/x-icon" href="../../../../assets/logo.png">
</head>
<body>
<!-- nav bar -->
<nav>
<div class="container main-nav flex">
<a href="../../../../index.html" class="company-logo">
<img src="./assets/asset 41.png" alt="company logo">
</a>
<div class="nav-links" id="nav-links">
<ul class="nav-menu">
<li><a href="../../../../index.html" class="hover-link"> Home </a></li>
<li><a href="../../../About-Us/index.html" class="hover-link">About Us</a></li>
<li><a href="../../../Simulation/index.html" class="hover-link">Simulations</a></li>
<li><a href="../../../3D-Visualizations/index.html" class="hover-link">3D Visualisations</a></li>
<li><a href="../../../Quizes/index.html" class="hover-link">Quizes</a></li>
<li><a href="../../../Videos/index.html" class="hover-link">Videos</a></li>
<li><a href="../../../Doubt Engine/index.html" class="hover-link">Doubt Engine</a></li>
</ul>
</div>
<div class="hamburger">
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
</div>
</div>
</nav>

<!-- header section -->
<header>
<div class="header">
<h1>Chemical Bonding </h1>
</div>
</header>

<!-- Quiz section -->

<div class="quiz-wrapper">

<div class="quiz-container" id="quiz">

<div class="quiz-header">
<div id="difficulty"></div>
<h2 id="question">Question is loading...</h2>

<ul class="quiz-ul">
<li>
<input type="radio" name="answer" id="a" class="answer" />
<label for="a" id="a_text">Answer...</label>
</li>
<li>
<input type="radio" name="answer" id="b" class="answer" />
<label for="b" id="b_text">Answer...</label>
</li>
<li>
<input type="radio" name="answer" id="c" class="answer" />
<label for="c" id="c_text">Answer...</label>
</li>
<li>
<input type="radio" name="answer" id="d" class="answer" />
<label for="d" id="d_text">Answer...</label>
</li>
<button id="submit">Submit</button>
</div>
</div>

</div>
<div class="result">
<div class="weak">

<div class="text">

</div>
</div>

</div>

<script src="./script.js"></script>

</div>

<div class="solution-div">

</div>

<div class="recommendations">

</div>

<div >
<div class="recommendation-thumbnails">

</div>
</div>

<!-- footer -->
<footer>
<div class="footer-content">
<a href="#" class="company-logo footer-logo">
<img src="./assets/asset 41.png" alt="company logo">
</a>
<p>Developed By Jayesh Batra</p>
</div>
</footer>

<script src="https://kit.fontawesome.com/c1fc3d2826.js" crossorigin="anonymous"></script>

<script>
const hamburger = document.querySelector(".hamburger");
const navMenu = document.querySelector(".nav-menu");

hamburger.addEventListener("click", () => {
hamburger.classList.toggle("active");
navMenu.classList.toggle("active");
})
</script>

</body>
</html>
98 changes: 98 additions & 0 deletions Pages/Quizes/tests/button-8/media-queries.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
@media screen and (max-width: 1030px) {

h3 {
font-size: 1.2rem;
}

.main-nav {
overflow: initial;
}

.hamburger{
display: block;
}

.hamburger.active .bar:nth-child(2){
opacity: 0;
}
.hamburger.active .bar:nth-child(1){
transform: translateY(8px) rotate(45deg);
}
.hamburger.active .bar:nth-child(3){
transform: translateY(-8px) rotate(-45deg);
}

.nav-menu{
position: absolute;
top: -100%;
left: 0;
gap: 0;
flex-direction: column;
width: 100%;
text-align: center;
transition: 0.3s;
z-index: 1;
/* background-color: aqua; */
/* max-height: 10vh; */
margin: 0;
padding: 0;

background: rgba(236, 235, 255, 0.2);
/* border-radius: 16px; */
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(3.3px);
-webkit-backdrop-filter: blur(3.3px);
border: 1px solid rgba(236, 235, 255, 0.3);

}
.hover-link{
margin: 16px 0;
}
.nav-menu.active{
top: 13%;
}

.course {
flex-direction: column;
height: 60vh;
}
.course-preview {
width: 70vw;
}
.course-info {
width: 100%;
height: 200%;
}
.card-btn {
bottom: 5vh;
right: 5vw;
}
}

@media screen and (max-width: 479px) {
:root {
--padding-inline-section: 10px;
}

h1 {
font-size: 2rem;
}

h2 {
font-size: 1.5rem;
}

h3 {
font-size: 1.5rem;
}

p {
font-size: 1rem;
}

.center{
position: relative;
left: 0vw;
}

}
Loading