File tree Expand file tree Collapse file tree 3 files changed +7
-63
lines changed Expand file tree Collapse file tree 3 files changed +7
-63
lines changed Original file line number Diff line number Diff line change @@ -1180,14 +1180,14 @@ <h1 class="footer__title">Nipun</h1>
1180
1180
</ div >
1181
1181
1182
1182
< p class ="footer__copy "> © NipunHedaoo. All rights reserved.</ p >
1183
-
1183
+ < div id =" visits " > ... </ div >
1184
1184
</ div >
1185
1185
</ footer >
1186
1186
1187
1187
</ main >
1188
- <!-- <script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script> -->
1188
+ < script src ="./js/counter.js "> </ script >
1189
+ < script async src ="https://api.countapi.xyz/hit/nipunh.github.io/visits?callback=cb "> </ script >
1189
1190
< script type ="text/javascript " src ="https://cdn.jsdelivr.net/npm/@emailjs/browser@4/dist/email.min.js "> </ script >
1190
- < script src ="./js/email.js "> </ script >
1191
1191
< script src ="./js/main.js "> </ script >
1192
1192
</ body >
1193
1193
Original file line number Diff line number Diff line change
1
+ function cb ( response ) {
2
+ document . getElementById ( 'visits' ) . innerText = response . value ;
3
+ console . log ( response . value )
4
+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments