ICEI-PUC-Minas-PMGCC-TI
/
ti-1-pmg-cc-m-20241-g2-dificuldade-dos-vestibulandos-de-estudar-em-grupo-2
Public
generated from webtech-network/ti1-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2dfa9e2
commit 59a5857
Showing
27 changed files
with
1,521 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
document.getElementById('redirectButton1').addEventListener('click', function() { | ||
window.location.href = 'vizu de sala/index.html'; | ||
}); | ||
|
||
document.getElementById('redirectButton2').addEventListener('click', function() { | ||
window.location.href = 'Cadastro (collabora)/cadastro.html'; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
*{ | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
} | ||
|
||
body{ | ||
font-family: 'Open Sans', sans-serif; | ||
color: #fff; | ||
background-color: #9517E1; | ||
} | ||
|
||
.title{ | ||
font-size: 50px; | ||
text-align: center; | ||
margin-top: 80px; | ||
margin-bottom: 40px; | ||
text-decoration: underline 4px; | ||
} | ||
|
||
|
||
.questions-container{ | ||
max-width: 800px; | ||
margin: 0 auto; | ||
} | ||
|
||
.question{ | ||
border-bottom: 1px solid #fff; | ||
} | ||
.question button{ | ||
width: 100%; | ||
background-color: #9517E1; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
padding: 20px 15px; | ||
border:none; | ||
outline: none; | ||
font-size: 22px; | ||
color: #fff; | ||
font-weight: 700; | ||
cursor: pointer; | ||
} | ||
.question p{ | ||
font-size: 22px; | ||
max-height: 0; | ||
opacity: 0; | ||
line-height: 1.5; | ||
overflow: hidden; | ||
transition: all 0.6s ease; | ||
} | ||
.d-arrow{ | ||
transition: transform 0.5s ease-in ; | ||
color: #f3a60f; | ||
} | ||
|
||
/*add this class when click*/ | ||
.question p.show{ | ||
max-height: 200px; | ||
opacity: 1; | ||
padding:0px 15px 30px 15px; | ||
} | ||
.question button .d-arrow.rotate{ | ||
transform: rotate(180deg); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title> FAQ ACCORDION </title> | ||
<!-- fontawasome cdn --> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" /> | ||
<!-- google font --> | ||
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet"> | ||
<!-- css --> | ||
<link rel="stylesheet" href="faq2.css"> | ||
</head> | ||
<body> | ||
|
||
<section> | ||
<h1 class="title">FAQ's</h1> | ||
|
||
<div class="questions-container"> | ||
<div class="question"> | ||
<button> | ||
<span>Como funciona a plataforma do Collabora?</span> | ||
<span><i class="fas fa-chevron-down d-arrow"></i></span> | ||
</button> | ||
<p> No Collabora você aprende com os outros! Você pode se cadastrar para ensinar ou para assistir aulas e tirar dúvidas.</p> | ||
</div> | ||
|
||
<div class="question"> | ||
<button> | ||
<span>Como entrar em uma sala de aula online?</span> | ||
<i class="fas fa-chevron-down d-arrow"></i> | ||
</button> | ||
<p> Basta clicar em "Salas" e selecionar qual você quer entrar. Caso prefira criar sua própria sala você pode clicar em "Criar Sala".</p> | ||
</div> | ||
|
||
<div class="question"> | ||
<button> | ||
<span>Por que vincular a minha conta ao meu CPF traz mais segurança?</span> | ||
<i class="fas fa-chevron-down d-arrow"></i> | ||
</button> | ||
<p> Com a conta nominal a sua segurança aumenta!</p> | ||
</div> | ||
|
||
<div class="question"> | ||
<button> | ||
<span>Como faço para ter acesso e recursos exclusivos no Collabora?</span> | ||
<i class="fas fa-chevron-down d-arrow"></i> | ||
</button> | ||
<p> Você pode assinar o plano premium! </p> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
<!-- external js--> | ||
<script src="faq2.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
const buttons = document.querySelectorAll("button"); | ||
|
||
buttons.forEach( button => { | ||
button.addEventListener('click',()=> { | ||
const faq = button.nextElementSibling; | ||
const icon = button.children[1]; | ||
|
||
faq.classList.toggle('show'); | ||
icon.classList.toggle('rotate'); | ||
}) | ||
} ) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.