In this task, match the code syntax with the correct description of the JavaScript function.
HTML Canvas Graphics
JavaScript drawing functions
Report a typo
Match the items from left and right columns
fillRect(x, y, width, height)
strokeRect(x, y, width, height)
clearRect(x, y, width, height)
Draws a rectangular outline.
Clears the specified rectangular area, making it transparent.
Draws a filled rectangle.
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.