Question: Q1. Write a JavaScript program to test the first character of a string is uppercase or not. Add a text control for input, a div

 Q1. Write a JavaScript program to test the first character of

Q1. Write a JavaScript program to test the first character of a string is uppercase or not. Add a text control for input, a div for the output and a button. If the input starts with a capital letter display "Capital", "Wrong format" otherwise must be displayed via the div. TOF Input: Ene capital

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!