Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a new HTML file that contains all the necessary tags to produce the following webpage: Assignment 4 Enter a string and we will provide

Create a new HTML file that contains all the necessary tags to produce the following webpage:
Assignment 4
Enter a string and we will provide you with the ability to turn it upper case, lower case, and determine the
string's length. You'11 also be able to grab a portion of your string.
Enter your string here:
Start Index (inclusive): , End Index (exclusive):
Output string will appear here.
Use type="number" for the Start Index and End Index inputs to prevent anyone from typing letters into
these fields. When you access this value it will still be stored as a string, but you will be guaranteed the
string only contains numbers.
Create a new JavaScript file and link it to your HTML file.
In the JavaScript file, create the following five functions
toUpper (): Gets the value from the first text box, turns it to uppercase, and displays the new
value in the output paragraph.
tolower (): Gets the value from the first text box, turns it to lowercase, and displays the new
value in the output paragraph.
getLength(): Gets the value from the first text box, determines its length, and displays the
length in the output paragraph.
getSubstring(): Gets the value from the first text box, let's call it str, as well as the values
image text in transcribed

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

Step: 3

blur-text-image

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

Beginning Databases With PostgreSQL From Novice To Professional

Authors: Richard Stones, Neil Matthew

2nd Edition

1590594789, 978-1590594780

More Books

Students also viewed these Databases questions

Question

What is the basis for Security Concerns in Cloud Computing?

Answered: 1 week ago

Question

Describe the three main Cloud Computing Environments.

Answered: 1 week ago