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...
-
The T-accounts below summarize the ledger of Negrete Landscaping Company at the end of the first month of operations. Instructions a. Prepare the complete general journal (including explanations)...
-
Testing a natural remedy. The statistical controversy presented in this chapter discusses issues surrounding the efficacy of natural remedies. The National Institutes of Health is at last sponsoring...
-
The following account balances are for the noncash current assets and current liabilities of Wynn Bicycle Company for 2008 and 2009: In addition, the income statement for 2009 is as follows: Sales...
-
Both Bond Sam and Bond Dave have 9 percent coupons, make semiannual payments, and are priced at par value. Bond Sam has two years to maturity, whereas Bond Dave has 15 years to maturity. If interest...
-
a. Compute the total stiffness matrix [K] of the assemblage shown in Figure P3-1 by superimposing the stiffness matrices of the individual bars. Note that [K] should be in terms of A1, A2, A3, E1,...
-
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 hydrogen atom is placed in a (time-dependent) electric field E = E(t)k. Calculate all four matrix elements H' ij of the perturbation H' = eEz between the ground state (n = 1) and the (quadruply...
-
Which one of the following therapists' approaches has been integrated into several other therapies in the West? 1. Naikan therapy 2. Morita therapy 3. mindfulness meditation
-
What does this scatter plot tell us? Check ALL below that are true from the Scatter Plot. Y is cumulative total barrels and x is number of active wells. 1. If there were 550 active wells, we would...
-
Millie runs a small company that makes customised notebooks with personalised details on the cover and inserts. You promote your product as a great gift idea, and your holiday orders break your...
-
Excel ACC 311 Project Two Workbook Template - View-only Search (Alt + Q) File Home Insert Draw Page Layout Formulas Data Review View Help 12 B A ... ab Ev F10 1 2 3 4 5 6 fx A B Posey's Pet Emporium...
-
Imagine that you are the change manager for acompany that does business entirely via the Internet. The head development engineercalls to indicate he wants to make a small change to one of the...
-
Suppose that a body moves through a resisting medium with resistance proportional to its velocity v, so that dv/dt = -kv. (a) Show that its velocity and position at time t are given by (b) Conclude...
-
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...
-
C0 = 10.648148 b) ( 4 Marks ) As of now, Given the above conditions on the option, what is the intrinsic value of the call option? What is the time value of the call option?
-
interest revenue 19,500 retained earning,end 5,000 selling expenses 145,00 prepaid insurance 20,000 loss and disposal of a business (discountied),net 28,000 income from operation 140,000 unearned...
-
cost that do not extend the acid capacity or it's useful life, but merely maintained the assd, or restore it to working order are recorded as losses True or False
Study smarter with the SolutionInn App