React · Junior · Question 75 of 75

What does <input disabled={false} /> render?

Explanation

For boolean DOM attributes, true adds the attribute and false removes it. Writing just <input disabled /> means disabled={true}.

Further reading

Problem with a question

React · Junior · question 75

Test yourself

Take the React · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz