Skip to content

Commit

Permalink
fix(build error)
Browse files Browse the repository at this point in the history
  • Loading branch information
soumyajit4419 committed Feb 2, 2022
1 parent 657cc0d commit e4b5545
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _content/BL-1004.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ There is another export syntax you need to know, known as export default. Usuall


What's the difference between an "attribute" and a "property"?
Attributes are defined on the HTML markup but properties are defined on the DOM. To illustrate the difference, imagine we have this text field in our HTML: <input type="text" value="Hello">.
Attributes are defined on the HTML markup but properties are defined on the DOM. To illustrate the difference, imagine we have this text field in our HTML:
```<input type="text" value="Hello">.```

const input = document.querySelector('input');
console.log(input.getAttribute('value')); // Hello
Expand Down

1 comment on commit e4b5545

@vercel
Copy link

@vercel vercel bot commented on e4b5545 Feb 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.