Capstone: Interactive Profile Card

Bring it all together — structure, styling, layout, a hover transition and a working Follow button — into one polished component you build from scratch and export.

Put it all together

This is your capstone. You’ll build a profile card that uses every skill from this course:

  • HTML — a semantic structure with a heading and a button.
  • CSS box model — padding, a border and rounded corners.
  • A transition — so the card responds smoothly.
  • JavaScript — a working Follow button that changes its label and updates a follower count.

No new concepts — this is about combining what you know into something real. Build it, then Export it and open it in VS Code: it’s a genuine component you could drop into a site.

Interactive profile card
PREVIEW

Your tasks

  • ○The card has an <h2> with a name
  • ○.card has padding of at least 1rem
  • ○.card has a visible border and rounded corners
  • ○.card has a transition (duration > 0)
  • ○There is a <button id='follow'>
  • ○The script logs 'card ready' to the console
  • ○Clicking Follow shows 'Following' and sets followers to 1

You’re a frontend developer now

Look at what you just did: from a blank file, you built a structured, styled, animated, interactive component — and every piece was graded against the real rendered page, not a multiple-choice guess. That’s the actual job.

Where to go next:

  • Hit Export and open your card in VS Code — add a photo, more fields, a nicer hover.
  • Take this course’s test-out exam from the Challenges hub to prove the skill.
  • Move to the Backend Development course to learn what happens on the server — databases, APIs, and the logic behind the pages you now know how to build.

The bridge from here to building for real is short, and you’ve already crossed most of it.

🧪 Want to practise this on your own computer? See how to set up your lab →

🤖

Need clarification? Ask GT

Hi, I'm GT — your AI tutor for Capstone: Interactive Profile Card. What would you like to know?
📝

Knowledge Check

1 of 1

You've combined HTML, CSS and JavaScript. Which does WHAT?

Report a problem

About: /lessons/frontend-capstone-profile-card