7. CSS Refactor
●
●
●
●
Group by section
Order by precedence (tag selectors at top, id
selectors at bottom)
Create classes for large CSS changes in JS
Remove unnecessary CSS
13. Debugging
Always start by defining the problem:
● “The image is not moving.”
●
“None of my code works.”
14. Debugging
Always start by defining the problem:
● “The image is not moving.”
○ Find the code that makes the image move
●
“None of my code works.”
○ Syntax error: check console
15. Debugging: Level 1
Access debugging console in Chrome
PC: CTRL + SHIFT + J
Mac: COMMAND + OPTION + J
Check for errors (red text, aligned right) in
console
16. Debugging: Level 2
So no red errors but not getting the right
answer?
Try console.log
21. Explore Plugins
How to Add Carousel (Slider) to a Website
Using Caroufredsel
Getting Started with jQuery Masonry
Creating a Parallax Scrolling Webpage Using
Jarallax.js
22. Lab: Personal Projects
Milestones:
1. Project Proposal / Wireframes
○ Session 12 -- Monday, January 6, 2014
2.
Some Coding with Pseudo Code
○ Session 14 -- Monday, January 13, 2014
3.
First Draft
○ Session 16 -- Wednesday, January 22, 2014
23. Lab: Personal Projects
Target Dates:
1. Session 19 | Project Lab
○ Monday, February 3, 2014
2.
Session 20 | Presentations
○ Wednesday, February 5, 2014