Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- Get and Set Content with textContent and innerHTML 8:00
- Change Element Attributes 5:50
- Modifying Elements 2 objectives
- Set Inline Styles with the style Property 9:38
- Create New DOM Elements 4:35
- Review Attributes and Element Creation 5 questions
- Append Nodes 4:52
- DOM Manipulation Review 3 questions
- Insert HTML at Specified Positions 3:39
- Remove Nodes 4:20
- Review Appending and Removing Nodes 5 questions

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Like most other attributes, you can get and set the inline style of an element in the DOM with the style
property. However, unlike most other attributes, the style
property returns an object containing a list of CSS style properties.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
PLUS
Katarzyna Wójtowicz
Courses Plus Student 4,842 Points2 Answers
-
Golas Makefs
Full Stack JavaScript Techdegree Student 285 Points1 Answer
-
Siam Hossain
Full Stack JavaScript Techdegree Student 4,615 Points3 Answers
-
ilia kolbas
824 Points1 Answer
-
PLUS
Joshua Munoz
Courses Plus Student 7,794 Points1 Answer
-
Jesse Gonzalez
7,322 Points2 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up