ἔρως
KPCKevin Powell - Community
•Created by Dev_HK on 11/17/2024 in #front-end
i wanna know if i'm doing css responsive wrong
if you have that many breakpoints, you're doing something very wrong and is a symptom of a brittle layout
4 replies
KPCKevin Powell - Community
•Created by Faker on 11/17/2024 in #back-end
Content-type multipart/form-data vs application/json when submitting a form
this is not`the same as a json file
32 replies
KPCKevin Powell - Community
•Created by Faker on 11/17/2024 in #back-end
Content-type multipart/form-data vs application/json when submitting a form
application/json
means you're sending json data, which the server may or may not understand32 replies
KPCKevin Powell - Community
•Created by Faker on 11/17/2024 in #back-end
Content-type multipart/form-data vs application/json when submitting a form
the server does it's magic to parse the body
32 replies
KPCKevin Powell - Community
•Created by Faker on 11/17/2024 in #back-end
Content-type multipart/form-data vs application/json when submitting a form
multipart/form-data
sends the POST
content split by boundaries32 replies
KPCKevin Powell - Community
•Created by Faker on 11/17/2024 in #back-end
Content-type multipart/form-data vs application/json when submitting a form
this indicates the type of data you are sending to the server
32 replies
KPCKevin Powell - Community
•Created by Faker on 11/17/2024 in #back-end
Content-type multipart/form-data vs application/json when submitting a form
it's actually a lot more complicated that that
32 replies
KPCKevin Powell - Community
•Created by Faker on 11/17/2024 in #front-end
What is the difference between text node and textContent ?
it also executes scripts, events and processes all the css and styles
7 replies
KPCKevin Powell - Community
•Created by Faker on 11/17/2024 in #front-end
What is the difference between text node and textContent ?
that passes the string to the html parser and then adds the nodes to the document
7 replies
KPCKevin Powell - Community
•Created by Faker on 11/17/2024 in #front-end
What is the difference between text node and textContent ?
this message, when pasted in an html file, is a text node
7 replies
KPCKevin Powell - Community
•Created by Faker on 11/17/2024 in #front-end
What is the difference between text node and textContent ?
it's created automatically when you use
textContent
and/or innerText
7 replies
KPCKevin Powell - Community
•Created by Faker on 11/17/2024 in #front-end
What is the difference between text node and textContent ?
a text node is a dom node for text
7 replies
KPCKevin Powell - Community
•Created by Xan on 11/17/2024 in #front-end
Nesting media queries in non-media query
i was surprised by it too
16 replies
KPCKevin Powell - Community
•Created by Xan on 11/17/2024 in #front-end
Nesting media queries in non-media query
or just don't use nesting until about next year
16 replies
KPCKevin Powell - Community
•Created by Xan on 11/17/2024 in #front-end
Nesting media queries in non-media query
and use the nesting
16 replies
KPCKevin Powell - Community
•Created by Xan on 11/17/2024 in #front-end
Nesting media queries in non-media query
then use scss if you want to write like that
16 replies
KPCKevin Powell - Community
•Created by Xan on 11/17/2024 in #front-end
Nesting media queries in non-media query
and do you care about users that didn't update the browser in the last month?
16 replies
KPCKevin Powell - Community
•Created by Xan on 11/17/2024 in #front-end
Nesting media queries in non-media query
depends... do you care about ios users?
16 replies
KPCKevin Powell - Community
•Created by Faker on 11/15/2024 in #front-end
Cookies, Sessions and Tokens
you're welcome
106 replies
KPCKevin Powell - Community
•Created by Faker on 11/15/2024 in #front-end
Cookies, Sessions and Tokens
- the site requests an oauth2 token from google
- google asks you to give permissions to the site
- you give permission to google
- google gives back the oauth2 token to the site
- the site requests your information (name, email)
- the site does what it needs
106 replies