REACT
Free Section Starter Challenge
20 min
1. Functional Components & JSX Syntax
Overview: Write components returning JSX markup and compose parent-child layouts.
Concept & Syntax Guide
JSX lets you write HTML-like tags inside JavaScript. Functional components are JavaScript functions that return JSX describing what should appear on the screen.
Hands-On Practice Exercise
Create a Template Card Component
Build a functional component `TemplateCard` that returns a card with an `<h3>` and a `<button>`.
Target Output:
FitPulse Gym Template
Need a hint? Click here to reveal
Hint: Check syntax carefully and make sure your code contains:
FitPulse Gym Template
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10