Mobile Browser accessibility

Changed `console.log`  to `alert` so that mobile browser users can know the order of execution.
This commit is contained in:
Himanshu Singh 2019-05-18 23:31:19 +05:30 committed by GitHub
parent ee4a91e56c
commit 6bdaf20770
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,7 +60,7 @@ So DOMContentLoaded definitely happens after such scripts:
```html run
<script>
document.addEventListener("DOMContentLoaded", () => {
console.log("DOM ready!");
alert("DOM ready!");
});
</script>