Hi, pls, in this functions task-2 test your skills, I m wondering, through my lessons so far, canvas and drawing shapes inside it has only been mentioned in passing, and as such, i haven’t paid much attention to it, hoping it is a topic that visited later.
I want to know if i m supposed to solve it with reference from previous lessons, or if I m to go further and read up a bit on it, before attempting to create the draw function?
you need to create a function that draws a rectangle on the provided <canvas> (reference variable canvas , context available in ctx ), based on the five provided input variables: