Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
vb-ferreira authored Jan 25, 2024
1 parent 883173a commit 5ca713b
Show file tree
Hide file tree
Showing 2 changed files with 121 additions and 0 deletions.
89 changes: 89 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<title>Aula 3</title>
</head>
<body>
<nav>
<ul>
<li><a href="#html">HTML</a></li>
<li><a href="#css">CSS</a></li>
<li><a href="#js">JS</a></li>
</ul>
</nav>
<header>
<h1>FrontQuiz 🕹️</h1>
</header>
<main>
<section id="html">
<h2>HTML</h2>
<details>
<summary><span>Pergunta 1</span></summary>
<p>
<em>Resposta 1</em>.
</p>
</details>
<details>
<summary><span>Pergunta 2</span></summary>
<p>
<em>Resposta 2</em>.
</p>
</details>
<details>
<summary><span>Pergunta 3</span></summary>
<p>
<em>Resposta 3</em>.
</p>
</details>
</section>
<section id="css">
<h2>CSS</h2>
<details>
<summary><span>Pergunta 1</span></summary>
<p>
<em>Resposta 1</em>.
</p>
</details>
<details>
<summary><span>Pergunta 2</span></summary>
<p>
<em>Resposta 2</em>.
</p>
</details>
<details>
<summary><span>Pergunta 3</span></summary>
<p>
<em>Resposta 3</em>.
</p>
</details>
</section>
<section id="js">
<h2>JavaScript</h2>
<details>
<summary><span>Pergunta 1</span></summary>
<p>
<em>Resposta 1</em>.
</p>
</details>
<details>
<summary><span>Pergunta 2</span></summary>
<p>
<em>Resposta 2</em>.
</p>
</details>
<details>
<summary><span>Pergunta 3</span></summary>
<p>
<em>Resposta 3</em>.
</p>
</details>
</section>
</main>
<footer>
<p>Isso é um rodapé.</p>
</footer>
</body>
</html>
32 changes: 32 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
html {
background-color: papayawhip;
color: #010101;
font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
font-size: 1.3em;
max-width: 40rem;
padding: 2rem;
margin: auto;
line-height: 1.5rem;
}

ul {
padding: 0;
margin: 0;
}

ul li {
display: inline-block;
margin-right: 1rem;
}

summary span {
margin-left: 0.5rem;
}

details > summary {
list-style-type: '▶️';
}

details[open] > summary {
list-style-type: '🔽';
}

0 comments on commit 5ca713b

Please sign in to comment.