Closed teoli2003 closed 2 years ago
If you move the closing tag for the body
element one line above the closing tag for the html
element of fixes a Nu HTML checker error.
You're right, this is an oversight. The script should be in the header or the body. (ideally <script>
in the header and the JS in a separate file, but this is significant work for little outcome).
Fix incoming.
This is part of our project to update code to a more modern JS syntax.
This PR updates the offline-audio-context-promise example:
const
andlet
where possibleIn addition:
fetch()
AudioContext
ctor is called after user interaction.Tested on Firefox, Safari, and Chrome (macOS) via a local server.