goky chan, plebku
goky chan, plebku
KPCKevin Powell - Community
Created by goky chan, plebku on 10/5/2024 in #front-end
Color contrast checker, automatic suggestion?
No description
2 replies
KPCKevin Powell - Community
Created by goky chan, plebku on 11/13/2023 in #front-end
{% extends.. block body} is it standard to use or not?
Is it standard to use % extends, block body, end block like in the code below(copied from cs50 video) or is it better to just type out the whole template on each new page with exclamation mark in vs code?
(% extends "layout.html" %}

(%block body %)

<form action="/greet" method="get">
<input autocomplete="off" autofocus name="name" placeholder="Name" required type="text">
<input type="submit>
</form>

(% endblock %}
(% extends "layout.html" %}

(%block body %)

<form action="/greet" method="get">
<input autocomplete="off" autofocus name="name" placeholder="Name" required type="text">
<input type="submit>
</form>

(% endblock %}
5 replies
KPCKevin Powell - Community
Created by goky chan, plebku on 8/28/2023 in #front-end
Can someone explain to me why do we need to do display flex on two elements for proper positioning?
No description
11 replies