100DaysOfCode: Day 57

Day 57, a more complex Flask website, where we are triggering python code in the html, and handling url building. This one is a bit confusing, I might have to come back to it. But with the help from yesterday’s project + practice project, we can do it. The other thing is, the stylesheet is not called correctly after the code, so we have to modify the css part from

<link rel="stylesheet" href="static/css/styles.css">


<link rel="stylesheet" href="/static/css/styles.css">

I still don’t understand why we need the “/” in the beginning of the href section…

This entry was posted in 象哥的學習筆記 Study Notes and tagged . Bookmark the permalink.

Leave a Reply