Concept explainers
To add name and date in comment section of file save co_cart_txt.html, co_cart _txt.js, co_credit_txt.htmland co_credit_txt.js, and save each of them after removing the txt extension.
Explanation of Solution
Given information: The filesco_cart_txt.html, co_cart_txt.js, co_credit_txt.html and co_credit_txt.jsare provided under the folder html13→Review with reference material.
Explanation:
In HTML comments are provided within symbols <!-- comments --> whereas in JS comments are included within the symbols /* comments */.
Follow below steps to add name and date in the html files co_cart_txt.html and co_credit_txt.html:
1. Right click on file name.
2. Select Open with →HTML editor
3. Write your name and date in Author and Date fields in comment section (<!-- -->) respectively.
4. Click File →Save As.
5. Under Save As window, provide new name to file after removing _txt extension.
6. Click Save.
A new update file will get created in the same directory.
Follow below steps to add name and date in the co_cart_txt.js and co_credit_txt.js:
1. Right click on file name.
2. Select Open with →HTML editor
3. Write your name and date in Author and Date fields in comment section(/* ---- */) respectively.
4. Click File →Save As.
5. Under Save As window, provide a new name to file after removing _txt extension.
6. Click Save.
A new update file will get created in the same directory.
Want to see more full solutions like this?
Chapter 13 Solutions
New Perspectives on HTML5, CSS3, and JavaScript
- Find the error: daily_sales = [0.0, 0,0, 0.0, 0.0, 0.0, 0.0, 0.0] days_of_week = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] for i in range(7): daily_sales[i] = float(input('Enter the sales for ' \ + days_of_week[i] + ': ')arrow_forwardFind the error: daily_sales = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] days_of_week = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] for i in range(6): daily_sales[i] = float(input('Enter the sales for ' \ + days_of_week[i] + ': '))arrow_forwardWhat are the steps you will follow in order to check the database and fix any problems with it and normalize it? Give two references with your answer.arrow_forward
- What are the steps you will follow in order to check the database and fix any problems with it? Have in mind that you SHOULD normalize it as well. Consider that the database offline is not allowed since people are connected to it and personal data might be bridged and not secured. Provide three refernces with you answer.arrow_forwardShould software manufacturers should be tolerant of the practice of software piracy in third-world countries to allow these countries an opportunity to move more quickly into the information age? Why or why not?arrow_forwardI would like to know about the features of Advanced Threat Protection (ATP), AMD-V, and domain name space (DNS).arrow_forward
- I need help to resolve the following activityarrow_forwardModern life has been impacted immensely by computers. Computers have penetrated every aspect of oursociety, either for better or for worse. From supermarket scanners calculating our shopping transactionswhile keeping store inventory; robots that handle highly specialized tasks or even simple human tasks,computers do much more than just computing. But where did all this technology come from and whereis it heading? Does the future look promising or should we worry about computers taking over theworld? Or are they just a necessary evil? Provide three references with your answer.arrow_forwardWhat are the steps you will follow in order to check the database and fix any problems with it? Have in mind that you SHOULD normalize it as well. Describe in full, consider the following:• Taking the database offline is not allowed since people are connected to it.• Personal data might be bridged and not secured. Provide three refernces with you answerarrow_forward
- New Perspectives on HTML5, CSS3, and JavaScriptComputer ScienceISBN:9781305503922Author:Patrick M. CareyPublisher:Cengage LearningNp Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:Cengage