To Lecture Notes

IT 238 -- Feb 24, 2025

Review Exercises

  1. Use document methods to obtain JavaScript objects that represent HTML elements that match these selectors:
    #5  td  .red
    
  2. Dynamically create a paragraph element, populate it, and append it to the body of the DOM? Assume that this paragraph tag does not exist so that it must be created dynamically and added to the body element. Use an anonymous function in arrow notation for the init method to add this element.
  3. Dynamically create an ordered list and append it to the bottom of the HTML document. Obtain the inner HTML for the list items from this array:
    ["un", "deux", "trois", "quartre", "cinq"]
    
    Use an anonymous functions in arrow notation for the event handlers.

Practice Quiz 6b

Project 4

Examples for Project 4

Truthiness

The jQuery JavaScript Library

Basic jQuery Syntax

Some jQuery Examples

JavaScript querySelector Method