To Do This Week:
NO CLASS on Monday January 16th – MLK DAY. We will meet on Wednesday the 18th.
CodeAcademy – just the lessons, not the projects
Change Circles Script
Remember, if your script stops working. Command + Option + J opens the console with the line of the error. Or “inspect element” and look for the Console in the panel.
- In Sublime Text go to Tools>Developer>New Snippet
- In the <content> tag and between <![CDATA[ …… ]]> add the following code:
<link rel="stylesheet" href="css/styles.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
Remove comments for line six and set your trigger word (such as html): <tabTrigger>html</tabTrigger>
- Save your snippet in a file ending in “sublime-snippet.” On Mac, user created snippets are saved at:
Users/”Your User Name”/Library/Application Support/Sublime Text 3/Packages/User