We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
//google.com is actually a protocol relative url, and google.com would be the domain.
It's good to know that all accepted urls have to have an explicit protocol of http or https. I came to the comments because there didn't seem to be enough details.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Detect the Domain Name
You are viewing a single comment's thread. Return to all comments →
//google.com
is actually a protocol relative url, andgoogle.com
would be the domain.It's good to know that all accepted urls have to have an explicit protocol of http or https. I came to the comments because there didn't seem to be enough details.