Attribute vs Property

What’s the difference between an “attribute” and a “property”? As usual, let’s start smaller. What is a property? JS DOM objects have properties. These properties are kind of like instance variables for the particular element. As such, a property can be different types (boolean, string, etc.). Properties can be accessed using jQuery’s prop method (as seen below) […]