Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Dec 2006
    Posts
    417
    Thanks
    168
    Thanked 1 Time in 1 Post

    Thumbs up Javascript Coding Challenges - A Way to Learn JS

    I was wondering if the more experienced coders would be interested in putting up Javascript related challenges in this forum (or perhaps the mods can create a separate forum is this idea takes off?). Every couple of days someone posts a "challenge" and the JS noobs (myself included) will try to come up with a solution to solve the challenge. Noobs shouldn't post the code in the thread (since it will spoil it for other noobs), rather links to the solution would be better since there is less of a "spoiler" to clicking the link. The forum will archive the challenges and the solutions so that future users will be able to learn from them. Challenges can start off with simple JS or a simple yui-ext.


    What do you think?

    If you are an experienced coder and have a simple/easy challenge to start off with then post a new thread with the word "Challenge" in it and let's try it out...
    Last edited by Bobafart; 02-18-2007 at 01:36 PM.

  • #2
    ess
    ess is offline
    Regular Coder
    Join Date
    Oct 2006
    Location
    United Kingdom
    Posts
    866
    Thanks
    7
    Thanked 30 Times in 29 Posts

    Challenge

    Sounds like a good idea.

    Here is a challenge for you.

    given a textarea that is used to post comments on a web page, create a script (using regular expression) that remove JavaScript blocks from the textarea before the form is submitted, without removing any other elements such as <b>, <h1> <a> etc.

    Good Luck

    Ess


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •