Skip to content

Commit e5b2fbe

Browse files
committed
rendering
1 parent f972c28 commit e5b2fbe

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

client/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ <h1>EPIC_Tracker</h1>
3333
<span class="pin"></span><br>
3434
<span class="weather"></span><br>
3535
<span class="temperature"></span><br>
36+
<span class="VPN"></span>
3637
<strong class="rotation-rate"></strong><br>
3738
<strong class="acceleration"></strong>
3839
<br>

client/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,9 @@ nowFetch().then(response => {
156156
}
157157
if(diff > 50000) {
158158
console.log("YAY VPN")
159+
document.querySelector('.VPN').textContent = `You ARE using a VPN`
159160
}else {
160161
console.log("NO VPN")
162+
document.querySelector('.VPN').textContent = `You donot seem to Use a VPN`
161163
}
162164
})

0 commit comments

Comments
 (0)