Assessment needed for JS Functions Task 2

I am having trouble with JavaScript Functions Task 2 where you need to create function that draws a rectangle on a canvas. I can’t seem to get anything to happen.

CodePen:
https://codepen.io/kgirl89/pen/gOrrevq

Hello @kgirl89

you doing great well done

i see your code running from my side

sometime codepen missbehave so try to select everything in the html panel then cut and wait tell the result panel show empty area then paste your code back and see if it work

hope that help and have a nice day :slight_smile: