클래스 컨테이너와 input
Coddy의 이미지 아코디언 | 프론트엔드 프로젝트 코스 레슨 — 17개 중 3번째.
챌린지
쉬움- “wrapper” 내부에 클래스 이름이 "container"인 div를 생성하세요.
- "container" 내부에 다음 설정을 가진 input을 생성하세요:
- type을 ‘radio’로 설정
- name을 ‘slide’로 설정
- ID를 ‘c1’으로 설정
input을 체크 상태로 만드세요:
<input checked>직접 해보기
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Write HTML code here -->
<script src="script.js"></script>
</body>
</html>