Web Development and Design Foundations with HTML5 (8th Edition)
8th Edition
ISBN: 9780134322759
Author: Terry Felke-Morris
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Question
Chapter 14, Problem 3AYK
Program Plan Intro
Syntax error:
Syntax error will appears in the syntax of a sequence of characters or tokens in the code. It can be misspelled keyword, or violation of rules in the code.
Logical error:
Logical error is an error that caused by user. The program can print the wrong output or through an error due to logical erroneous code.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Using HTML, create a webpage that contains a form with the following fields:
A text box to enter name (mandatory)
b. A text box to enter CGPA
C. A submit button
Write a PHP script that performs the following on clicking the submit button:
a. Using regular expression check if the CGPA entered is a number less than or equal to 10. If no, display error message
b. Check if the mandatory fields are filled in. If yes, display the message "Welcome <name>". If no, display error message
Please I need an Html, Typescript, and SCSS for an upload modal (pop up)
The pop up should have ( Name, State, Effective Date, Expiration Date, and then a Save button) similar to what's shown in the picture
Write the PHP script called remove.php and create an HTML form for your web page thatremoves lines of text from a given file, the file contains sentences and it is called text.txt. Yourwe page contains a short form with a text box and text field where the customers or users cantype only one word. Then the web page should provide the following behaviors:• The web page displays the current contents of the file text.txt as it appear in the filewith its format.• The web page form submits back to the same page, remove.php, as a post request.
• Enter one word in the text box and when the word is submitted, your code shouldsearch the contents of text.txt to find the matching word and remove any lines from thefile that contain the given word.• Assume that this is not case sensitive.• Display changes of the file to any future viewings of the web page.• Use the browser's default styling or may need to write any suitable CSS style.• Match the exact word, not other words that contain it as a…
Chapter 14 Solutions
Web Development and Design Foundations with HTML5 (8th Edition)
Ch. 14.4 - Prob. 1CPCh. 14.4 - Prob. 2CPCh. 14.4 - Prob. 3CPCh. 14.6 - Prob. 1CPCh. 14.6 - Prob. 2CPCh. 14.6 - Prob. 3CPCh. 14.8 - Describe a method that can be used to gather a...Ch. 14.8 - Prob. 2CPCh. 14.8 - Prob. 3CPCh. 14.9 - Prob. 1CP
Ch. 14.9 - Prob. 2CPCh. 14.9 - Prob. 3CPCh. 14.18 - Prob. 1CPCh. 14.18 - Prob. 2CPCh. 14.18 - Prob. 3CPCh. 14 - Prob. 1MCCh. 14 - Prob. 2MCCh. 14 - Prob. 3MCCh. 14 - Prob. 4MCCh. 14 - Prob. 5MCCh. 14 - Prob. 6MCCh. 14 - Prob. 7MCCh. 14 - Prob. 8MCCh. 14 - Prob. 9MCCh. 14 - Prob. 10MCCh. 14 - Prob. 11MCCh. 14 - Prob. 12FIBCh. 14 - Prob. 13FIBCh. 14 - The ________ object is assumed to exist and it is...Ch. 14 - Prob. 15FIBCh. 14 - A form control button can be used with a(n)...Ch. 14 - Prob. 17FIBCh. 14 - Prob. 18FIBCh. 14 - Prob. 19SACh. 14 - Prob. 20SACh. 14 - Prob. 1AYKCh. 14 - Prob. 2AYKCh. 14 - Prob. 3AYKCh. 14 - Prob. 1HOECh. 14 - Prob. 2HOECh. 14 - Prob. 3HOECh. 14 - Prob. 4HOECh. 14 - Prob. 5HOECh. 14 - Prob. 6HOECh. 14 - Prob. 7HOECh. 14 - Prob. 8HOECh. 14 - Prob. 1WRCh. 14 - Prob. 2WRCh. 14 - Prob. 3WR
Knowledge Booster
Similar questions
- Hello an expert! Please help me with this homework! 1. HTML5 a. Configure an alert message to pop up using Javascript when the page is displayed in the browser. Edit the body tag as follows: <body onload="alert ('Today only-10% off on a weekend- coupon code ZenTen');"> . The onload event handler in this case pops up an alert message. b. Add a script block to the head section as follows: <script> function validateForm () { if (document.forms [0]. myEmail. value== "") { (alert (Pleade enter an e-mail address."); return false // end if return true; } end function validateForm </script> Many thanks for your time! Khin.arrow_forwardTask question: Step 1. You will write an html web page called editItem.html (or editItem.py), which links to an external Javascript file named ActionOnItem.js. The contents of editItem.html (or editItem.py) should include dropdownlist1, dropdownlist2 and a button. First Add items to the dropdown list using HTML code. Secondly, click the button MoveHere. You can add other form elements if you think are needed to complete this program with more relevant information. Step 2. You will write a .js file named ActionOnItem.js. In ActionOnItem.js file, you should write a function called moveItem( ) which receive itemName parameter and remove that item from dropdownlist1 and add that item to dropdownlist2. Step 3: when MoveHere’ button is pressed and display result on your HTML page. Step 4. Extend your programs by creating a new function called countItem() in ActionOnItem.js that calculates and displays number of items on both dropdownlist1 and dropdownlist2. You can add another…arrow_forwardWrite the required HTML to create a web page that contains a button as it is shown in the picture 1. Add the JavaScript code to call a function that displays the message “University of Technology and Applied Sciences” once the button is clicked as it is shown in the picture 2.arrow_forward
- The following style is being used in an HTML document. Which letter will have only a line through it but not be underlined when the style is applied to the HTML below?: * A) A B) B C) C D) Darrow_forwardDesign HTML Form.javascraptApply the data validation as follows:1. Mobile number field data must be a numeric data and not less than 8 digits,2. The email field must accept the data which must contain the character '@' and dot (.). Andthe character @ must not be the first character and the last dot must at least be onecharacter after the @.On submitting the form, If all these validations are followed, another HTML page (value of theaction attribute of the above HTML page) must be displayed your data is submitted successfully.arrow_forwardPROVIDE HTML CODE : Create a html page named as changebackground_color.html. Define a method named as random_color() which is to be called when you click on the body. This method should generate random number, which is used to set the background colorarrow_forward
- Debug the HTML program for a website that will show an output of text with a template for meeting minutes. The text should include all of the necessary markdown options such as Titles and Bullet Points for the template. After seeing the outputted text, you should be able to click the copy button below the text which will copy all of the text to your clipboard which can be pasted in a word document. Right now, the code will output the correct Meeting Minutes Template, but the copy button does not work. Please make it so the copy button works. <style> /* Add CSS styles for the template */ .template { font-family: Arial, sans-serif; font-size: 14px; line-height: 1.5; } .template h1 { font-size: 18px; margin: 0 0 10px 0; } .template p { margin: 0 0 10px 0; } .template ul { list-style-type: disc; margin: 0 0 10px 20px; } .template li { margin-bottom: 5px; } /* Add styles for the "Copy" button */ .copy-button { background-color:…arrow_forwardBurger Shop Create an HTML page with a form for ordering burgers 1. The form should ask for the following: Customer Information a. Name b. Mobile number c. Email Burger details a. Doneness: Rare, Medium rare, Medium, Medium well, Well done b. Seasonings: mayo, ketchup, mustard, ranch c. Toppings: Tomato, lettuce, onion, bacon, cheese d. Quantity of burgers Delivery Details a. Delivery Address b. Preferred delivery date c. Preferred delivery time 2. Add a submit button that triggers the following validations Name is required Mobile number is required and should follow the correct 11 digit format that starts with “09” Email address is required and should be a valid email format Doneness is required Quantity is required. Minimum of 1, maximum of 15 Delivery Address is required Preferred delivery date is required Preferred delivery time is required 3. Add a reset button that clears the form inputsarrow_forward Create a HTML page called q3.html. This page should contain a HTML form that itself contains three text inputs and a submit input. Each of the text inputs should have name attributes. The form action should be “q3.php” and the method should be GET. In q3.php, using a foreach loop, iterate (loop) over the entire contents of the superglobal $_GET. Print or echo out each of the values in this superglobal. If any of the values within any of the text inputs in the submitted form happens to be equal to “date”, output today’s date (Y-m-d format).arrow_forward
- You will need a <script> section in the body of an HTML file used to create a form. True Falsearrow_forward) The typed input from a user in a programming article needs to be indicated. Which HTML tag should be used? <var> <em> <1bd> <cite>arrow_forwardHTML5 I have created page "Index" that includes a form from html page"ChestAndBack" On the html page "ChestAndBack" I did not use any of the usual tags such as Doctype, title, html, etc. It seems to run, but would it be better to include those usual tags? My end goal is to load different forms depending on user dropdown selection on Index page.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage LearningCOMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE L
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L