Pros and Cons List

Pros and Cons List

This was inspired by Benjamin Franklin’s technique for making decisions. To help you decide, type in the situation in the top box and then add the pros and cons in the boxes below. Finally clear away your worries by pressing the Clear Everything button. This was built with JavaScript and JQuery.

The lesson I learned from this site was to break problems down into the smallest possible sub-problem. I was failing because I was trying to build two lists next to each other with add and remove and clear all functionality, and I was trying to build all of these features at the same time.

After stumbling for awhile, I realized that I simply needed to be able to add and remove from a single list. Then the next focus was having two lists on the page, one of top of the other. The final step was to get the lists next to each other.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s