Lesson

Set the ID of an Element, freeCodeCamp review html & css, lesson 37

Lesson Summary

freeCodeCamp tutorial, help and review, in this challenge we go over setting the id of an element. Element as similar to classes. They help us name our element and then manipulate it using style(css) and also with javascript (which we will cover later). ID's should be unique and ideally used once. You'll learn why in future lessons, just trust me for now, if you are using an ID multiple times with different elements, then you probably want to use a class instead.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required


Share: