Skip to content

Commit 9e8f3e3

Browse files
authored
Fix grammar conflict in web-features.md (#2290)
"an entire JavaScript APIs" doesn't work because it simultaneously requires singularity and plurality. Since the sentence begins with a very small feature consisting of a singular property and a singular technology and works its way up to a vast feature consisting of some of everything, I'm guessing that the API is meant to be singular—giving two more simple examples before jumping to the complex example.
1 parent 0ed42fe commit 9e8f3e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gh-pages/src/web-features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ web-features is an effort to build a shared catalog of features of the web platf
1313

1414
Think of features as individual components of the web platform that web developers can use to achieve specific tasks.
1515

16-
As such, a feature has no specific size. A feature might cover a single CSS property, an entire JavaScript APIs with multiple interfaces, methods, and properties, or a combination of CSS properties, HTML elements, and JavaScript APIs. As long as a web developer would use the feature to achieve a specific goal, it's a feature.
16+
As such, a feature has no specific size. A feature might cover a single CSS property, an entire JavaScript API with multiple interfaces, methods, and properties, or a combination of CSS properties, HTML elements, and JavaScript APIs. As long as a web developer would use the feature to achieve a specific goal, it's a feature.
1717

1818
For example, the `fetch()` API is a feature, the `:has()` CSS pseudo-class function too, and so is the Web Audio API.
1919

0 commit comments

Comments
 (0)