Skip to content

Instantly share code, notes, and snippets.

@joshuarule
Created August 4, 2015 00:45
Show Gist options
  • Save joshuarule/4ef158f3415cc1a952b0 to your computer and use it in GitHub Desktop.
Save joshuarule/4ef158f3415cc1a952b0 to your computer and use it in GitHub Desktop.
  1. Between the <body> tags, before <div data-montage-id="montageVersion"></div>, add the following markup:

    <h1>Temperature Converter</h1>
    <div data-montage-id="tempConverter"></div>

    The data-montage-id custom data attribute is used to identify elements in the markup whose behavior you want to control. The objects that control these elements are located within the script block in the head area of the HTML document.

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