Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Send me current answer. Imagine that Wake Tech has instituted a new class registration procedure. Students are required to enter into a text box their

Send me current answer. Imagine that Wake Tech has instituted a new class registration procedure. Students are required to enter into a text box their course information in the following format:
AAA.111#2222_aa-1234 (HINT: this entry should return as valid if your regular expression is correct)
Example: WEB.110#4101_sp-2017
where
AAA represents the capitalized department number (example: WEB or GRD)
then a period
111 represents the course number (example: 110 or 115)
then a hash tag
2222 represents the course section number (example: 4101 or 0002)
then an underscore
aa represents the lowercase 2 character semester code (example: sp, su, fa)
then a dash
1234 represents the school year (example: 2017)
Your Web page will ask the user to type their information in a text box. The user will then click a form button named validate. If the format is correct a message will be generated below the button that reads "Correct Format". If the format is incorrect a message will be generated that reads "Incorrect Format".
Important
Your output must appear as text in your Web page. Do NOT use an alert() method for your output. HINT: use the innerHTML property to accomplish this.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students explore these related Databases questions