Assignment 9
HTML Page Maker
Submit before 11:30 PM Saturday June 8
Overview
You will modify a python function that generates an html page based on a template file.
Demo Page Generator
Study the code in the pagemaker zip folder. Load the pagemaker.py file and run the function create_page. Study how it works, perhaps by making simple changes to it.
Your Custom Page Generator
Modify the create_page function so that it presents a story with at least the following requirements:
- Using the input function, the user provides a color (e.g. "green" or "blue") that is then used in the page presentation.
- Using the input function, the user provides at least two more content words or phrases (e.g. location, animal) that are used in the story.
- The page creation has at least one random element.
These are minimal requirements, but you are encouraged to elaborate on the page content and presentation style.
Deliverables
Create a text or pdf file called assn9 that contains the following:
- A statement that describes your experience. Indicate how it addresses the requirements. Include any information on how you got help or collaborated with someone.
- Listings of your code.
- Output of you running your script to show that it is prompting the user and running without errors.
Also take a screenshot of the web browser displaying your page. Save it to an image file using a common format.
Submit your assn9 file (text or pdf) and your screen image file to D2L.