πŸ“Š React Js
Q. Which attribute is used to specify inline styles in React?
  • (A) style (with an object)
  • (B) class
  • (C) className
  • (D) css
πŸ’¬ Discuss
βœ… Correct Answer: (A) style (with an object)

Explanation: The style attribute takes a JavaScript object with camelCase properties.

Explanation by: Mr. Dubey
The style attribute takes a JavaScript object with camelCase properties.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
71
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
82%
Success Rate