복습: React 만나기
Coddy React 여정의 기초 (Fundamentals) 섹션에 포함된 레슨. 42개 중 5번째.
챌린지
쉬움챕터 복습: 이 챕터에서 배운 모든 내용을 사용해 작은 페이지를 만들어 보세요.
- 래퍼
<div>안에id="title"을 지정한<h1>을 추가하고, 텍스트는My React Page로 설정하세요. - 그 아래에
id="intro"를 지정한<p>를 추가하고, 텍스트는Built with components로 설정하세요. - 그 문단에 JSX 방식으로 CSS 클래스
lead를 지정하세요.
직접 해보기
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div id="root"></div>
<script type="module" src="main.jsx"></script>
</body>
</html>