diff --git a/index.html b/index.html index c4fff5c..ab5fa84 100644 --- a/index.html +++ b/index.html @@ -38,7 +38,7 @@
-

82.165.116.211

+

82.165.116.211

Hi,
I'm Rushil

And this
is not my website.

diff --git a/js/main.js b/js/main.js index da79fb3..b36cc6c 100644 --- a/js/main.js +++ b/js/main.js @@ -12,6 +12,11 @@ $(document).ready(function(){ $('.menu').click(function() { $('ul').toggleClass('active'); }) + + $.getJSON("https://api.ipify.org?format=json", + function(data) { + $(".ip").html(data.ip); + }) }); $(window).load(function() {