Skip to content

Commit 44195cb

Browse files
committed
MQE-1737: How to write good selectors
- Acted on review feedback
1 parent 5d658dc commit 44195cb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/guides/selectors.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ In general:
4343

4444
### Priority
4545

46-
The best and most simple selector will always be to use an element ID: `#some-id-here`. If only we were so lucky to have this every time. When writing selectors, you should prioritize looking for these starting points to build your selector from.
46+
The best and most simple selector will always be to use an element ID: `#some-id-here`. If only we were so lucky to have this every time.
47+
48+
When writing selectors, you should prioritize finding in this order:
4749

4850
1. ID, name, class, or anything else that is unique to the element
4951
2. Complex CSS selectors

0 commit comments

Comments
 (0)