Skip to content

Commit c9bc0f1

Browse files
committed
markup for dark mode toggle & github buttons
1 parent f3eefe1 commit c9bc0f1

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

index.html

+26
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,31 @@
1010
</head>
1111

1212
<body>
13+
<!-- /* dark mode toggle & github buttons */ -->
14+
<nav>
15+
<div class="navbtn">
16+
<!-- Place this tag where you want the button to render. -->
17+
<a class="github-button" href="https://github.com/smthari/html-css-javascript-projects/fork"
18+
data-icon="octicon-repo-forked" data-size="large" data-show-count="true"
19+
aria-label="Fork smthari/html-css-javascript-projects on GitHub">Fork</a>
20+
21+
<!-- Place this tag where you want the button to render. -->
22+
<a class="github-button" href="https://github.com/smthari/html-css-javascript-projects"
23+
data-icon="octicon-star" data-size="large" data-show-count="true"
24+
aria-label="Star smthari/html-css-javascript-projects on GitHub">Star</a>
25+
26+
<a class="github-button" href="https://github.com/smthari" data-size="large" data-show-count="true"
27+
aria-label="Follow @smthari on GitHub">Follow</a>
28+
</div>
29+
<div class="theme-switch-wrapper">
30+
<label class="theme-switch" for="checkbox">
31+
<input type="checkbox" id="checkbox" />
32+
<div class="slider round"></div>
33+
</label>
34+
<em>Switch Theme</em>
35+
</div>
36+
</nav>
37+
1338
<div class="container">
1439
<h2>Password Generator</h2>
1540
<div class="result-container">
@@ -46,6 +71,7 @@ <h2>Password Generator</h2>
4671
</button>
4772
</div>
4873
</div>
74+
<script src="script.js"></script>
4975
</body>
5076

5177
</html>

0 commit comments

Comments
 (0)