dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: coding plz

  1. #1
    Join Date
    Jul 2013
    Posts
    4

    coding plz

    MTSU uses course specifications like CSCI 4410-001. Here is a partial list of syntax rules for a MTSU course specification:
     It starts with from 2 to 4 uppercase letters  Next comes a space  Next comes a 4-digit number  Next comes a hyphen (-)  Next comes a section number which is either a 3 digit number, or the letter H or L followed by a two digit number
    Write a JavaScript function isCourse with one parameter, a string. It will return true if the string represents a MTSU course specification according to the above rules and false otherwise. You must use pattern matching appropriately. To test this function, write a simple HTML file containing a text box that will receive the course name and a submit button. On submit, the isCourse function should be used to determine whether the course is valid or not with an appropriate message in either case.

  2. #2
    Join Date
    Mar 2012
    Posts
    1,834
    A rather blatant request for someone to do your coursework. It would be better if you have a stab at it yourself, and then ask for assistance with specific issues. Presenting your code to work from.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles