In January 2011, a tweet from a friend introduced me to something called P2PU.
I didn’t have this blog in place yet, so I created a stand-alone .html page and pasted the code (including the script) into my application form. That experimental script is the reason you had to dismiss that silly box to read this in peace.
Following is what I wrote and submitted in my class application.
Todd J. List
I’m a little unclear about the directions (just WHERE do I write my application blog? I’m guessing that’s what this box is for) but I’ll just plow forward. Also, where do I put create my HTML page and submit it?
Although I’m an inexperienced programmer, I like the idea of everything being an object, and I hope this helps me learn more about using OOP.
A couple of immediately useful things I learned from watching the video included using the “+” operator to concatenate strings. This differs from PHP where I would use a “.” to do that.
One last thing: Even if I am not accepted into the class, I know about the videos now and this will be a very useful tool for me.
About the program
The script creates two variables, num1 and num2 and gives both of them the value 2. A third variable, sum adds the other two variables together. The result is displayed in the Alert Box. It’s annoying, but it works.