Lab #23

In this lab, there are specified tasks that the user must do in order for the checkbox to be chekced. For example, in order to check one of then, you need to hold on the shift key. To start, we need to call on  a function that would verify if the shift key has been clicked on. you make an if statement (if shiftkey.pressed && this.pressed){}. This would make sure that the checkbox would only be checked if the shift key and the mouse click button has been clicked. This can be used in the future to integrate a function only if a key is pressed. This is what i learned in this lab, which can help me in the future.

Comments

Popular posts from this blog

Lab 11

Final Portfolio Plan

Lab #43