Since the web and its constituent code are constantly changing, there is no one resource that is best. Instead, students should aim to absorb resources from a variety of sources, putting them to use through trial and error.
Remember that most of the time spent writing code will be fixing bugs. In fact, learning how to debug is what programming is all about! (And sometimes bugs will allow you to discover something new and never seen before.)
If you find yourself stuck with a bug, first try breaking your problem down into smaller, more manageable parts. Search Google or Stack Overflow for how to solve those parts, one at a time.
You should make sure your computers have:
For isolating, testing, and iterating on pieces of code:
For a good general overview:
HTML stands for Hypertext Markup Language. It's used to structure a webpage and its content. HTML is not a programming language, but a markup language.
CSS stands for Cascading Style Sheets. It's a series of rules used to style a webpage. Like HTML, CSS is not really a programming language—it's a style sheet language.
Terminal is a type of command-line interpreter or shell. Mac OS X includes a program appropriately called "Terminal," which can be used to run UNIX commands.
Keyboard shortcuts can be a useful tool. With limited real estate on screens and multiple applications open, it’ll become important that you can quickly interact with your code, in plain text, the web inspector and in the browser. These are some common shortcuts, grouped by application, that you might want to use while working. This list is by no means all-inclusive and will change based on your own machine's keyboard, applications, user settings, and operating system.
These shortcuts are meant for the software most of us are using in this class: Google Chrome, Atom or Brackets, and macOS.
⌘ the Command Key symbol
⌥ the Option Key symbol
⇧ the Shift Key symbol
⌃ the Control Key symbol
⇧ arrow keys
⇧⌘ arrow keys
⇧⌥ arrow keys
In Atom, for a full list of shortcuts, go to File / Preferences / Keybinding.
You can also drag your 'Interactive' folder into your text editor for quick access to all of its files and directories.
All students at Yale have free access to Lynda.com, a website that contains thorough online video courses for all skills learned in this course. Access Lynda here:
Lynda's Yale Portal
First, make sure you're on the Yale Secure and not Yale Guest wifi.
Please email me (firstname.lastname@example.org) if you have any questions!