-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (55 loc) · 1.46 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Basic X</title>
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<div id="header">
<h1>Twitter</h1>
<img
id="logo"
src="https://img.freepik.com/premium-vector/new-twitter-logo-x-2023-twitter-x-logo-official-vector-download_691560-10797.jpg"
alt="logo"
/>
</div>
<div>
<a href="/">Home</a>
<a href="/profile">Profile</a>
</div>
<div>
<input type="text" placeholder="What's happening?" id="postInput" />
<button onclick="addPost()">Post</button>
</div>
<div id="postContainer">
<div class="tweet">
<h2>Username</h2>
<p>The weather is nice today.</p>
<button>like</button>
</div>
<div class="tweet">
<h2>Username</h2>
<p>The weather is nice today.</p>
<button>like</button>
</div>
<div class="tweet">
<h2>Username</h2>
<p>The weather is nice today.</p>
<button>like</button>
</div>
<div class="tweet">
<h2>Username</h2>
<p>The weather is nice today.</p>
<button>like</button>
</div>
<div class="tweet">
<h2>Username</h2>
<p>The weather is nice today.</p>
<button>like</button>
</div>
</div>
<script src="./main.js"></script>
</body>
</html>