Put in order · Vibe coding with Claude Code course · Module 9: Discord clone
Ordering: The microphone request
Arrange the line from the join function that asks for the microphone: setStream(await navigator.mediaDevices.getUserMedia({ audio: true }));
Items to put in order
- await
- ));
- navigator.mediaDevices
- { audio: true }
- .getUserMedia(
- setStream(
You can check the correct answer by solving this task in the CodeWorlds game.