-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (42 loc) · 1.07 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html>
<head>
<link
rel="stylesheet"
type="text/css"
href="./build/stylesheets/accordion.css"
/>
<script
src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
crossorigin="anonymous"
></script>
<script type="text/javascript" src="./src/js/accordion.js"></script>
</head>
<body>
<div class="section-wrapper accordion">
<!-- 1. Accordion main wrapper -->
<h2 class="accordion__title">
<!-- 2. Accordion title section and button -->
<button
id="accordion1id"
class="accordion__title-button"
type="button"
aria-expanded="true"
aria-controls="sect1"
>
Fields Medal in Mathematics
</button>
</h2>
<div
id="sect1"
role="region"
aria-labelledby="accordion1id"
class="accordion__content"
>
<!-- 3. Accordion content section -->
<p>Add content here</p>
</div>
</div>
</body>
</html>