Skip to content

Commit e8b313c

Browse files
author
Wilondja243
committed
Add a readme file
1 parent 5827e48 commit e8b313c

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
#HTML, CSS, JavaScript Project for Beginners
1+
# HTML, CSS, JavaScript Project for Beginners
22

33
Welcome to this learning project for HTML, CSS, and JavaScript! This repository is desinged to help beginners understand the basics of web development through sinple and practical examples.
44

5-
##Projext Content
5+
## Projext Content
66

7-
-**HTML**:Basic strucrure of a web page
8-
-**CSS**: sTYLING AND LAYOUT
9-
-**JavaScript**: Adding interactivity
7+
- **HTML**:Basic strucrure of a web page
8+
- **CSS**: sTYLING AND LAYOUT
9+
- **JavaScript**: Adding interactivity
1010

11-
##Goals
11+
## Goals
1212

13-
-Learn how to structure a web page with HTML
13+
- Learn how to structure a web page with HTML
1414

15-
-Use CSS to enhance the appearance of pages
15+
- Use CSS to enhance the appearance of pages
1616

17-
-Implementt interactive features with JavaScript
17+
- Implementt interactive features with JavaScript

rtc-test/simple_real_time.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@ <h1>Video Call</h1>
3939
peer = new Peer();
4040

4141
peer.on('open', id => {
42+
4243
// Connect to the signaling server (use WebSocket, Firebase, etc.)
4344
// For simplicity, we assume there's a way to get a list of peers in the room
45+
4446
fetch(`https://your-server.com/peers-in-room?roomId=${roomId}`)
4547
.then(response => response.json())
4648
.then(peers => {
@@ -56,7 +58,7 @@ <h1>Video Call</h1>
5658

5759
// Listen for incoming calls
5860
peer.on('call', call => {
59-
call.answer(localStream); // Answer the call with our local stream
61+
call.answer(localStream);
6062
call.on('stream', addRemoteStream);
6163
connections.push(call);
6264
});

0 commit comments

Comments
 (0)