In this lesson, students learn how to incorporate JavaScript into their HTML pages using the script
tag.
Students will be able to:
In this lesson, students learn how to modify HTML tags on a webpage using the DOM. The DOM, or Document Object Model, translates HTML files into accessible objects that can be manipulated or added to a webpage.
Students will be able to:
document.getElementById
document.getElemenyByTagName
In this lesson, students will learn how to create elements using the Document Object Model.
Students will be able to:
document.createElement
In this lesson, students learn how to style elements in HTML using JavaScript and the Document Object Model.
Students will be able to:
setAttribute
appropriately to style elements in JavaScriptIn this lesson, students learn how to use functions to make their webpages more dynamic.
Students will be able to:
In this lesson, students learn how to use the keyword this
to pass elements as parameters in their click events.
Students will be able to:
this
this
is used with onclick and with eventListenersIn this lesson, students will implement the skills they’ve learned from the previous lessons to create a working, clickable keyboard.
Students will be able to:
In this lesson, students learn about another event listener - keyboard interactions. Students learn how to listen for a keyboard press, and how to access information about each keyboard stroke.
Students will be able to:
keydown
and keyup
events to read keyboard informationkey.code
and key.key
, and when it’s appropriate to use eachIn this lesson, students learn how to animate web page elements using timers.
Students will be able to:
In this lesson, students learn how to use the position
style in CSS to improve animations.
Students will be able to:
position
attributesposition
to animate elementsIn this lesson, students test their knowledge of concepts from this module with a unit quiz.
Students will be able to: