O'Reilly logo

Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition by Robin Nixon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Test Your Knowledge

  1. What are the O, S, and C functions provided to do?

  2. Provide two ways to modify a CSS attribute of an object.

  3. Which properties provide the width and height available in a browser window?

  4. How can you make something happen when the mouse pointer passes over and then out of an object?

  5. Which JavaScript function creates new elements, and which appends them to the DOM?

  6. How can you make an element a) invisible and b) collapse to zero dimensions?

  7. Which function creates a single event at a future time?

  8. Which function sets up repeating events at set intervals?

  9. How can you release an element from its location in a web page to enable it to be moved around?

  10. What delay between events should you set (in milliseconds) to achieve an animation rate of 50 frames per second?

See Chapter 20 Answers in Appendix A for the answers to these questions.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required