These are chat archives for FreeCodeCamp/HelpFrontEnd

19th
Oct 2018
Ben Supat
@groundzer00
Oct 19 2018 02:35
hi everyone :)
Christopher McCormack
@cmccormack
Oct 19 2018 02:37
@groundzer00 hello
Ben Supat
@groundzer00
Oct 19 2018 02:39
im new here in gitter ,nice to meet u all :)
Christopher McCormack
@cmccormack
Oct 19 2018 02:39
@groundzer00 welcome. It's quiet right now but feel free to ask questions in one of the many FreeCodeCamp channels
Ben Supat
@groundzer00
Oct 19 2018 02:42
I will , but im quiet interested in frontend so ill stay on front end channels .Thanks!
Bharath Bhushan nh
@bbnhbb
Oct 19 2018 04:26
Hello every one I am a frontend developer . I been doing this from one year I am intermediary in html css is and angular. I would like to make to make some friends in the same stream that I am in and would like to talk to them orally, through Skype. I could help you and I can explain you thing if you are new to web development and same I true if any one who knows much can teach me. So any one wants to become friends with me Skype so that we can have conversations on Skype and talk about frontend.
Don't take this wrongly forms are great form of helping each other, but my intention is oral communication can improve our communication skills and knowledge in tech.
Bharath Bhushan nh
@bbnhbb
Oct 19 2018 04:44
My Skype ID "live:bbnhbb"
Dhaval Vira
@dhavalveera
Oct 19 2018 05:08
Hey @bbnhbb
Bharath Bhushan nh
@bbnhbb
Oct 19 2018 05:11
Hey
Ben Supat
@groundzer00
Oct 19 2018 06:13
hello there there @bbnhbb
how about checking out my simple work ,no functionality ,just responsiveness..please give me some feedback as I am beginner with this
https://projectx2018.000webhostapp.com/
Dhaval Vira
@dhavalveera
Oct 19 2018 06:22
@groundzer00 hey. I checked your Website, i found that your Drop-Down Menu is not closing when we any tag, like Project, Team
it should close after selecting the Tag
Ben Supat
@groundzer00
Oct 19 2018 06:30
is it necessary to close? let me check how to do it .thank you for feedback! 😍😍
Dhaval Vira
@dhavalveera
Oct 19 2018 06:31
Yes, it is necessary to close, otherwise it look weird
Ben Supat
@groundzer00
Oct 19 2018 06:35
can u give me keywords to search for how to close it? whats the best approach in closing? via css or javascript?
Dhaval Vira
@dhavalveera
Oct 19 2018 06:35
text me directly
Mohammed Boudad
@matrixersp
Oct 19 2018 08:40
I know this is unrelated but can some please tell me what -D flag means in npm i -D
AJ Brommy
@AJ-Brommy
Oct 19 2018 08:41
@matrixersp what is this in relation too? is this a linux shell command?
Mohammed Boudad
@matrixersp
Oct 19 2018 08:42
@AJ-Brommy I'm trying to install a dependency with npm, but I don't know what -D refer to
Googling it doesn't give me any results
AJ Brommy
@AJ-Brommy
Oct 19 2018 08:45
unfortunately i don't even know what npm is lol
think i've found the answer to that now - a package manager for JavaScript?
Mohammed Boudad
@matrixersp
Oct 19 2018 08:46
@AJ-Brommy It's okay friend, Yeh I know what npm is, what I don't understand is the flag -D I haven't seen it before
AJ Brommy
@AJ-Brommy
Oct 19 2018 08:49
-D: --save-dev
I think this might be what you are looking for : https://docs.npmjs.com/misc/config

save-dev
Default: false
Type: Boolean
Save installed packages to a package.json file as devDependencies.

When used with the npm rm command, it removes it from the devDependencies object.

Only works if there is already a package.json file present.

Mohammed Boudad
@matrixersp
Oct 19 2018 08:51
@AJ-Brommy Ah okay, thanks a lot
You saved my day
AJ Brommy
@AJ-Brommy
Oct 19 2018 08:52
no probs :) glad it's helped :)
Mohammed Boudad
@matrixersp
Oct 19 2018 08:53
I feel stupid, I should've taken a look at the doc
AJ Brommy
@AJ-Brommy
Oct 19 2018 08:56
no worries - all part of learning :)
Mohammed Boudad
@matrixersp
Oct 19 2018 08:57
Yeh, it happens sometimes, we get stuck at trivial things
AJ Brommy
@AJ-Brommy
Oct 19 2018 09:02
yup
Spyrantis Theodoros
@thodorisanta
Oct 19 2018 11:43
quick question. Is it "wrong" or bad practice or anything that to align something vertically i put display: flex; align-items: center; ? i mean..im only putting flex on it to display it in the center vertically. even if it is a single item.
AJ Brommy
@AJ-Brommy
Oct 19 2018 13:35
there are vertical align options
but i don't think they work initial quite as one my think, i can't remember. I think you need to get the height to be 100% first or something.
Victor Popescu
@VicPopescu
Oct 19 2018 13:37
@thodorisanta align-items: center; will vertically align items inside that element
not a bad practice
you can use align-self too
AJ Brommy
@AJ-Brommy
Oct 19 2018 13:46
yeah seems i might have been wrong - i can't get things to work as i thought lol
so yeah might be the simplest option
AJ Brommy
@AJ-Brommy
Oct 19 2018 13:54
ok... I think... you can use this..
margin-top:25vh;
AJ Brommy
@AJ-Brommy
Oct 19 2018 14:05
sorry that probably needs explanation, numbers depends on others. it's functionality probably isn't right but I came up with this.
https://codepen.io/AJ-Brommy/pen/XxqxVQ