
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
화면에 해당 코드만 뜨네요 인터넷 브라우저로 열었는데
작성한 코드 및 에러 메세지
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>카드 예제</title>
<style>
.card {
border: 1px solid #e0e0e0;
border-radius: 10px;
width: 300px;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin: 20px auto;
text-align: center;
}
.card-title {
font-size: 24px;
margin-bottom: 20px;
}
.card-content {
font-size: 16px;
margin-bottom: 20px;
}
.card-button {
background-color: #007BFF;
color: white;
padding: 10px 15px;
border: none;
border-radius: 5px;
cursor: pointer;
text-decoration: none;
}
.card-button:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<div class="card">
<div class="card-title">제목</div>
<div class="card-content">내용이 들어갑니다.</div>
<a href="#" class="card-button">버튼</a>
</div>
</body>
</html>
