How to Write a Template:

  • A template sets up the structure for a web page. It defines what the page should look like.
    • Inside the code_journals folder, make a new folder called templates
    • Inside the templates folder, make another folder called code_journals
      • Yes, I know this seems redundant, but it will help with interpretation/structure when creating multiple apps.
    • Inside the inner code_journals folder, make a new file called index.html and write the following in that file:

index.html

html
1<p>Code Journals</p>
2
3<p>Code Journal tracks your Python knowledge of the topics covered in CIS 240</p>
  • Note that the < p> < /p> tags signify paragraphs. The < p> opens a paragraph, and the < /p> tag closes a paragraph.