View on GitHub

reading-notes

Reading notes for Codesfellows Coding

Reading 05

html book

Chapter 5: “Images” (pp.94-125)

Chapter 11: “Color” (pp.246-263)

background color

body { background-color: rgb(200,200,200);} h1 { background-color: DarkCyan;} h2 { background-color: #ee3e80;} p { background-color: white;}

Opacity

Chapter 12: “Text” (pp.264-299)

element should be 75% size, it will be 9px (75% of the 12px font size). >ems An em is equivalent to the width of a letter m. ```javascript function sumThisUp() { var arrayOfNumbers = [1,10,15,20] var intNum = 5 for (var i = 0; i < arrayOfNumbers.length ; i++){ intNum + arrayOfNumbers[i] } } ``` ```javascript for ( var iA=0 ; iA < arrayOfAns.length ; iA++){ if (userGuess7 === arrayOfAns[iA]){ alert('Nice! That is one of them!') i=0; frendLvl++; break; }else(i == 0) // console.log('last try') break; ```