Skip to content

Commit d301e74

Browse files
committed
Add: Practice Files.
1 parent 2d0357b commit d301e74

File tree

7 files changed

+18
-1
lines changed

7 files changed

+18
-1
lines changed

Chatata!/chatata_images/icon.png

6.55 KB
Loading
File renamed without changes.

Chatata!/images/ico.png

-4.67 KB
Binary file not shown.

Chatata!/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<title>Chatata! - chat with friends</title>
55
<meta charset="UTF-8">
66
<link rel="stylesheet" href="styles4.css">
7+
<link rel="icon" href="chatata_images/icon.png"/>
78
</head>
89
<body>
910

Chatata!/styles4.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
body{
22
margin: 0;
3-
background-image: url('images/pink-bg.jpg');
3+
background-image: url('chatata_images/pink-bg.jpg');
44
}
55

66
.main-container{

Practice Files/index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
5+
6+
</head>
7+
<body>
8+
<h1 id="txt">name here</h1>
9+
</body>
10+
11+
<script src="script.js"></script>
12+
</html>

Practice Files/script.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
$author = "King";
2+
3+
console.log("Hello, World!" + $author); // Output: Hello, World!King
4+
document.getElementById("txt").innerHTML = $author;

0 commit comments

Comments
 (0)