Web Development and Design Foundations with HTML5 (8th Edition)
Web Development and Design Foundations with HTML5 (8th Edition)
8th Edition
ISBN: 9780134322759
Author: Terry Felke-Morris
Publisher: PEARSON
Expert Solution & Answer
Book Icon
Chapter 14, Problem 2AYK

Explanation of Solution

Missing code:

  • The first missing code is “prompt” keyword. This keyword is to get the input for favorite song from user and store it on the “userSong” variable.
  • The second missing code is “write” keyword. This keyword is to print the contents on the screen.
  • Third one is missing the variable name inside the “write()” method. The variable name “userSong” missing inside on the “write()” method.

Modified code:

<!--HTML Tag-->

<!DOCTYPE html>

<html lang="en">

<!--Head Tag-->

<head>

<!--Title Tag-->

<title>JavaScript Practice</title>

<...

Blurred answer
Students have asked these similar questions
Dream Car Web Page Form: You need to create a web site in HTML format.  You will create a webpage containing a form that provides users the ability to enter information.  Your webpage should contain the following:INPUT tag: type, name, id, placeholder, and value. The web page will have input fields for the following information: First Name Last Name Date Address Favorite Car (text area) Your webpage should be designed in a logical manner and be well organized.  Please be sure to submit your .html file as a text document for grading.  Also, submit a Word document containing a screenshot that shows the set-up of your webpage.
Computer Science Write a HTML segment to allow a statement "Visit Limkokwing University" to be linked to Limkokwing University website. *
HTML: Write a jQuery code to format a phone number as the following example below when you enter them to an online input field. You need also to add a paragraph about the purpose of this code. (xxx) xxx-xxxx
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education