NEW PERSP.ON COMP.CONCEPTS-PACKAGE
NEW PERSP.ON COMP.CONCEPTS-PACKAGE
17th Edition
ISBN: 9781337761116
Author: Carey
Publisher: CENGAGE L
bartleby

Concept explainers

Question
Book Icon
Chapter 10, Problem 1RA
Program Plan Intro

To enter the name and date in the comment section of each file (lht_events_txt.html andlht_table_txt.js) and save them as (lht_events.html andlht_table.js).

Expert Solution & Answer
Check Mark

Explanation of Solution

Given information: lht_events_txt.html andlht_table_txt.js files areprovided under the folder html10→Review within the reference material.

Explanation:

1) For lht_events_txt.html:

i) Open the lht_events_txt.html file in the HTML editor.

ii) Now, go to the source code section of the lht_events_txt.html file and write name and date in the comment section under author and date as shown below:

Adding name and date in the head tag in the comment section:

<head>
<!--
       New Perspectives on HTML5 and CSS3, 7th Edition
       Tutorial 10
Review Assignment

Lyman Hall Theater Upcoming Events
       Author: XYZ
       Date:  MM-DD-YYYY 
       Filename: lht_events.html
      -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Upcoming Events at the Lyman Hall Theater</title>
</head>

iii) Now, go to file →Save As, enter the file name lht_events.html (given in the question) and save the file.

2) For lht_table_txt.js:

i) Open the lht_table_txt.js file in the HTML editor.

ii) Now go to the source code section of the lht_table_txt.js file and writing name and date in the comment section under author and date as shown below:

Adding name and date in the comment section of given JavaScript code:

/*

New Perspectives on HTML5 and CSS3, 7th Edition

Tutorial 10

Review Assignment

Author:XYZ

Date: DD-MM-YYYY

*/

iii) Now, go to file →Save As, enter the file name lht_table.js (given in the question) and save the file.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning