diff --git a/files/en-us/web/api/orientationsensor/index.html b/files/en-us/web/api/orientationsensor/index.html index e67897b61d1ce81..fba6ef8ebda7b98 100644 --- a/files/en-us/web/api/orientationsensor/index.html +++ b/files/en-us/web/api/orientationsensor/index.html @@ -65,7 +65,7 @@

Basic Example

Permissions Example

-

Using orientation sensors requires requsting permissions for multiple device sensors. Becuase the {{domxref('Permissions')}} uses promises, a good way to request permissions is to use {{jsxref('Promise.all')}}.

+

Using orientation sensors requires requsting permissions for multiple device sensors. Because the {{domxref('Permissions')}} uses promises, a good way to request permissions is to use {{jsxref('Promise.all')}}.

const sensor = new AbsoluteOrientationSensor();
 Promise.all([navigator.permissions.query({ name: "accelerometer" }),