Challenge: Reference Elements by Key: x-ref
This challenge will test your knowledge of x-ref and the $refs magic property.
We'll cover the following
Challenge yourself
Complete the code snippet below. Use x-ref
and the $refs
magic property to make the div
element circular when the component initializes. Specify only the border-radius
. Give the div
a circled
reference.
Get hands-on with 1400+ tech skills courses.