

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
Not enough gems
Cost: 6 gems
1: Uniform Resource Identifiers
incomplete
2: Sections of a URL
incomplete
3: Further Dissecting a URL
incomplete
4: The Protocol
incomplete
5: URL Ports
incomplete
6: URL Paths
incomplete
7: Query Parameters
incomplete
This lesson's interactive features are locked, please to keep using them
The "protocol" (also referred to as the "scheme") is the first component of a URL. It defines the rules by which the data being communicated is displayed, encoded or formatted.
Some examples of different URL protocols:
For example:
http://example.commailto:[email protected]The "http" in a URL is always followed by ://. All URLs have the colon, but the // part is only included for schemes that have an authority component. As you can see above, the mailto scheme doesn't use an authority component, so it doesn't need the slashes.
In the Jello menu, we show users the email addresses of their colleagues. We need that email to be a clickable hyperlink. When they click the hyperlink their default email client should open with a new message ready to send to the address they clicked on.
Complete the getMailtoLinkForEmail function. It should return a "mailto" URL for the given email.