-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathindex.html
76 lines (72 loc) · 2.66 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- displays site properly based on user's device -->
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./images/favicon-32x32.png"
/>
<title>Frontend Mentor | Interactive comments section</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<template class="reply-input-template">
<div class="reply-input container">
<img src="images/avatars/image-juliusomo.webp" alt="" class="usr-img">
<textarea class="cmnt-input" placeholder="Add a comment..."></textarea>
<button class="bu-primary">SEND</button>
</div>
</template>
<template class="comment-template">
<div class="comment-wrp">
<div class="comment container">
<div class="c-score">
<img src="images/icon-plus.svg" alt="plus" class="score-control score-plus">
<p class="score-number">5</p>
<img src="images/icon-minus.svg" alt="minus" class="score-control score-minus">
</div>
<div class="c-controls">
<a class="delete"><img src="images/icon-delete.svg" alt="" class="control-icon">Delete</a>
<a class="edit"><img src="images/icon-edit.svg" alt="" class="control-icon">Edit</a>
<a class="reply"><img src="images/icon-reply.svg" alt="" class="control-icon">Reply</a>
</div>
<div class="c-user">
<img src="images/avatars/image-maxblagun.webp" alt="" class="usr-img">
<p class="usr-name">maxblagun</p>
<p class="cmnt-at">2 weeks ago</p>
</div>
<p class="c-text">
<span class="reply-to"></span>
<span class="c-body"></span>
</p>
</div><!--comment-->
<div class="replies comments-wrp">
</div><!--replies-->
</div>
</template>
<main>
<div class="comment-section">
<div class="comments-wrp">
</div> <!--commentS wrapper-->
<div class="reply-input container">
<img src="images/avatars/image-juliusomo.webp" alt="" class="usr-img">
<textarea class="cmnt-input" placeholder="Add a comment..."></textarea>
<button class="bu-primary">SEND</button>
</div> <!--reply input-->
</div> <!--comment sectio-->
<div class="modal-wrp invisible">
<div class="modal container">
<h3>Delete comment</h3>
<p>Are you sure you want to delete this comment? This will remove the comment and cant be undone</p>
<button class="yes">YES,DELETE</button>
<button class="no">NO,CANCEL</button>
</div>
</div>
</main>
<script src="app.js"></script>
</body>
</html>