These are chat archives for MontCode/GeneralChat

2nd
Oct 2016
Lily Romano
@Lilyheart
Oct 02 2016 01:41
@JBC944 I got sucked into my Java book. Did you figure it out Jimmy?
JBC944
@JBC944
Oct 02 2016 01:43
yea i did
Lily Romano
@Lilyheart
Oct 02 2016 01:43
sweet
Eric Phy
@SimplyPhy
Oct 02 2016 16:23
Anybody have any thoughts as to why this flexbox is moving down? this
Lily Romano
@Lilyheart
Oct 02 2016 16:27
Not without seeing the code
JBC944
@JBC944
Oct 02 2016 16:31
Screenshot_4.png
Screenshot_5.png
I cant seem to get an image in the div
That’s basically the issue
JBC944
@JBC944
Oct 02 2016 16:35
I am confused
Eric Phy
@SimplyPhy
Oct 02 2016 16:36
@JBC944 you didn’t close your div
<div class=“traycontainer “ <img …></div>
JBC944
@JBC944
Oct 02 2016 16:38
i see it now sorry not my day today
is there a way i could stretch the image to fit the div?
Eric Phy
@SimplyPhy
Oct 02 2016 16:39
no worries; any idea why mine won’t render properly :D
css: .myImg { width: 100%; }
JBC944
@JBC944
Oct 02 2016 16:40
i not sure since this is my first time ever working with html
and i dont know any other code at the moment
i tried the 100% it takes up the whole page
Eric Phy
@SimplyPhy
Oct 02 2016 16:43
i updated my codepen to make the issue even more obvious
you need to resize the div then
100% makes it fill it’s parent container, in this case the div. the div’s parent, in your case, is the body element, which is about 100% of the window, in your case
div’s are block elements, which automatically are 100% width, if you don’t adjust it manually
JBC944
@JBC944
Oct 02 2016 16:45
i got the div width set to 70%
Eric Phy
@SimplyPhy
Oct 02 2016 16:45
this is in contrast to inline elements, which take up the width of their content
JBC944
@JBC944
Oct 02 2016 16:45
height 15%
Eric Phy
@SimplyPhy
Oct 02 2016 16:47
okay?
JBC944
@JBC944
Oct 02 2016 16:48
what should i change it to
Eric Phy
@SimplyPhy
Oct 02 2016 16:49
no idea, prob a code issue
show code
JBC944
@JBC944
Oct 02 2016 16:50
Screenshot_2.png
Eric Phy
@SimplyPhy
Oct 02 2016 16:53
and you’re saying the image is 100% the window?
prob need all the code, not just your traycontainer styles
JBC944
@JBC944
Oct 02 2016 16:54
let me take another picture
Eric Phy
@SimplyPhy
Oct 02 2016 16:54
just copy/paste into this window, but wrap all of it inside “```”s
JBC944
@JBC944
Oct 02 2016 16:55
Screenshot_3.png
the image is too big
Eric Phy
@SimplyPhy
Oct 02 2016 16:56

``` [like this]

code code code code code code yay

``` [done]

thats all of the code i have
Eric Phy
@SimplyPhy
Oct 02 2016 17:12
the div it’s inside of is 70% width of the page
JBC944
@JBC944
Oct 02 2016 17:12
so what should i do?
Eric Phy
@SimplyPhy
Oct 02 2016 17:13
so when the image is 100%, it expands to fill that div (it’s parent/container), and the height will automatically be set basics on the image’s aspect ratio
in other words: either resize your div, or resize the image
by the way, since you’re so concerned: i sort of figured out my issue :P
vertical-align needs to be overridden from baseline, apparently
JBC944
@JBC944
Oct 02 2016 17:15
sorry eric
Eric Phy
@SimplyPhy
Oct 02 2016 17:15
ha no worries, i just began doing all this full time 4 months ago
believe me i’ve asked a million questions
we all feel stupid, don’t worry
JBC944
@JBC944
Oct 02 2016 17:16
its hard to focus my brain atm my headache has not gone away and it started yesterday morning
Eric Phy
@SimplyPhy
Oct 02 2016 17:17
yup, we [mostly] all have fun health doodads as well
it’s all very lovely
JBC944
@JBC944
Oct 02 2016 17:17
i think the stress i have in math is doing it
i feel like i am getting the coding down for web design easier than the math
Eric Phy
@SimplyPhy
Oct 02 2016 17:19
proofs?
JBC944
@JBC944
Oct 02 2016 17:19
what do you mean?
Eric Phy
@SimplyPhy
Oct 02 2016 17:19
do you have to write proofs for the math stuff
JBC944
@JBC944
Oct 02 2016 17:20
no i am in math 100
advanced alegebra
and since my teacher canceled the class for 8 times now
i am not learning really much of anything
Eric Phy
@SimplyPhy
Oct 02 2016 17:20
just go here, search the topic you have to know, and learn it there
trust me
i just saved your brain
JBC944
@JBC944
Oct 02 2016 17:22
i think i going to take a break of coding for the day and start again tomrrow maybe when my head is not throbbing
x=the amount of times that jimmy's head throbs
how many times does it throb
Eric Phy
@SimplyPhy
Oct 02 2016 17:23
x
JBC944
@JBC944
Oct 02 2016 17:23
let x be more than 1 time lol
Eric Phy
@SimplyPhy
Oct 02 2016 17:23
:P
David Castner
@davidjcastner
Oct 02 2016 19:56
anyone know if there is a java package manager similar to npm
David Castner
@davidjcastner
Oct 02 2016 20:04
also taking names for a java test driver package, I'm thinking a coffee or tea related beverage for the name
like caramel macchiato or green tea latte
Eric Phy
@SimplyPhy
Oct 02 2016 23:55
reserve roast :D
p.s. thinking through react is turning out to be a challenge
i’m working towards a breakthrough of really understanding the pattern flow
oddly enough, i feel like i understand it, but as I work through my apps code, it’s still a struggle