SlideShare a Scribd company logo
1 of 1
Given a folder with images in it,
create
an HTML page named index.html that contains links to each
JPEG file in the directory as follows:
Write a function that creates a string of the path to a directory
Generatea thumbnail (half the size) copy of each image
Use makeEmptyPicture to create a blank picture in the correct
size, then scale down the original picture into the blank picture
Name the new image "half-" + the original filename (e.g., if the
original filename was fred.jpg, save the half-size image as half-
fred.jpg). The anchor in the link to each full-size picture should
be the half-size image.
Capture
a screenshot of your code and output. Paste the screenshot into
a Word document.

More Related Content

More from fathwaitewalter

Write a 3-4 page paper; APA format; minimum of 3 referencesTh.docx
Write a 3-4 page paper; APA format; minimum of 3 referencesTh.docxWrite a 3-4 page paper; APA format; minimum of 3 referencesTh.docx
Write a 3-4 page paper; APA format; minimum of 3 referencesTh.docxfathwaitewalter
 
Write a 3-4 page Team report using APA style that1) Identifies an.docx
Write a 3-4 page Team report using APA style that1) Identifies an.docxWrite a 3-4 page Team report using APA style that1) Identifies an.docx
Write a 3-4 page Team report using APA style that1) Identifies an.docxfathwaitewalter
 
Write a 5-page essay about two readings. Two essays are The made-t.docx
Write a 5-page essay about two readings. Two essays are  The made-t.docxWrite a 5-page essay about two readings. Two essays are  The made-t.docx
Write a 5-page essay about two readings. Two essays are The made-t.docxfathwaitewalter
 
Complete Part I, then revise the sentences in Part II so that their .docx
Complete Part I, then revise the sentences in Part II so that their .docxComplete Part I, then revise the sentences in Part II so that their .docx
Complete Part I, then revise the sentences in Part II so that their .docxfathwaitewalter
 
Complete OutlinePlease include the following1)Title2.docx
Complete OutlinePlease include the following1)Title2.docxComplete OutlinePlease include the following1)Title2.docx
Complete OutlinePlease include the following1)Title2.docxfathwaitewalter
 
Complete Appendix B by writing a paragraph explaining your fictional.docx
Complete Appendix B by writing a paragraph explaining your fictional.docxComplete Appendix B by writing a paragraph explaining your fictional.docx
Complete Appendix B by writing a paragraph explaining your fictional.docxfathwaitewalter
 
Complete an 8- to 10-slide Microsoft® PowerPoint® presentation. Bo.docx
Complete an 8- to 10-slide Microsoft® PowerPoint® presentation. Bo.docxComplete an 8- to 10-slide Microsoft® PowerPoint® presentation. Bo.docx
Complete an 8- to 10-slide Microsoft® PowerPoint® presentation. Bo.docxfathwaitewalter
 
Complete Action Research Activity 4.1 (Textbook Analysis) on page 12.docx
Complete Action Research Activity 4.1 (Textbook Analysis) on page 12.docxComplete Action Research Activity 4.1 (Textbook Analysis) on page 12.docx
Complete Action Research Activity 4.1 (Textbook Analysis) on page 12.docxfathwaitewalter
 
Complete Akron Childrens Hospital Case. Answer the fo.docx
Complete Akron Childrens Hospital Case. Answer the fo.docxComplete Akron Childrens Hospital Case. Answer the fo.docx
Complete Akron Childrens Hospital Case. Answer the fo.docxfathwaitewalter
 
Complete Action Research Activity 4.1 (Textbook Analysis) on pag.docx
Complete Action Research Activity 4.1 (Textbook Analysis) on pag.docxComplete Action Research Activity 4.1 (Textbook Analysis) on pag.docx
Complete Action Research Activity 4.1 (Textbook Analysis) on pag.docxfathwaitewalter
 
CompletarProvide the correct present participle for each verb..docx
CompletarProvide the correct present participle for each verb..docxCompletarProvide the correct present participle for each verb..docx
CompletarProvide the correct present participle for each verb..docxfathwaitewalter
 
Complete both parts of this assignment and submit as a s.docx
Complete both parts of this assignment and submit as a s.docxComplete both parts of this assignment and submit as a s.docx
Complete both parts of this assignment and submit as a s.docxfathwaitewalter
 
Completar   Complete each sentence with the conjugated yo form.docx
Completar   Complete each sentence with the conjugated yo form.docxCompletar   Complete each sentence with the conjugated yo form.docx
Completar   Complete each sentence with the conjugated yo form.docxfathwaitewalter
 
Complementary Therapies in Medicine (2012) 20, 377—384Ava.docx
Complementary Therapies in Medicine (2012) 20,  377—384Ava.docxComplementary Therapies in Medicine (2012) 20,  377—384Ava.docx
Complementary Therapies in Medicine (2012) 20, 377—384Ava.docxfathwaitewalter
 
Completar   Completa cada oración con la forma correcta del imperf.docx
Completar   Completa cada oración con la forma correcta del imperf.docxCompletar   Completa cada oración con la forma correcta del imperf.docx
Completar   Completa cada oración con la forma correcta del imperf.docxfathwaitewalter
 
CompletarFill in the blanks with the preterite or imperfect form.docx
CompletarFill in the blanks with the preterite or imperfect form.docxCompletarFill in the blanks with the preterite or imperfect form.docx
CompletarFill in the blanks with the preterite or imperfect form.docxfathwaitewalter
 
Completar  Fill in each blank with the appropriate indirect ob.docx
Completar  Fill in each blank with the appropriate indirect ob.docxCompletar  Fill in each blank with the appropriate indirect ob.docx
Completar  Fill in each blank with the appropriate indirect ob.docxfathwaitewalter
 
CompetencyExplore the physical principles of classical physics..docx
CompetencyExplore the physical principles of classical physics..docxCompetencyExplore the physical principles of classical physics..docx
CompetencyExplore the physical principles of classical physics..docxfathwaitewalter
 
Compete this research paper. Add discussion and conclusion part. And.docx
Compete this research paper. Add discussion and conclusion part. And.docxCompete this research paper. Add discussion and conclusion part. And.docx
Compete this research paper. Add discussion and conclusion part. And.docxfathwaitewalter
 
Comparisons of fire prevention programs in effect on this contin.docx
Comparisons of fire prevention programs in effect on this contin.docxComparisons of fire prevention programs in effect on this contin.docx
Comparisons of fire prevention programs in effect on this contin.docxfathwaitewalter
 

More from fathwaitewalter (20)

Write a 3-4 page paper; APA format; minimum of 3 referencesTh.docx
Write a 3-4 page paper; APA format; minimum of 3 referencesTh.docxWrite a 3-4 page paper; APA format; minimum of 3 referencesTh.docx
Write a 3-4 page paper; APA format; minimum of 3 referencesTh.docx
 
Write a 3-4 page Team report using APA style that1) Identifies an.docx
Write a 3-4 page Team report using APA style that1) Identifies an.docxWrite a 3-4 page Team report using APA style that1) Identifies an.docx
Write a 3-4 page Team report using APA style that1) Identifies an.docx
 
Write a 5-page essay about two readings. Two essays are The made-t.docx
Write a 5-page essay about two readings. Two essays are  The made-t.docxWrite a 5-page essay about two readings. Two essays are  The made-t.docx
Write a 5-page essay about two readings. Two essays are The made-t.docx
 
Complete Part I, then revise the sentences in Part II so that their .docx
Complete Part I, then revise the sentences in Part II so that their .docxComplete Part I, then revise the sentences in Part II so that their .docx
Complete Part I, then revise the sentences in Part II so that their .docx
 
Complete OutlinePlease include the following1)Title2.docx
Complete OutlinePlease include the following1)Title2.docxComplete OutlinePlease include the following1)Title2.docx
Complete OutlinePlease include the following1)Title2.docx
 
Complete Appendix B by writing a paragraph explaining your fictional.docx
Complete Appendix B by writing a paragraph explaining your fictional.docxComplete Appendix B by writing a paragraph explaining your fictional.docx
Complete Appendix B by writing a paragraph explaining your fictional.docx
 
Complete an 8- to 10-slide Microsoft® PowerPoint® presentation. Bo.docx
Complete an 8- to 10-slide Microsoft® PowerPoint® presentation. Bo.docxComplete an 8- to 10-slide Microsoft® PowerPoint® presentation. Bo.docx
Complete an 8- to 10-slide Microsoft® PowerPoint® presentation. Bo.docx
 
Complete Action Research Activity 4.1 (Textbook Analysis) on page 12.docx
Complete Action Research Activity 4.1 (Textbook Analysis) on page 12.docxComplete Action Research Activity 4.1 (Textbook Analysis) on page 12.docx
Complete Action Research Activity 4.1 (Textbook Analysis) on page 12.docx
 
Complete Akron Childrens Hospital Case. Answer the fo.docx
Complete Akron Childrens Hospital Case. Answer the fo.docxComplete Akron Childrens Hospital Case. Answer the fo.docx
Complete Akron Childrens Hospital Case. Answer the fo.docx
 
Complete Action Research Activity 4.1 (Textbook Analysis) on pag.docx
Complete Action Research Activity 4.1 (Textbook Analysis) on pag.docxComplete Action Research Activity 4.1 (Textbook Analysis) on pag.docx
Complete Action Research Activity 4.1 (Textbook Analysis) on pag.docx
 
CompletarProvide the correct present participle for each verb..docx
CompletarProvide the correct present participle for each verb..docxCompletarProvide the correct present participle for each verb..docx
CompletarProvide the correct present participle for each verb..docx
 
Complete both parts of this assignment and submit as a s.docx
Complete both parts of this assignment and submit as a s.docxComplete both parts of this assignment and submit as a s.docx
Complete both parts of this assignment and submit as a s.docx
 
Completar   Complete each sentence with the conjugated yo form.docx
Completar   Complete each sentence with the conjugated yo form.docxCompletar   Complete each sentence with the conjugated yo form.docx
Completar   Complete each sentence with the conjugated yo form.docx
 
Complementary Therapies in Medicine (2012) 20, 377—384Ava.docx
Complementary Therapies in Medicine (2012) 20,  377—384Ava.docxComplementary Therapies in Medicine (2012) 20,  377—384Ava.docx
Complementary Therapies in Medicine (2012) 20, 377—384Ava.docx
 
Completar   Completa cada oración con la forma correcta del imperf.docx
Completar   Completa cada oración con la forma correcta del imperf.docxCompletar   Completa cada oración con la forma correcta del imperf.docx
Completar   Completa cada oración con la forma correcta del imperf.docx
 
CompletarFill in the blanks with the preterite or imperfect form.docx
CompletarFill in the blanks with the preterite or imperfect form.docxCompletarFill in the blanks with the preterite or imperfect form.docx
CompletarFill in the blanks with the preterite or imperfect form.docx
 
Completar  Fill in each blank with the appropriate indirect ob.docx
Completar  Fill in each blank with the appropriate indirect ob.docxCompletar  Fill in each blank with the appropriate indirect ob.docx
Completar  Fill in each blank with the appropriate indirect ob.docx
 
CompetencyExplore the physical principles of classical physics..docx
CompetencyExplore the physical principles of classical physics..docxCompetencyExplore the physical principles of classical physics..docx
CompetencyExplore the physical principles of classical physics..docx
 
Compete this research paper. Add discussion and conclusion part. And.docx
Compete this research paper. Add discussion and conclusion part. And.docxCompete this research paper. Add discussion and conclusion part. And.docx
Compete this research paper. Add discussion and conclusion part. And.docx
 
Comparisons of fire prevention programs in effect on this contin.docx
Comparisons of fire prevention programs in effect on this contin.docxComparisons of fire prevention programs in effect on this contin.docx
Comparisons of fire prevention programs in effect on this contin.docx
 

Recently uploaded

ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesShubhangi Sonawane
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 

Recently uploaded (20)

ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 

Given a folder with images in it, create an HTML page named .docx

  • 1. Given a folder with images in it, create an HTML page named index.html that contains links to each JPEG file in the directory as follows: Write a function that creates a string of the path to a directory Generatea thumbnail (half the size) copy of each image Use makeEmptyPicture to create a blank picture in the correct size, then scale down the original picture into the blank picture Name the new image "half-" + the original filename (e.g., if the original filename was fred.jpg, save the half-size image as half- fred.jpg). The anchor in the link to each full-size picture should be the half-size image. Capture a screenshot of your code and output. Paste the screenshot into a Word document.