Introduction 3 exercises
Problem

Navigating JSX Types

Let's take a look at JSX and how you can use VS Code to get the most out of JSX and understand what types it's expecting.


export const Component = () => {
return (
<div
// How do I figure out what type aria-posinset expects?
aria-posinset={}
// How do I figure

Loading exercise

Transcript

0:00 Let's take a look at JSX and how you can use VS Code to get the most out of JSX and understand what types it's expecting. I've got three missions for you, which is can you figure out what type aria-posinset takes?

0:14 Can you figure out the type that onChange expects? How do you get autocomplete on the props that div expects as well? How do you figure that out? Those are your three missions. See if you can figure them out, and I'll show you the solution. Good luck.