Skip to content

Instantly share code, notes, and snippets.

@patrickandre
Last active May 16, 2017 14:05
Show Gist options
  • Save patrickandre/b7a88aecda95327a5c421a84df095c15 to your computer and use it in GitHub Desktop.
Save patrickandre/b7a88aecda95327a5c421a84df095c15 to your computer and use it in GitHub Desktop.
ga_lab_location

Lab

Using the location Object, try the following:

  • Create a URL with the following schema: scheme:[//[user[:password]@]host[:port]][/path][?query][#fragment]

  • In a gist, identify all parts of a URL schema (With your own words)

  • Create a class with methods that extract and Identify all parts of the specified url Schema. For example, if https://www.example.com?foo=bar is provided, display the following on the page or console.

  • scheme: http

  • etc

  • etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment