-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
83 lines (79 loc) · 2.97 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Accordion Effect</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<ul id="accordion">
<li>
<label for="first">What is HTML? <span>></span></label>
<input type="radio" name="accordion" id="first" checked />
<div class="content">
<p>
The HyperText Markup Language or HTML is the standard Markup
language for documnets designed to be displayed in a web browser.
It can be assisted by technologies such as Cascading Style Sheets
and scripting languages such as JavaScript.
</p>
</div>
</input>
</li>
<li>
<label for="second">What is CSS? <span>></span></label>
<input type="radio" name="accordion" id="second" />
<div class="content">
<p>
Cascading Style Sheets is a style sheet language used for describing the
presentation of a document written in a markup language such as HTML or
XML. CSS is a cornerstone technology of the World Wide Web, alongside HTML
and JavaScript.
</p>
</div>
</input>
</li>
<li>
<label for="third">What is JavaScript? <span>></span></label>
<input type="radio" name="accordion" id="third" />
<div class="content">
<p>
JavaScript, often abbreviated as JS, is a programming language that is one
of the core technologies of the World Wide Web, alongside HTML and CSS. As
of 2023, 98.7% of websites use JavaScript on the client side for webpage
behavior, often incorporating third-party libraries.
</p>
</div>
</input>
</li>
<li>
<label for="fourth">What is React.js? <span>></span></label>
<input type="radio" name="accordion" id="fourth" />
<div class="content">
<p>
React is a free and open-source front-end JavaScript library for building
user interfaces based on components. It is maintained by Meta and a
community of individual developers and companies. React can be used to
develop single-page, mobile, or server-rendered applications with
frameworks like Next.js.
</p>
</div>
</input>
</li>
<li>
<label for="fifth">What is Node.js? <span>></span></label>
<input type="radio" name="accordion" id="fifth" />
<div class="content">
<p>
Node.js is a cross-platform, open-source server environment that can run on
Windows, Linux, Unix, macOS, and more. Node.js is a back-end JavaScript
runtime environment, runs on the V8 JavaScript engine, and executes
JavaScript code outside a web browser.
</p>
</div>
</input>
</li>
</ul>
</body>
</html>