Poduce an html form with a textarea, text boxes n button

Assignment Help Programming Languages
Reference no: EM13935614

1 Produce an HTML form with a textarea, 5 text boxes and a button.

2 Invite the user to type 10 or more characters in the textarea and then click the button.

3 Validate the textarea by ensuring that it is not left blank. As an additional (optional) task, you may wish to generate a separate error message if there is some input but it includes no vowels.

4 Write one or more JavaScript functions in an external .js file that will read through the input and count the number of letters which are vowels: a,e,i,o,u. Keep five separate counts, one for each of the vowels. Hint: the value of a single character in a string can be saved like this: singleCharacter = stringName.charAt(i); where i indicates the position of the character in the string.

5 Display the five vowel totals in the five input boxes.

6 Place the five vowel totals in an array and search through the array to see which letter appears most frequently in the input (Hint: think about using a variable called something like 'biggestSoFar'). Change the background colour of the input box displaying the total of the most frequently occurring vowel to yellow or gold. To provide some evidence that you have gone beyond the requirements, you may wish (as an optional task) to also find the second and third most frequently occurring vowels in the input. Change the background colour of their input boxes to silver and brown or bronze.

Use HTML5 comments, JavaScript comments and CSS comments in the respective files to explain the code you have used. Unexplained code will be interpreted as possible evidence of plagiarism.

Attachment:- lesson.txt

Reference no: EM13935614

Questions Cloud

Substantial piece of on course assessment : ASSESSMENT TASK 3: DESCRIPTION The essay is meant to help develop and test library research and writing skills. This will be your primary source of written feedback and a substantial piece of on course assessment.
Why would carson use the given approach : Carson Ltd uses sensitivity analysis that allows for alternative exchange rate scenarios. Why would Carson use this approach rather than using the pegged exchange rate as its exchange rate forecast in every year?
What distinguishes a eukaryotic cell from a prokaryotic cell : What distinguishes a eukaryotic cell from a prokaryotic cell? Why embryos are an excellent source for stem cells?
Determine the equivalent force-couple system : Determine the equivalent force-couple system at A. Also, compute the x-inter-cept of the line of action of the system resultant treated as a single force R.
Poduce an html form with a textarea, text boxes n button : Produce an HTML form with a textarea, 5 text boxes and a button.Invite the user to type 10 or more characters in the textarea and then click the button.
Project to renovate the airport in peekskill : The seller has agreed to a fixed price incentive (FPI) contract. The target cost is $450,000 and the target fee is 10% of the target cost. The price ceiling is $540,000 and the buyer/seller share ratio 80/20. The final actual cost is $430,000. Det..
It is better to have a win-win solution rather win lose : IR Individual Assignment Write an essay on the following topic (three pages) "If there is any dispute, it is better to have a win-win solution rather than having a win lose solution or lose win solution"
Calculate the pay range overlap for these two pay grades : Assume pay grade A has a 30% range spread with a midpoint of $30,000 and pay grade B has a 40% range spread with a midpoint of $40,000. Calculate the pay range overlap for these two pay grades
Do you agree with managers interpretation of the analysis : Its manager stated that it did not want to pursue a project that had a one-in-three chance of having a negative NPV. Do you agree with the manager's interpretation of the analysis? Explain.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd