Skip to content

Instantly share code, notes, and snippets.

@gitdagray
Created January 3, 2022 17:11
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save gitdagray/7d1676f2503c987fe22e2a8c10926426 to your computer and use it in GitHub Desktop.
Save gitdagray/7d1676f2503c987fe22e2a8c10926426 to your computer and use it in GitHub Desktop.
JS Chapter 22 HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>My Page</title>
<link rel="stylesheet" href="css/js_chapter_22_css.css" />
<script defer src="js/main.js"></script>
</head>
<body>
<nav>
<h1>My Page</h1>
</nav>
<main>
<section id="view1" class="view1">
<div>1</div>
<div>2</div>
<div>3</div>
<div>4</div>
<div>5</div>
<div>6</div>
<div>7</div>
<div>8</div>
<div>9</div>
<div>10</div>
<div>11</div>
<div>12</div>
</section>
<section id="view2" class="view2 darkblue">
<div class="black">
<h2>My 2nd View</h2>
</div>
</section>
<section id="view3" class="view3">
<form id="myForm">
<label for="myTextInput">Text Input:</label>
<input type="text" id="myTextInput" autocomplete="off" />
<button type="submit">Submit</button>
</form>
</section>
</main>
</body>
</html>
@soham47238
Copy link

I am grateful to you sir.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment