Menu
Coddy logo textTech

Step 1: Card Structure

Part of the Fundamentals section of Coddy's React journey — lesson 39 of 42.

challenge icon

Challenge

Easy

Build the card skeleton in App.jsx:

  1. A <div> with className="card".
  2. Inside it: an <h2> with id="profile-name" and the text Ada Lovelace.
  3. Below the name: a <p> with id="profile-bio" and the text First programmer.

Try it yourself

<!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>

All lessons in Fundamentals