Reading Notes
Images inline elements by default
display: block; if you then want to use margin-left: auto; and margin-right: auto; to center it on the page by itself{background-image: url("path");} Place a background image in an elementbackground-repeat: repeat-x; Background image repeats in the x direction onlybackground-repeat: repeat-y; Background image repeats in the y direction onlybackground-repeat: repeat; Background image repeats in both directionsbackground-repeat: no-repeat; Background image does not repeatbackground-attachment: fixed; Background image does not move on scrollbackground-attachment: scroll; Background moves on scrollbackground-position: center-top; Background image is set to center top, can also be left top, right top, left center, center center, center right, bottom left, bottom center, bottom right
background-position: 50% 50%; would center the picture in the windowbackground-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from (#66cccc), to(#336666)); sets a top to bottom gradient from lighter green to darker greenSEO Search Engine Optimization
Domain Names and Hosting
FTP File Transfer Protocol
Selecting Elements by Tag Name
gtElementByTagName('li'); selects the <li> elementRepeating actions for an entire node list
var hotItems = document.querySelectorAll('li.hot');
for (var i=0; i < hotItems.length; i++){
hotItems[i].className = 'cool';
}
var hotItems contains a NodeList, all list items whose class attribute is hotlength property of NodeList indicates how many elements are in the NodeListhotItems[i] array sytax used to indicate which item in NodeList is currently being worked on