Marcus

Marcus is a fullstack JS developer. He’s passionate about the hapi framework for Node.js and loves to build web apps and APIs. Creator of Futureflix and the “learn hapi” learning path.


JavaScript — Get the Current URL

You can retrieve the current URL using JavaScript in the browser. The global window object provides a window.location attribute which contains all the parts of the current URL. This tutorial shows you how to get the current browser URL in client-side JavaScript. {{outline}} Retrieve the Current Browser URL You …

Continue Reading

Explore the Library

Find interesting tutorials and solutions for your problems.