Coding task · JavaScript and React course · Module 1: React Basics
Practice: JSX syntax
JSX is React's template language - it looks like HTML but works in JavaScript! In JSX you use className instead of class, camelCase for attributes (onClick), and curly braces {} for JavaScript expressions.
Task
Create a ControlPanel with: an h1 heading 'Control Panel', a <ul> list of 3 systems (using map), and a button 'Activate' with onClick. Use className for styling.