mirror of
https://github.com/Rushilwiz/crucialnet.git
synced 2025-04-09 22:00:17 -04:00
now actually gets ip
This commit is contained in:
parent
536ee7270b
commit
401f50c73c
|
@ -38,7 +38,7 @@
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
<section id="landing-section" class="body-sections">
|
<section id="landing-section" class="body-sections">
|
||||||
<h1 class="FrontPageHeaderText" id="headerTitleText">82.165.116.211</h1>
|
<h1 class="FrontPageHeaderText ip" id="headerTitleText">82.165.116.211</h1>
|
||||||
<h2 id="TopLeftHeader" class="FrontPageHeaderText">Hi, <br> I'm Rushil</h2>
|
<h2 id="TopLeftHeader" class="FrontPageHeaderText">Hi, <br> I'm Rushil</h2>
|
||||||
<div>
|
<div>
|
||||||
<h2 id="BottomRightHeader" class="FrontPageHeaderText">And this <br> is not my website.</h2>
|
<h2 id="BottomRightHeader" class="FrontPageHeaderText">And this <br> is not my website.</h2>
|
||||||
|
|
|
@ -12,6 +12,11 @@ $(document).ready(function(){
|
||||||
$('.menu').click(function() {
|
$('.menu').click(function() {
|
||||||
$('ul').toggleClass('active');
|
$('ul').toggleClass('active');
|
||||||
})
|
})
|
||||||
|
|
||||||
|
$.getJSON("https://api.ipify.org?format=json",
|
||||||
|
function(data) {
|
||||||
|
$(".ip").html(data.ip);
|
||||||
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
$(window).load(function() {
|
$(window).load(function() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user