In this lab, you will be working with DOM selectors. A DOM selector is a way of selecting an element or elements by a specified attribute.
Learning Objectives
Upon completion of this beginner/intermediate/advanced level lab, you will be able to:
- Retrieve an element by ID
- Retrieve an element using a query selector
- Retrieve multiple elements by class
- Retrieve an element's text content after selecting it
- Retrieve an element's attribute value
Intended Audience
- Software Engineers who need to learn front-end technologies to expand their skillset
- Beginners learning front-end development
Prerequisites
The following courses/courses and labs can ensure your success: