joey //
KPCKevin Powell - Community
•Created by joey // on 7/18/2024 in #back-end
What's the difference between a schema and model in mongoose?
sarcasm by chance ? cause to be fair it was a pretty dumb analogy . if not, thanks
10 replies
KPCKevin Powell - Community
•Created by joey // on 7/18/2024 in #back-end
What's the difference between a schema and model in mongoose?
thanks lmao if i was as good at coding as i am at making obscene analogies id have it made
10 replies
KPCKevin Powell - Community
•Created by joey // on 7/18/2024 in #back-end
What's the difference between a schema and model in mongoose?
the model is like the middleman to speak with mongo , and the schema tells us how our communication should be formatted
10 replies
KPCKevin Powell - Community
•Created by joey // on 7/18/2024 in #back-end
What's the difference between a schema and model in mongoose?
thanks .. so i got a dumb analogy if you could let me know if im on the right track ... so lets say a schema is like a set of rules as to how you should talk to someone ... and a model is the phone to communicate with them (to communicate with mongo db in this case) ... when we pass a schema to the model its like telling the model 'if the person doesnt talk to you in this specific manner , hang up" ..... that sounded utterly ridiculous but anyways
10 replies
KPCKevin Powell - Community
•Created by joey // on 6/23/2024 in #front-end
why is my html/css layout behaving this way?
kevo is the man with the plan i will definitely check that video out
22 replies
KPCKevin Powell - Community
•Created by joey // on 6/23/2024 in #front-end
why is my html/css layout behaving this way?
i dont know how to do the psuedo route but that first idea is a good one and would simplify things a bit
22 replies
KPCKevin Powell - Community
•Created by joey // on 6/23/2024 in #front-end
why is my html/css layout behaving this way?
and are they the size of the image because the 100% refers to .card and cards width is being defined by its content (in this case the image inside ) ? thanks for helping me clear it up
22 replies
KPCKevin Powell - Community
•Created by joey // on 6/23/2024 in #front-end
why is my html/css layout behaving this way?
no the 2nd screenshot isnt what i intended. i intended to have the empty divs block cover the images, which i ended up figuring out. i just didnt understand exactly why it rendered that way in the fist place . is the first row of divs overflowing into the 2nd row, and the 2nd row overflowing into what appears as a 3rd row ?
22 replies