└── whatsapp ├── .vscode └── settings.json ├── Screenshot (7).png ├── Screenshot (8).png ├── Screenshot (9).png ├── 8888-removebg-preview.png ├── 9999-removebg-preview.png ├── Black Geometric Depop Profile Picture.png ├── README.md ├── script.js ├── style.css └── index.html /whatsapp/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "liveServer.settings.port": 5501 3 | } -------------------------------------------------------------------------------- /whatsapp/Screenshot (7).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinaykumarmahato/whatsapp-ui-clone-/HEAD/whatsapp/Screenshot (7).png -------------------------------------------------------------------------------- /whatsapp/Screenshot (8).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinaykumarmahato/whatsapp-ui-clone-/HEAD/whatsapp/Screenshot (8).png -------------------------------------------------------------------------------- /whatsapp/Screenshot (9).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinaykumarmahato/whatsapp-ui-clone-/HEAD/whatsapp/Screenshot (9).png -------------------------------------------------------------------------------- /whatsapp/8888-removebg-preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinaykumarmahato/whatsapp-ui-clone-/HEAD/whatsapp/8888-removebg-preview.png -------------------------------------------------------------------------------- /whatsapp/9999-removebg-preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinaykumarmahato/whatsapp-ui-clone-/HEAD/whatsapp/9999-removebg-preview.png -------------------------------------------------------------------------------- /whatsapp/Black Geometric Depop Profile Picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vinaykumarmahato/whatsapp-ui-clone-/HEAD/whatsapp/Black Geometric Depop Profile Picture.png -------------------------------------------------------------------------------- /whatsapp/README.md: -------------------------------------------------------------------------------- 1 | # WhatsApp UI Clone 2 | 3 | This project is a clone of the WhatsApp user interface (UI). It replicates the design and layout of the WhatsApp mobile application. 4 | 5 | ## Description 6 | 7 | The WhatsApp UI clone is built using HTML, CSS, and JavaScript. It aims to mimic the look and feel of the official WhatsApp app, providing a similar user experience. The clone includes features such as a chat list, contact profiles, last chat times, and a menu bar with different tabs for chats, status, and calls. 8 | 9 | ## Installation 10 | 11 | To run this project locally, follow these steps: 12 | 13 | 1. Clone the repository: 14 | git clone https://github.com/ADVindiancoder/whatsapp-ui-clone.git 15 | 16 | ## Usage 17 | The WhatsApp UI clone can be used to explore and understand the layout and design of the WhatsApp mobile application. It can also serve as a starting point for building your own messaging application. 18 | 19 | ## Contributing 20 | Contributions are welcome! If you have any suggestions or improvements for the project, please submit a pull request. Make sure to follow the contribution guidelines. 21 | 22 | ## License 23 | This project is licensed under the MIT License. 24 | -------------------------------------------------------------------------------- /whatsapp/script.js: -------------------------------------------------------------------------------- 1 | 2 | let menuBar; 3 | let fixedMenu; 4 | let statusBar; 5 | let chartBar; 6 | let active; 7 | let callBar; 8 | let chatCallStatus; 9 | 10 | window.onload = function () { 11 | 12 | setTimeout(() => { 13 | document.querySelector('body').style.opacity = '1'; 14 | }, 500); 15 | 16 | menuBar = document.querySelector('.menu-bar'); 17 | fixedMenu = menuBar.offsetTop; 18 | statusBar = document.querySelector('.status-container'); 19 | chartBar = document.querySelector('.chat-container'); 20 | active = document.getElementsByClassName('menu-bar__list-item'); 21 | callBar = document.querySelector('.call-container'); 22 | chatCallStatus = document.querySelector('.chat-status-call'); 23 | statusBar.remove(); 24 | callBar.remove(); 25 | changeTab(1); 26 | 27 | 28 | window.onscroll = function () { 29 | 30 | if (window.pageYOffset >= fixedMenu) { 31 | menuBar.classList.add("fixed-menu") 32 | } else { 33 | menuBar.classList.remove("fixed-menu"); 34 | } 35 | } 36 | } 37 | 38 | function changeTab(index) { 39 | 40 | for (var i = 0; i < 3; i++) 41 | active[i].classList.remove('active-select-menu'); 42 | active[index - 1].classList.add('active-select-menu'); 43 | if (index == 1) { 44 | statusBar.remove(); 45 | callBar.remove() 46 | $(chatCallStatus).append(chartBar); 47 | 48 | } 49 | else if (index == 2) { 50 | chartBar.remove(); 51 | callBar.remove(); 52 | $(chatCallStatus).append(statusBar); 53 | 54 | } 55 | 56 | else if (index == 3) { 57 | chartBar.remove(); 58 | statusBar.remove(); 59 | $(chatCallStatus).append(callBar); 60 | } 61 | 62 | } -------------------------------------------------------------------------------- /whatsapp/style.css: -------------------------------------------------------------------------------- 1 | @import url('https://fonts.googleapis.com/css?family=Lato&display=swap'); 2 | 3 | *{ 4 | margin: 0; 5 | padding: 0; 6 | } 7 | 8 | body{ 9 | font-family: 'Roboto'; 10 | opacity: 0; 11 | transition: all .6s; 12 | } 13 | 14 | .phone-status-bar{ 15 | background-color: #128C7E; 16 | padding: 1rem; 17 | display: flex; 18 | justify-content: space-between; 19 | align-items: center; 20 | color: #fff; 21 | font-weight: 200; 22 | position: relative; 23 | } 24 | .phone-status-bar i{ 25 | padding-right: 1rem; 26 | font-size: 1.3rem; 27 | cursor: pointer; 28 | } 29 | .heading-primary{ 30 | font-family: 'Lato', sans-serif; 31 | font-size: 1.5rem; 32 | } 33 | 34 | .menu-bar{ 35 | background-color: #128C7E; 36 | display: flex; 37 | justify-content: space-between; 38 | align-items: center; 39 | color: #fff; 40 | position: relative; 41 | z-index: 6; 42 | box-shadow: 0 2px 6px rgba(0,0,0,.2); 43 | } 44 | 45 | .fixed-menu { 46 | position: fixed; 47 | top: 0; 48 | width: 100%; 49 | } 50 | 51 | .menu-bar i{ 52 | margin: 0 10px; 53 | opacity: .8; 54 | } 55 | 56 | .menu-bar__list{ 57 | width: 100%; 58 | text-transform: uppercase; 59 | font-weight: 800; 60 | list-style: none; 61 | display: flex; 62 | justify-content:space-between; 63 | } 64 | 65 | .menu-bar__list-item{ 66 | opacity: .8; 67 | padding: .8rem 1rem; 68 | border-bottom: 2px solid transparent; 69 | transition: all .2s ease-in-out; 70 | } 71 | 72 | 73 | 74 | .active-select-menu ,.menu-bar__list-item:hover{ 75 | opacity: 1; 76 | cursor: pointer; 77 | border-bottom: 3px solid #fff; 78 | } 79 | 80 | 81 | 82 | .chat-container{ 83 | padding:.6rem 0; 84 | } 85 | 86 | .chat-list{ 87 | display: flex; 88 | align-items: center; 89 | justify-content: space-between; 90 | padding: 6px 0; 91 | font-size: 62.5%; 92 | position: relative; 93 | } 94 | 95 | .chat-list::after{ 96 | content: ""; 97 | position: absolute; 98 | bottom: 0; 99 | right:1rem; 100 | width: 76%; 101 | height: 1px; 102 | background: rgba(0,0,0,.2); 103 | } 104 | .person-chat{ 105 | font-size:20px; 106 | } 107 | .tick{ 108 | color:blue; 109 | font-weight: bold; 110 | } 111 | .tick2{ 112 | color:blue; 113 | margin-left:-10px; 114 | font-weight:bold; 115 | } 116 | @media only screen and (max-width: 360px) { 117 | .chat-list::after{ 118 | width: 64%; 119 | } 120 | 121 | } 122 | 123 | @media only screen and (min-width: 540px) { 124 | .chat-list::after{ 125 | width: 78%; 126 | } 127 | 128 | } 129 | 130 | @media only screen and (min-width: 1100px) { 131 | .chat-list::after{ 132 | width: 92%; 133 | } 134 | 135 | } 136 | 137 | 138 | 139 | 140 | .user-img{ 141 | width: 5rem; 142 | height: 5rem; 143 | border-radius: 50%; 144 | margin: 0 1rem; 145 | 146 | } 147 | 148 | .person-profile{ 149 | display: flex; 150 | align-items: center; 151 | } 152 | 153 | .last-chat-time{ 154 | margin-right:2rem; 155 | } 156 | 157 | 158 | /* Status */ 159 | 160 | .status-container{ 161 | padding: 1rem 0; 162 | } 163 | 164 | 165 | .person-profile-status{ 166 | position: relative; 167 | border-bottom: 1px solid rgba(0,0,0,.2); 168 | padding-bottom: 1rem; 169 | } 170 | 171 | .user-img-status{ 172 | border: 2px solid #25D366; 173 | padding:2px; 174 | } 175 | 176 | .recent-update{ 177 | font-size: 1rem; 178 | background: #ECE5DD; 179 | padding: 8px; 180 | margin-bottom: 1rem; 181 | } 182 | 183 | .add-icon{ 184 | position: absolute; 185 | left: 4rem; 186 | bottom: 20px; 187 | color: #fff; 188 | background:#25D366; 189 | padding: 6px 7.5px; 190 | border-radius: 50%; 191 | } 192 | 193 | .call-icon{ 194 | font-size: 1.5rem !important; 195 | color: #128C7E; 196 | } 197 | 198 | 199 | .status-list-fixed,.contact-list,.call-list{ 200 | width: 80px; 201 | height: 80px; 202 | position: fixed; 203 | bottom: 4rem; 204 | right: 5px; 205 | z-index: 1; 206 | } 207 | 208 | .status-list-fixed i,.contact-list i,.call-list i{ 209 | color: dimgrey; 210 | background: #ECE5DD; 211 | padding: 1rem 1.1rem; 212 | border-radius: 50%; 213 | margin-bottom: 5px; 214 | } 215 | 216 | .contact-list,.call-list{ 217 | bottom: 5px; 218 | } 219 | 220 | 221 | 222 | .call-list i{ 223 | background-color: #25D366; 224 | color: #fff; 225 | padding: 1rem 1.2rem; 226 | } 227 | 228 | .contact-list i{ 229 | background-color: #25D366; 230 | color: #fff; 231 | padding: 1rem; 232 | } 233 | 234 | .status-list-fixed i:last-child{ 235 | background-color: #25D366; 236 | color: #fff; 237 | } -------------------------------------------------------------------------------- /whatsapp/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | WhatsApp 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 |

WhatsApp

20 |
21 | 22 | 23 |
24 |
25 | 26 | 34 | 35 |
36 |
37 | 38 |
39 | 40 | chat 41 | 42 |
43 | 44 |
45 |
46 | 48 |
49 |

50 | Vinay software engineer 51 |

52 |

How are you brother

53 |
54 |
55 |

12:00 pm

56 |
57 | 58 | 59 | 60 |
61 |
62 | 64 |
65 |

66 | vinay personal 67 |

68 |

Answer my phone! I need your help...

69 |
70 |
71 |

2:30 am

72 |
73 | 74 |
75 |
76 | 78 |
79 |

80 | ADV indian coder 81 | 82 |

83 |

please create some new video sir

84 |
85 |
86 |

1:00 am

87 |
88 | 89 | 90 |
91 |
92 | 93 |
94 |

95 | Elon Musk 96 |

97 |

Bhai, Mars kab chale...

98 |
99 |
100 |

2:00 am

101 |
102 | 103 |
104 |
105 | 107 |
108 |

109 | CarryMinati 110 |

111 |

Yalgaar Ho..

113 |

114 |
115 |
116 |

12:00 pm

117 |
118 | 119 | 120 |
121 |
122 | 124 |
125 |

126 | Narendra Modi 127 |

128 |

Mere 20 lakh carore kab milenge...

130 |
131 |
132 |

12:00 pm

133 |
134 | 135 | 136 |
137 |
138 | 139 |
140 |

141 | Bill Gates 142 |

143 |

Nayi company banai toh main baat nahin karta..

144 |
145 |
146 |

12:00 pm

147 |
148 | 149 |
150 |
151 | 153 |
154 |

155 | Coffin Dancer 156 |

157 |

Ek Baar bahar to aake dekh...

158 |
159 |
160 |

12:00 pm

161 |
162 | 163 |
164 |
165 | 167 |
168 |

169 | Donald Trump 170 |

171 |

Bhidu, China Pr Hamla Kab Karna Hai...

172 |
173 |
174 |

12:00 pm

175 |
176 |
177 | 178 |
179 | 180 |
181 | 182 | 183 |
184 | 185 | 186 |
187 | 188 | 190 |
191 |

My status

192 |

Tap to see add status upadte

193 |
194 |
195 |

Recent updates 196 |

197 | 198 |
199 |
200 | 202 |
203 |

204 | Mukesh Ambani 205 |

206 |

42 minutes ago

207 |
208 |
209 |
210 | 211 |
212 | 213 |
214 | 215 |
216 | 217 |
218 |
219 |
220 | 222 |
223 |

224 | Donald Trump 225 |

226 |

Today, 1:22am

227 |
228 |
229 |

230 |
231 | 232 |
233 |
234 | 236 |
237 |

238 | Narendra Modi 239 |

240 |

Today, 2 :22am

241 |
242 |
243 |

244 |
245 |
246 | 247 | 248 |
249 | 250 | 251 | 252 | 253 | --------------------------------------------------------------------------------