An App with One Line of Code!Technology
Tip: if you are not easily impressed, in high school, or a technical person, skip this post. You guys already know everything here. But for other folks that aren’t big into the code, you might find the ease and simplicity of this fun little plaything a great place to start your foray into code.
Yesterday I coded my first web app — ever. It took one line of code. Now, to either you technical folks or high school kids, this isn’t news. For me, however, it was a milestone.
Here’s what I did:
- I created a blank social app on Ning.
- Into this app, I created a new file. At first I called it,
you tube.php, but that didn’t work so well. By looking at another web app on Ning, I realized perhaps I should call it
index.php. That seemed to work.
- Into this
index.phpfile, I dropped in this line of code:
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/uPLe7u2bHuA"></param><embed src="https://www.youtube.com/v/uPLe7u2bHuA" type="application/x-shockwave-flash" width="425" height="350"></embed></object>
- I saved it.
Lo and behold, it worked!!!! One click to create my own app and one line of magic code from You Tube to add my favorite video of 2005.
I love the Internet.