40 questions for “Components & JSX”

Found in 1 field. Select a question to see its full answer.

Information Technology

40 questions in 1 technology

#QuestionTechnologyTopicLevel
1How do you add a CSS class to an element in JSX, and why is the attribute name different from regular HTML? React › Components & JSXReactComponents & JSXBeginner
2Why does JSX require every element to have exactly one parent element or a Fragment? React › Components & JSXReactComponents & JSXIntermediate
3What is JSX and why do React developers use it? React › Components & JSXReactComponents & JSXBeginner
4How do you embed a JavaScript expression inside JSX? React › Components & JSXReactComponents & JSXIntermediate
5What is a React component and what are the two main types? React › Components & JSXReactComponents & JSXBeginner
6What are CSS Modules and how do they prevent class names from clashing between components? React › Styling in React (CSS Modules, Styled Components & Tailwind)ReactStyling in React (CSS Modules, Styled Components & Tailwind)Beginner
7What is a controlled form input in React? React › Forms: Controlled & Uncontrolled ComponentsReactForms: Controlled & Uncontrolled ComponentsBeginner
8What is an uncontrolled form input, and how does it differ from a controlled one? React › Forms: Controlled & Uncontrolled ComponentsReactForms: Controlled & Uncontrolled ComponentsBeginner
9How do you prevent a form from reloading the page when it is submitted in React? React › Forms: Controlled & Uncontrolled ComponentsReactForms: Controlled & Uncontrolled ComponentsIntermediate
10What is Tailwind CSS and how does its approach differ from writing traditional custom CSS? React › Styling in React (CSS Modules, Styled Components & Tailwind)ReactStyling in React (CSS Modules, Styled Components & Tailwind)Intermediate