- What are the four main component when considering css specificity?
- If I have 1)
ul#nav li.active a
and 2)div.navbar li.active a.social
which will have more specificity? - What code can you put at
background: black;
to override specificity? - What are the four elements in a
box-model
? - What are the difference between
inline
,block
, andinline-block
? - What are the difference between position
relative
andabsolute
? - If I add the following css to
position: static
what would happen?
div {
position: static;
top: 100px;
right: 100px;
}
Feel free to use w3school or some other website to look for methods
- What are the four common data types you across different languages?
- What is the method to use to calculate
2 to the power of 2
andsquare root of 4
- What is the method to use to
round down
andround up
a float? - Name 2 other
methods
, excluding example, that you can use onStrings
. Example"hello".charAt(0)
- What are the difference between
null
andundefined
? - Given this array
var cuteAnimals = ["cat", "dog", "hedgehog"]
, write two loops usingxxx.forEach()
and good old fashionfor (var i=0....
to console log"I love cat"
,"I love dog"
, and"I love hedgehog"
. - Name 2 other
methods
, excluding example, that you can use onArrays
. ExamplemyArray.toString()
.