Skip to content

Commit a9ee52b

Browse files
authored
#8: fix unordered list (#942)
#8: fix unordered list
2 parents 9f06601 + 65c5793 commit a9ee52b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

8-web-components/1-webcomponents-intro/article.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ Components may have subcomponents, e.g. messages may be parts of a higher-level
5656

5757
How do we decide, what is a component? That comes from intuition, experience and common sense. Usually it's a separate visual entity that we can describe in terms of what it does and how it interacts with the page. In the case above, the page has blocks, each of them plays its own role, it's logical to make these components.
5858

59-
- A component has its own JavaScript class.
59+
A component has:
60+
- its own JavaScript class.
6061
- DOM structure, managed solely by its class, outside code doesn't access it ("encapsulation" principle).
6162
- CSS styles, applied to the component.
6263
- API: events, class methods etc, to interact with other components.

0 commit comments

Comments
 (0)