Menu
CoddyTech

복습: React 만나기

Coddy React 여정의 기초 (Fundamentals) 섹션에 포함된 레슨. 42개 중 5번째.

challenge icon

챌린지

쉬움

챕터 복습: 이 챕터에서 배운 모든 내용을 사용해 작은 페이지를 만들어 보세요.

  1. 래퍼 <div> 안에 id="title"을 지정한 <h1>을 추가하고, 텍스트는 My React Page로 설정하세요.
  2. 그 아래에 id="intro"를 지정한 <p>를 추가하고, 텍스트는 Built with components로 설정하세요.
  3. 그 문단에 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>

기초 (Fundamentals)의 모든 레슨