Monday, November 25, 2013

Blog 22

Blog 22

Explain what this code does.

var age=prompt('What is your age?', '21' )

What is the answer to this code?               var a = "dec " + 21 + 10

What is the result of the code?                     '20' + 11

What is the result of the code? var e = 9 + 11 + '13'

Sunday, November 24, 2013

Blog 21

Blog 21

1- What is wrong with this line?            var noOfcleaners = 20

2- What is wrong with this line?            var 1fan=50

3-  What does this do at then beginning of a line?         /n

Wednesday, November 20, 2013

blog 20

blog 20

What is the result of this code?

if ( 4>10)
{
    alert("Let's go down the first road!");
}
else
{
    // What should we do if the condition is false? 

    console.log("this is false")

}



Monday, November 18, 2013

Blog 19

Blog 19

What is the result of this line of javascript?          "cake".length*9

What are the two values of a boolean data type?

What does console.log () do?

Thursday, November 14, 2013

Friday, November 8, 2013

Blog 17

Blog 17

Write down what this CSS code does.

(#menu a { display:block; padding: 7px 25px 7px 20px; text-decoration: none; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color:red; border: none;})


Tuesday, November 5, 2013

Blog 16

Blog 16

Write the CSS code for the four type of links listed below.

unvisited link
visited link
mouse over link (hover)
selected link  (visited)

Sunday, November 3, 2013

blog 15

blog 15

Write the CSS code for a ID of footer with width 910 pixels, height 30 pixels, margin 0, padding left 40 pixels, top 0 pixels, right 15 pixels, and bottom 0 pixels with font Arial.