Friday, March 11, 2016

Week 3

This week, I learned how to use if statements in JavaScript. To create an if statement, you state a certain condition in a program, and if that condition is met, then a specific task will be performed.
Using if statement, I was able to create an interactive painting program. If you would like to view it, copy and paste the following link into your search bar:
https://www.khanacademy.org/computer-programming/spin-off-of-challenge-your-first-painting-app/3339986300
To paint, you just hold the mouse clicker and drag the small circle across the screen.

No comments:

Post a Comment