Hstudy Assessment
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Mini App</title>
<style>
body {
background: lavender;
margin: 0;
height: 100%;
overflow: hidden;
}
h2{
text-align: center;
margin-bottom: 70px;
}
div.user-photo {
width: 150px;
height: 150px;
margin: 1em auto;
background: #fff;
}
div.details {
font-size: 2.3em;
margin: 2.5em 0.2em 0.2em 0.2em;
color: #fff;
padding: 1.1em;
min-height: 6em;
background-color: #6200ee;
}
div.user-photo {
width: 100px;
height: 100px;
border-radius: 50%;
text-align: center;
overflow: hidden;
}
.image {
display: block;
width:100%;
}
footer {
width: calc(100% - 2em);
z-index: 500;
position: absolute;
bottom: 0;
overflow: hidden;
display: flex;
justify-content: space-between;
margin: 0 1em;
color: white;
}
footer button.mdc-icon-button {
margin: 0.5em;
}
</style>
</head>
<body>
<h2 class ="">Username</h2>
<div class ="user-photo mdc-elevation--z3">
<img class="image" src="https://via.placeholder.com">
</div>
<div class ="details mdc-elevation--z3"></div>
<div class="messages"></div>
<footer>
<button id="btn-address" class="mdc-icon-button material-icons">contact_support</button>
<button id="btn-phone" class="mdc-icon-button material-icons">phone</button>
<button id="btn-birthdate" class="mdc-icon-button...