Build the Application

This is the frontend implementation exercise for Course 2, where backend setup and client behavior finally meet.

Your only hard prerequisite is the backend URL from the previous exercise. Once that is set, the rest is about wiring the browser app and validating end-to-end room behavior.

If you need a practical reference while coding, keep Client join for multiple participants open.

Exercise flow

Start the JavaScript coding exercise, open the preview environment, and work through the tutorial steps in order (01_first_step, 02_second_step, 03_third_step).

Note As you progress, set SAMPLE_SERVER_BASE_URL to the backend URL from the previous exercise and validate that each step still behaves correctly before moving to the next one.

Treat each step as a checkpoint, not a one-shot run. Validate connection, publishing, and subscription behavior before moving forward.

Done criteria

  • Session credentials load from backend.
  • Publisher initializes.
  • Remote participants render in subscriber area.
  • No blocking console errors in join/publish/subscribe flow.

Once these checks pass, your multiparty app is ready for archiving integration in Course 3.

For future reference