- Know the material on the history page, particularly
Berners-Lee, the browser wars, and the creation of standards.
- HTML
- The correct page structure.
- What tags, attributes and entities are.
- Common tags: <p>, <i>, <b>, <a>, <img>, <div>, <span>, <ol>, <ul>, <li>, headers (<h1>, etc).
- Block v. inline elements.
- Structural v. formatting tags, and the replacement of the later
using CSS.
- That <div> and <span> are just for styling.
- URLs
- Know the parts.
- Understand relative URLs and how the browser resolves them from a
page at a particular location.
- Understand what the .. means in a URL.
- CSS
- The purpose: separate appearance from structure.
- Locations: inline, embedded, external, and how to make them.
- Block model, and properties height, width, padding and margin.
Simple borders.
- Colors
- Notations for creating them.
- Color and background color properties.
- z-index
- Selectors
- What they are and when they are needed.
- Major types: tag type, id, class, descendant, sibling.
- Important pseudoclasses: hover, first-child, last-child.
- Conflict rule: more specific wins.
- Fonts
- Specifying the font property (three parts).
- font-style: italic
- font-weight: bold;
- And don't forget that the the color property applies to what you
write with that font.
- JavaScript: On the language itself,
material from the Syntax notes.
Note in particular:
- Dynamic types.
- The fact that normal numeric type is always
floating point. (Unlike Java, 3/2 is 1.5.)
- The === operator and why it exists.
- The array syntax and its operations.
- The usual, boring control constructs.
- How to create functions, named and anonymous.
- Don't worry about function-created objects with new.
Just the { } kind.
- DOM
- Creating elements and adding them to the document.
- Selection of elements by id and other ways.
- Updating regular attributes of elements.
- Updating CSS properties of elements.
- .innerHTML and .textContent.
- Events
- Using onClick from HTML, including sending this.
- Setting click and other events with addEventListener,
including using the event object in the handler.
- Timed events, both flavors.
- DocumentWrite.
- AJAX
- Know what the term refers to.
- Know that the XMLHttpRequest object and the fetch interface are the
original and current ways to do this in JavaScript.
- Be able to understand and describe the effects of a code segment
using either of these.
- Know what JSON is, and that it is often used to transfer data
under AJAX.
- Understand the JavaScript event loop.
- JQuery
- We haven't had a project on this, so any questions should be fairly
high-level, and not ask for details.
- Understand the things shown on the
first notes page.
(But don't avoid looking at the examples which could make things clearer.)
- Chaining.
- Creation, modification, and insertion of new elements.
- Selection of existing elements, and the principle that the
following chain acts on all of them.
- Know what these methods do: .attr, .css, .addClass, .removeClass,
.on, .filter, .append, .appendTo.
- Difference between .append and .appendTo.
- Won't ask any details about the $.ajax() method. Just
know that it sends an HTTP request
and runs call-backs for the results like
all the other ways of doing it.