You will modify a python function that generates an html page based on a template file.

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.

"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.


Discount Code: CIPD30



Click ORDER NOW..

order custom paper