I was trying to create a github.io site which have a URL box where we can enter any URL and as an output, I need the IP address of the URL entered by the user. I tried several methods but none of them worked. I tried to get solutions from so many similar questions in stackoverflow but all of them are returning the users IP address instead of the IP address of the URL the user entered.
Is there a way to create this in Only Javascript (+HTML) ?