Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update HTML class for the webrtc tutorial #37804

Open
stinct9 opened this issue Jan 25, 2025 · 1 comment
Open

Update HTML class for the webrtc tutorial #37804

stinct9 opened this issue Jan 25, 2025 · 1 comment
Labels
Content:WebAPI Web API docs

Comments

@stinct9
Copy link

stinct9 commented Jan 25, 2025

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/Build_a_phone_with_peerjs/Connect_peers/Show_hide_html

What specific section or headline is this issue about?

Update the class name in the HTML document

What information was incorrect, unhelpful, or incomplete?

the HTML document uses the class = castStatus whereas the rest of the references in the javascript are cast-status. This causes an error in the provided javascript snippet

The HTML document linked on the setup page need to be changed:

Setup page: https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/Build_a_phone_with_peerjs/Setup

Link to the HTML document: HTML

What did you expect to see?

Change the class name in the HTML document from

castStatus to cast-status

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@stinct9 stinct9 added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jan 25, 2025
@github-actions github-actions bot added the Content:WebAPI Web API docs label Jan 25, 2025
@Josh-Cena Josh-Cena removed the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jan 26, 2025
@Josh-Cena
Copy link
Member

We need to bring that file into MDN first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs
Projects
None yet
Development

No branches or pull requests

2 participants