Programming Workshop

Bite-sized exercises you can do in 2-6 hours, designed to help you master HTML, CSS, or JavaScript.

1
HTML & CSS
2
Advanced CSS
3
Beginner JS
4
Advanced JS

Embedding HTML

HTML Embed Exercise

In this exercise, you’ll create a webpage of many embedded elements. For some of these, you may have to google to figure out how to get embed codes - some sites make it easier/more obvious than others.

You may also want to consult these slides.

  1. Create a new blank page with just a header (“All About Dogs”).
  2. Take a look at the Network tab in Chrome Developer Tools and write down the loading stats on the page - number of requests, KB transferred, onload ms, DOMContentLoaded ms.
  3. Add an embedded Google Map that shows dog parks in San Francisco.
  4. Add Facebook comments to your page.
  5. Add a Twitter button to the page.
  6. Create a Google custom search engine that searches across multiple dog sites and embed the search box on the page.
  7. For each of the embeds, add comments around them to show where they start and end, and add an h2 to split the page up into sections.
  8. Take a look at the Network tab again and write down the new stats on the page.

An example of the Network Tab in Chrome Developer Tools.