Answered by AI, Verified by Human Experts
rect(x, y, w, [h]) uses the x, y, width, and height to draw arectangleon the screen. line(x1, y1, x2, y2) creates a line on the screen (a straight line connecting two points).What is CodeHS line?The name of your function must be horizontalLine. You should receive a horizontal line of length 200 starting at position 100 if you call, for instance,horizontalLine(100, 200).Keep in mind that you can draw a line with a larger pen size OR use the advanced circle command (circle(radius, extent)) to create a circle with a curved end.Using the begin fill() command before Tracy starts moving and the end fill() command after the shape has been drawn, you may fill in your shape.In several languages, includingJavaScript, the newline character is written as n. To add a new line to a string, simply add the character n whenever one is necessary.To learn more aboutCodeHS line, refer to:brainly.com/question/25979913#SPJ4...