July 2, 2013

Live Chat

I recently discovered a really great website: firebase.com. It will store data for your applications, enabling you to write really awesome programs (such as multi-player games) using it - and the Development account (which I used) is free!

To communicate with the API, I had to learn HTML. I also learned some CSS and jQuery to make things easier. Then I wrote a live chat app using my knowledge.

In the app, you can use HTML to format your comments. At one point I allowed use of the &ltscript&gt tag, but after users abused it I disabled it. I also added a couple of new tags: &ltconsole&gt and &ltincode&gt You can post a comment by either clicking "Post Comment" or pressing the Alt key on your keyboard.

Here it is:

(HTML has been disabled)

Team KA Chat
Instant Chat System
INITIALIZING...
Name:

7 comments:

  1. Hey,Timothy,guess what? I'm back on Duolingo,Yeah!

    ReplyDelete
  2. I'm getting a SyntaxError in the javascript console and the program is stuck at initializing. What's wrong?

    ReplyDelete
    Replies
    1. Not sure. Haven't had much time to look into it.

      Delete
    2. Okay, I figured it out. Blogger messed up my code. I fixed that now.

      Delete
  3. A Computer Science portal for geeks. It contains well written, well thought and well
    explained computer science and programming articles, quizzes and practice/competitive
    programming/company interview Questions.
    website: geeksforgeeks.org

    ReplyDelete
  4. A Computer Science portal for geeks. It contains well written, well thought and well
    explained computer science and programming articles, quizzes and practice/competitive
    programming/company interview Questions.
    website: geeksforgeeks.org

    ReplyDelete
  5. A Computer Science portal for geeks. It contains well written, well thought and well
    explained computer science and programming articles, quizzes and practice/competitive
    programming/company interview Questions.
    website: geeksforgeeks.org

    ReplyDelete