35 lines
857 B
HTML
35 lines
857 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>FAQs</title>
|
|
<link rel="stylesheet" href="faqs.css">
|
|
</head>
|
|
|
|
<body id="faqs">
|
|
<h1>JavaScript FAQs</h1>
|
|
|
|
<h2><a href="#">What is JavaScript?</a></h2>
|
|
<div>
|
|
<p>JavaScript is a scripting language that you can use to make websites
|
|
interactive.</p>
|
|
</div>
|
|
|
|
<h2><a href="#">Why use JavaScript?</a></h2>
|
|
<div>
|
|
<ul>
|
|
<li>It has simple syntax that's easy to learn.</li>
|
|
<li>It's versatile.</li>
|
|
<li>It's one of the most popular programming languages.</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<h2><a href="#">Which browsers support JavaScript?</a></h2>
|
|
<div>
|
|
<p>All the major modern browsers support JavaScript.</p>
|
|
</div>
|
|
|
|
<script src="faqs.js"></script>
|
|
</body>
|
|
</html> |