

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: Web Addresses
incomplete
2: Web Addresses Quiz
incomplete
3: DNS
incomplete
4: What Is the Domain Name System?
incomplete
5: Subdomains
incomplete
This lesson's interactive features are locked, please to keep using them
We learned about how a domain name resolves to an IP address, which is just a computer on a network - often the internet.
A subdomain prefixes a domain name, allowing a domain to route network traffic to many different servers and resources.
For example, docs.github.com is a subdomain of github.com. The docs subdomain likely routes to a different server than the main github.com domain.
I've updated the getIssueData function from before. Now it accepts just a domain as input. It's convenient this way because it means if the API we're using ever changes its domain, we only need to update one variable.
Problem is, there is a bug. The API isn't hosted on boot.dev, it's hosted on the "api" subdomain! Fix the bug.