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 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
Get step-by-step solutions from verified subject matter experts
