Lab 4 Reflection

In lab 4, we worked with objects to help manipulate an HTML document. We were supposed to create an object based on a ninja or something of our choosing, we had to include properties of the object that we made up. The most important part of the lab was the methods we had to create in the object. This took the form of functions inside properties that reacted when a particular button was pressed.

For one of the functions, we had to include a parameter inside the method. I noticed that people were using for loops when creating this method. However, I found an alternate solution: a variable that gets its value from a prompt with a user input that will be included in the function. In the end, I felt satisfied that I found an alternate solution that could also be way better than a proven solution.

Comments

Popular posts from this blog

Final Portfolio Reflection

Seminar 2

Lab 29