Section 1

Preview this deck

How do you add a background color for all h1 elements

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

2

All-time users

3

Favorites

0

Last updated

1 year ago

Date created

Mar 14, 2020

Cards (20)

Section 1

(20 cards)

How do you add a background color for all h1 elements

Front

H1 {background-color:#ffffff;}

Back

what does CSS stand for

Front

Cascading Style Sheets

Back

Which CSS property control to text size?

Front

Font-size

Back

How do you create a function in JavaScript

Front

function myFunction()

Back

Which is the correct CSS syntax

Front

Body{color:black;}

Back

How do you make each word in a text start with a capital letter

Front

Text-transformation:capilalize

Back

How do you find the number with the highest value of X and Y

Front

Math.max(x,y)

Back

How do you display hyperlinks without an underline

Front

A{text-decoration:none;}

Back

Which HTML attribute is used to define inline styles?

Front

Style

Back

How do you make text bold

Front

font-weight:bold;

Back

How does a while loop start

Front

while (i <= 10)

Back

Which property is used to change the front of an element

Front

Font-family

Back

Which CSS property is used to change the text color of an element

Front

Color

Back

Is Javascript case sensitive

Front

Yes

Back

What will the following code vetern: boolean (10 9)

Front

True

Back

How do you declare a JavaScript variable

Front

var carName;

Back

Inside which HTML element do we put in JavaScript

Front

Script tag

Back

The external Javascript file must contain the script tag

Front

True

Back

How do you round the number 7.25 to the nearest integer

Front

Math. Round(7.25)

Back

How do you insert a comment in a CSS file?

Front

/ this is a comment /

Back