Label과 클래스 row
Coddy의 이미지 아코디언 | 프론트엔드 프로젝트 코스 레슨 — 17개 중 4번째.
챌린지
쉬움- input 아래에, 다음의 속성을 가진 label 태그 하나를 생성하세요:
- for 속성을 “c1”으로 설정
- class 속성을 “card”로 설정
- ID 속성을 “one”으로 설정
- label 내부에 class 이름이 'row'인 div 하나를 생성하세요.
직접 해보기
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Write HTML code here -->
<script src="script.js"></script>
</body>
</html>