Design and implement a Web page named pal.html that tests whether a word or phrase is a
Question:
Design and implement a Web page named pal.html that tests whether a word or phrase is a palindrome. Your page should allow the user to enter a word or phrase and then display a string indicating whether that word or phrase is a palindrome. The code that evaluates the user's input should be case insensitive and should ignore any spaces or punctuation marks within the string. Thus, the following words and phrases would all be considered palindromes:
Bob Able was I ere I saw Elba.
A man; a plan; a canal: Panama!
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 60% (15 reviews)
Answered By
Somshukla Chakraborty
I have a teaching experience of more than 4 years by now in diverse subjects like History,Geography,Political Science,Sociology,Business Enterprise,Economics,Environmental Management etc.I teach students from classes 9-12 and undergraduate students.I boards I handle are IB,IGCSE, state boards,ICSE, CBSE.I am passionate about teaching.Full satisfaction of the students is my main goal.
I have completed my graduation and master's in history from Jadavpur University Kolkata,India in 2012 and I have completed my B.Ed from the same University in 2013. I have taught in a reputed school of Kolkata (subjects-History,Geography,Civics,Political Science) from 2014-2016.I worked as a guest lecturer of history in a college of Kolkata for 2 years teaching students of 1st ,2nd and 3rd year. I taught Ancient and Modern Indian history there.I have taught in another school in Mohali,Punjab teaching students from classes 9-12.Presently I am working as an online tutor with concept tutors,Bangalore,India(Carve Niche Pvt.Ltd.) for the last 1year and also have been appointed as an online history tutor by Course Hero(California,U.S) and Vidyalai.com(Chennai,India).
4.00+
2+ Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer Sciences questions
-
Design and implement a Web page named esp.html that allows the user to conduct an ESP test. Your page should look something like the one in Figure 11.14. The rectangle containing a question mark...
-
Design and implement a Web page named dotrace.html that allows the user to simulate a race between two dots. Your page should look something like the one in Figure 11.15. The length of the race...
-
Design and create a Web page named phoney.html that converts alphabetic phone numbers into entirely numeric ones. Your page should allow the user to enter the number (possibly containing letters) in...
-
A company has the following results for the three years to 31 March 2021: Assuming that the trading loss is carried forward and that maximum loss relief is taken as soon as possible, calculate the...
-
An engineer has a fluctuating future budget for the maintenance of a particular machine. During each 01 the first 5 years, $1000 per year will be budgeted. During the second 5 years, the annual...
-
To make different people comparable in studies of cardiac output, researchers divide the measured cardiac output by the body surface area to find the cardiac index C: The body surface area B of a...
-
The data file contains the prices and market capitalisation of 30 stocks which made up the Dow Jones Industrial Average in September 2014. (a) Compute the Dow Jones Industrial Average for December...
-
Mike is searching for a stock to include in his current stock portfolio. He is interested in Hi-Tech Inc.; he has been impressed with the companys computer products and believes Hi-Tech is an...
-
Azzahra has been hired to develop an online quiz system for Kolej Yayasan Melaka known as EasyQuiz. User can request a quiz from the system. The system picks a set of questions from its database, and...
-
Using PERT, Adam Munson was able to determine that the expected project completion time for the construction of a pleasure yacht is 21 months, and the project variance is 4. a) What is the...
-
Consider the following code segment, which removes all spaces and punctuation marks from a given phrase. The first statement performs a search to determine whether the phrase contains a space or...
-
Add the above two assignment statements to your cipher.html page so that it properly encodes messages containing both uppercase and lowercase letters. As before, any non-letters (including spaces and...
-
A horizontal jet of water (at 10C) that is 6 cm in diameter and has a velocity of 20 m/s is deflected by the vane as shown. If the vane is moving at a rate of 7 m/s in the x-direction, what...
-
Two boats race across a 1 0 0 km lake and back. The first boat travels at a constant 6 0 . 0 km / h across the lake and back. The second boat travels at 3 0 . 0 km / h across the lake, and 9 0 . 0 km...
-
How long in seconds is an object in the air given that it starts on the ground on Earth with an initial vertical velocity of 1 0 m / s ?
-
An object is falling from rest in the absence of air resistance. How far will the object fall after 8.1 s? Keep one decimal point in your answer and include units.
-
An ingot of germanium is formed by melting together 1 kg of germanium and 118 g of arsenic. (i) Assuming that the arsenic is uniformly distributed, calculate the number of arsenic atoms per unit of...
-
his is an interesting problem because you can infer so much from just two numbers. An airplane lands on a runway, and using its brakes it slows with uniform acceleration such that 2 5 seconds later...
-
Quick Company reports the following revenues and expenses in its pretax financial income for the year ended December 31, 2019: Revenues .........................................$ 229,600 Expenses...
-
Write an essay describing the differing approaches of nursing leaders and managers to issues in practice. To complete this assignment, do the following: 1. Select an issue from the following list:...
-
1. Which the following statements about the base keyword is false? a.A constructor can use at most one base statement. b.A constructor cannot use both a base statement and a this statement. c.The...
-
Write a Python program in which the user enters either 'A', 'B', or 'C'. If 'A' is entered, the program should display the word 'Apple'; if 'B' is entered, it displays 'Banana'; and if 'C' is...
-
Identify all the errors in the following repetition statements. Some errors are syntactical while others are logical (e.g., infinite loops). a. for (int i = 10; i > 0; i++) { x = y; a = b; } b. int...
-
Novak Corporation's statement of financial position as at December 31, 2023, showed the following amounts: Cash $140; Accounts Receivable $610; Land $1,050; Accounts Payable $430; Bonds Payable $470;...
-
Submit a brief summary of this case study 'Arcelor and the global steel industry' found on pages 484-501. This a brief section often read by executives or people who want a quick read on your...
-
The following cost data pertain to the operations of Montgomery Department Stores, Incorporated, for the month of July. Corporate legal office salaries $ 6 2 , 2 0 0 Apparel Department cost of sales...
Study smarter with the SolutionInn App