@WesleyBellah Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@WesleyBellah all good. I'm not sure how interested in JavaScript you are, but if you want to learn and learn quick, hang out here for a few weeks and you'll be hooked I guarentee it
Amen to that. :P But yes, thanks for helping me with the objects in js. And @RUJordan, I love programming. But yeah, I'll stop by sometime and hang around.
@t1wc I've been programming a bot for plug.dj if you've heard of it. They have their API documentation openly available, so yeah. I've learned a LOT from it so far haha
@SomeKittensUx2666 ah, yeah. It's not the worst thing, but I wish he would stop simply posting his opinions like they're facts. Or at least when he says "that's dumb" or something just simply explain why
It irks me. All programmers should know better than anybody how to express an opinion. "This is dumb because it follows poor practice by using inline scripting"
But yeah. Not worried, I'm just ignoring him mostly
The easiest way is to set it as a background image:
#lightbox {
background:url(myimage.jpg) no-repeat center center
}
Alternatively, you could use flexbox
#lightbox {
display: flex;
}
#lightbox img {
align-items: center;
}
Could someone check my flex answer?
@RUJordan Yeah, went on a rep rampage to get to 10k a few weeks ago
@Jonathan Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@MosheBildner Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.