In this code (that uses jQuery), the following line in the html
#canvas { height: 500px; background: white; }
sets the height on the canvas to draw on. But if you change the height to a percentage value like this:
#canvas { height: 20%; background: white; }
the canvas doesn't display at all. Why is that? Thanks for reading.