Build a small React component where a colour typed into an input changes the background of a set of divs — using both useState and useRef.
Build a small React component where a colour typed into an input changes the background of a set of divs — using both useState and useRef.
Opens with the full question.