Quiz on CSS
Let’s attempt a quiz on CSS in Transcrypt.
We'll cover the following...
We'll cover the following...
Quiz: CSS
1.
Which createElement()
call will result in a red button based on the following CSS?
.myButton{background-color: red}
A.
el('input', {'type': 'button', 'value': "Click It", 'class':
'myButton'})
B.
el('input', {'type': 'button', 'value': "Click It", 'className':
'.myButton'})
C.
el('input', {'type': 'button', 'value': "Click It", 'className':
'myButton'})
D.
el('input', {'type': 'button', 'value': "Click It", 'style':
'myButton'})
`
1 / 5