eeli71's picture
Code a website, where it says "look at the cat" and there is image of a cat
fd36a3e verified
Raw History Blame Contribute Delete
1.03 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Look at the Cat</title>
<script src="https://cdn.tailwindcss.com"></script>
<style>
body {
background-color: #f3f4f6;
font-family: 'Arial', sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
flex-direction: column;
text-align: center;
}
h1 {
font-size: 2.5rem;
color: #1f2937;
margin-bottom: 2rem;
}
.cat-image {
border-radius: 1rem;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
max-width: 90%;
height: auto;
}
</style>
</head>
<body>
<h1>Look at the Cat</h1>
<img src="http://static.photos/animals/640x360/42" alt="A cute cat" class="cat-image">
</body>
</html>