ἔρως
KPCKevin Powell - Community
•Created by Laegnur on 3/31/2025 in #front-end
Compare height to another element height?
better: can you reproduce this issue in codepen or jsfiddle?
7 replies
KPCKevin Powell - Community
•Created by Laegnur on 3/31/2025 in #front-end
Compare height to another element height?
depending on how the html is
7 replies
KPCKevin Powell - Community
•Created by Laegnur on 3/31/2025 in #front-end
Compare height to another element height?
then you can use grid to have the same height on both sides
7 replies
KPCKevin Powell - Community
•Created by Laegnur on 3/31/2025 in #front-end
Compare height to another element height?
you can set a minimum height to it
7 replies
KPCKevin Powell - Community
•Created by Brightie on 3/30/2025 in #back-end
true = 1, false != 0, DB refusal
by the way, if you set a value to the checkbox, it will send the value instead of "on"
22 replies
KPCKevin Powell - Community
•Created by Brightie on 3/30/2025 in #back-end
true = 1, false != 0, DB refusal
you can cast to integer before saving to the database, something like:
intval($_POST['value'], 10)
22 replies
KPCKevin Powell - Community
•Created by Brightie on 3/30/2025 in #back-end
true = 1, false != 0, DB refusal
never used it
22 replies
KPCKevin Powell - Community
•Created by Brightie on 3/30/2025 in #back-end
true = 1, false != 0, DB refusal
probably
22 replies
KPCKevin Powell - Community
•Created by Brightie on 3/30/2025 in #back-end
true = 1, false != 0, DB refusal
if it is sqlite, it will just ram the empty string into the number column
22 replies
KPCKevin Powell - Community
•Created by Brightie on 3/30/2025 in #back-end
true = 1, false != 0, DB refusal
if it is mysql or mariadb, it will still give that error, because boolean is just tinyint(1)
22 replies
KPCKevin Powell - Community
•Created by DanKaplanSES on 3/30/2025 in #front-end
What does "child" refer to in the `nth-child` pseudo class?
like an index
4 replies
KPCKevin Powell - Community
•Created by DanKaplanSES on 3/30/2025 in #front-end
What does "child" refer to in the `nth-child` pseudo class?
it's the nth child of the parent node
4 replies
KPCKevin Powell - Community
•Created by Mehrab on 3/28/2025 in #front-end
Heading tags in different parent elements?
this creates an hierarchy where the first slide is the highest hierarchy level, which doesnt make much sense
40 replies
KPCKevin Powell - Community
•Created by Duckit69 on 3/29/2025 in #front-end
Styling in React
https://discord.com/channels/436251713830125568/1353752948286689300/1353753435295449129 <-- an example in another channel
8 replies
KPCKevin Powell - Community
•Created by Duckit69 on 3/29/2025 in #front-end
Styling in React
https://discord.com/channels/436251713830125568/1353762503179636736/1353768627266125844 <-- another example
8 replies
KPCKevin Powell - Community
•Created by Duckit69 on 3/29/2025 in #front-end
Styling in React
https://discord.com/channels/436251713830125568/1354184597214204026/1354414009679478804 <-- here's an example
8 replies
KPCKevin Powell - Community
•Created by Duckit69 on 3/29/2025 in #front-end
Styling in React
moderators usually close posts like this and recommend posting in #discussions - you can see a few similar posts being closed here in #front-end and in #back-end
8 replies
KPCKevin Powell - Community
•Created by Duckit69 on 3/29/2025 in #front-end
Styling in React
i can't tell you to do it, but it does seem more fitting there, in my opinion, as this isn't a question about code in specific
8 replies
KPCKevin Powell - Community
•Created by Duckit69 on 3/29/2025 in #front-end
Styling in React
this sounds like a great topic with many #discussions to be had
8 replies
KPCKevin Powell - Community
•Created by Lemon on 3/24/2025 in #front-end
How do I replicate this scrolling animation?
unless you want to replicate it all yourself
5 replies