From the course: JavaScript for Web Designers
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
What is an API? - JavaScript Tutorial
From the course: JavaScript for Web Designers
What is an API?
- [Instructor] Working on the website for H+ Sport, I have their address here on their contact page. But it would be even nicer to show a map. Of course, there's an easy way to do this. We can select the address, copy it, and go over to Bing or Google Maps and search for it. Now of course, this is not the actual location of H+ Sport, that's a business that doesn't really exist. This actual address is for the Capitol Records building. We'll just pretend this is where the business is located. So anyway, we can embed this map. This gives us a chance to generate some code, which I can then copy, and bring over to my html file. I'm going to scroll down a whole bunch, to my custom content here. Here we go. I'll paste this in right here. Save that, and go back to my browser and take a look. Refresh this. And there we go. We have a map. This works fine, but I don't have a whole lot of control over how…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.