HTML and CSS Reference
In-Depth Information
javascriPt anD css
The for loop structure loops
thro u gh every object in the
puz zl eCells collection.
The background color of the
puzzle cells is changed to gold
after the for loop is completed.
Inline CSS styles are
set for document
objects using the
style p roperty for
a partic u lar style .
The backgroundColor
property is equivalent to the
CSS background- color
style for setting
background colo r s.
The length property
returns the number
of objects in the
pu z zleCells object
co ll ection.
The color value
rgb(233, 207, 209)
is equiv a lent to
the colo r gold.
Search WWH ::




Custom Search