These are chat archives for FreeCodeCamp/Help

24th
Nov 2017
Ravi Kishore Thella
@ravikishorethella
Nov 24 2017 00:19
Happy thanksgiving campers :smile:
deepdevdg
@deepdevdg
Nov 24 2017 01:12
创建一个叫做 gray-background 的类选择器,设置其 background-color 为 gray,最后应用到 div 元素。
<div class="gray-background"> error?
Jill Lee
@jill-lee
Nov 24 2017 01:19
@heroiczero ok it but why does it work without js in the beginning ?
@heroiczero and thank you
CamperBot
@camperbot
Nov 24 2017 01:19
phoenix-burn sends brownie points to @heroiczero :sparkles: :thumbsup: :sparkles:
:star2: 2071 | @heroiczero |http://www.freecodecamp.org/heroiczero
Ken Haduch
@khaduch
Nov 24 2017 03:20
@ravikishorethella :point_up: November 23, 2017 7:19 PM - Happy thanksgiving to you, too!
zhangsnaan
@zhangsnaan
Nov 24 2017 06:12
求解
Jill Lee
@jill-lee
Nov 24 2017 08:28
Hi how to make the images responsive in any devices please?
https://phoenix-burn.github.io/rings/
Long Nguyen
@longnt80
Nov 24 2017 08:57
@phoenix-burn what do you mean?
you can make images responsive by making it 100% of its container div
then make that container div responsive
@phoenix-burn in the link above, you have problem with your grid layout
dont put 4 items in a row, put all of them in one row instead
Jill Lee
@jill-lee
Nov 24 2017 09:29
image.png
@longnt80 This is what it looks like if I placed all of the images in one row.
texirv0203
@texirv0203
Nov 24 2017 09:39
hi,
  • I have a css issue.
  • when searchDateArea.length > 15 its working fine
  • but when searchDateArea.length < 8 its failing.
  • when its less than 8...I am seeing extra white block.
  • is there any way to fix for all screen.
  • providing whole code below

if ( $(window).width() > 739) { 
                //alert("I am here");
                $('.k-playerJumpingr-content').css({"height": "auto"});
                $('.k-playerJumpingr-content').css({"max-height": searchDateArea.length*70+"px"});
                $('.k-playerJumpingr-layout .k-playerJumpingr-times').eq(1).css({"height": "auto"});
                $('.k-playerJumpingr-layout .k-playerJumpingr-times').eq(1).css({"max-height": (searchDateArea.length*70)+"px"});
            }
            else {
                $('.k-playerJumpingr-content').css({"height": "auto"});
                $('.k-playerJumpingr-content').css({"max-height": searchDateArea.length*45+"px"});
                $('.k-playerJumpingr-layout .k-playerJumpingr-times').eq(1).css({"height": "auto"});
                $('.k-playerJumpingr-layout .k-playerJumpingr-times').eq(1).css({"max-height": (searchDateArea.length*45)+"px"});
            }
Long Nguyen
@longnt80
Nov 24 2017 10:17
@phoenix-burn are you using bootstrap
Yaroslav
@YariPL
Nov 24 2017 13:40
hello guys, a little problem. How to make button's name " X " or "Delete" but the form must send $new_row as it's action. The problem is when I change the value to "Delete" or "X" it doesn't work and I need button exactly to be "Delete" or "X"
echo "<tr>";
    echo "<form action='../admin/dcodes_action.php' id='form' method='post'>";
    echo "<td>";

        echo "<input class='delete_button' name='todelete' type='submit' value='$new_row' onClick='window.location.reload()'><strong> - ".$new_row."</strong>";
    echo "</td>";
    echo "</form>";
    echo "</tr>";
Albert Cardona II
@daddycardona
Nov 24 2017 15:07
just want to say I hope your thanksgiving was good mine was so hello all ;)
Kyle Holm
@thekholm80
Nov 24 2017 15:08
@daddycardona good to hear! hope you saved me some pie
Albert Cardona II
@daddycardona
Nov 24 2017 15:08
shoot i have like extra pies not touched lol
how are you doing @thekholm80
Kyle Holm
@thekholm80
Nov 24 2017 15:09
I'm good. Got a quiet day at work today so enjoying some youtube and reddit
you?
Albert Cardona II
@daddycardona
Nov 24 2017 15:10
I have my kids to beat i mean hang out with lol and then after the weekend I have an appointment to see if I can got to school for electronic repair or something like small stuff like fix something on a motherboard etc.. :)
go to school for free with my GIBILL :)
Kyle Holm
@thekholm80
Nov 24 2017 15:12
oh man i'm envious. I'd love to go to school
I would spend the rest of my life in college if i could
Albert Cardona II
@daddycardona
Nov 24 2017 15:12
I hate normal school but this school is straight up just electronics
Kyle Holm
@thekholm80
Nov 24 2017 15:13
that would be awesome. I used to watch a lot of Hak5 and they'd do some really cool stuff with hardware hacking
Albert Cardona II
@daddycardona
Nov 24 2017 15:14
yeah I am not smart like them LOL but I am excited to learn that always been interesting
Kyle Holm
@thekholm80
Nov 24 2017 15:14
it would be fun to look at a microprocessor and think "Hey, i could build X or Y out of that"
Albert Cardona II
@daddycardona
Nov 24 2017 15:14
lol yeah I hope I can see that
I am going to do more like change out resisters and compacitors etc.. :)
Kyle Holm
@thekholm80
Nov 24 2017 15:16
someday i'll learn how to solder
Albert Cardona II
@daddycardona
Nov 24 2017 15:25
it's not that hard but the one thing you have to remember is to do it fast don't try to use to much because that won't work either
Kyle Holm
@thekholm80
Nov 24 2017 15:47
i love when i read a bit of code and it makes me realize how much JS I still have to learn
Albert Cardona II
@daddycardona
Nov 24 2017 15:50
I love that too but I hate having to learn it because I feel like I am so behind and wish I knew a lot more
Kyle Holm
@thekholm80
Nov 24 2017 15:50
i like learning it. I don't want to run out of new things
Albert Cardona II
@daddycardona
Nov 24 2017 15:56
That is an awesome way to look at it. I like to learn I just wish I truly understood what I was learning I might just jump into react, you said learning that helped you understand the MDN better or javascript better so maybe I will try that :)
Kyle Holm
@thekholm80
Nov 24 2017 15:57
learning React made me a better programmer for sure
it's a pain in the butt, but I guess that's why it pushed me to learn
the big problem is you can't really just learn React, you have to learn the entire eco-system. well, unless you plan on being stuck with a bootstrap tool like create-react-app forever
Albert Cardona II
@daddycardona
Nov 24 2017 16:02
;p;
lol
dammit that sounds good lol
Kyle Holm
@thekholm80
Nov 24 2017 16:03
lol
Albert Cardona II
@daddycardona
Nov 24 2017 16:07
I trying to figure out if a number is integer or not this exact change challenge is confusing
Darren
@DarrenfJ
Nov 24 2017 16:07
morning fCC... off to a meeting but wanted to pop in and say hi
hi @thekholm80 @daddycardona
Kyle Holm
@thekholm80
Nov 24 2017 16:07
@DarrenfJ :wave:
Albert Cardona II
@daddycardona
Nov 24 2017 16:07
gm @DarrenfJ
Darren
@DarrenfJ
Nov 24 2017 16:07
seems the usual suspects are here working away :D
Albert Cardona II
@daddycardona
Nov 24 2017 16:07
have fun
Kyle Holm
@thekholm80
Nov 24 2017 16:08
meetings on Fridays should be outlawed
Darren
@DarrenfJ
Nov 24 2017 16:08
thanks @daddycardona you know nothings more fun than a 15 minute stand-up that turns into a 50 minute round table ...
CamperBot
@camperbot
Nov 24 2017 16:08
darrenfj sends brownie points to @daddycardona :sparkles: :thumbsup: :sparkles:
:cookie: 494 | @daddycardona |http://www.freecodecamp.org/daddycardona
Darren
@DarrenfJ
Nov 24 2017 16:08
bah! ;)
bah i say to meeting
ltr
Albert Cardona II
@daddycardona
Nov 24 2017 16:08
I tried to maked them banned in the military but to no avail twice as long when we had long weekends lol
and then I would be like you couldn't tell us this crap last monday so I could of had it done already now we have 18 more things to do at 3pm on a freaking 96
Kyle Holm
@thekholm80
Nov 24 2017 16:11
hurry up and wait, hurry up and wait. The military motto
Ken Haduch
@khaduch
Nov 24 2017 16:11
@DarrenfJ @daddycardona @thekholm80 - hello folks! How's Friday going for everyone...
Kyle Holm
@thekholm80
Nov 24 2017 16:11
hi @khaduch
Albert Cardona II
@daddycardona
Nov 24 2017 16:11
gm @khaduch
Kyle Holm
@thekholm80
Nov 24 2017 16:11
it's a good day over here, how's your day?
Albert Cardona II
@daddycardona
Nov 24 2017 16:12
it's cold but it is nice out here ;)
that goes for him too lol
Ken Haduch
@khaduch
Nov 24 2017 16:13
off to a slow start... just going to see what's up, maybe continue my React lessons (how did you go about learning React, @thekholm80 ? I'm doing a udemy course. You're right about having a lot to learn with the entire ecosystem!)
@daddycardona - yeah, it's cold... I'm thinking that it might be a good day for raking leaves... if there's ever a good day for that!
Kyle Holm
@thekholm80
Nov 24 2017 16:14
@khaduch i did Tyler McGinnis's react course, but it's done in ES5 so I do not recommend. Steve Girder's udemy course is really good and I learned a ton from it
Albert Cardona II
@daddycardona
Nov 24 2017 16:15
lmao there is never a good day for that as a matter of fact you better off mowing your lawn and leaves becaue the dead nutrients will make your lawn grow nicer. I use to say this when I lived in Leicester and no one believed me but then my grass got greener than most because i just kept mowing the leaves lol
Kyle Holm
@thekholm80
Nov 24 2017 16:15
if you understand the basics of React i'd recommend Steve Girder's Redux course. he covers React, Redux and a bit of React Router
Ken Haduch
@khaduch
Nov 24 2017 16:15
@thekholm80 - I'm doing Andrew Mead's course on udemy. It's good - I'm on lecture 123...
he has react, redux, router, now doing jest (testing environment) - lots of goodies...
Kyle Holm
@thekholm80
Nov 24 2017 16:16
i love jest snapshot
so freaking cool
Albert Cardona II
@daddycardona
Nov 24 2017 16:16
you guys are making me jealous lol
Kyle Holm
@thekholm80
Nov 24 2017 16:16
@daddycardona pfft you'll get there
Albert Cardona II
@daddycardona
Nov 24 2017 16:17
I have been slacking and cheating this freaking FCC on certain challenges it is hard to believe that sometimes lol
Kyle Holm
@thekholm80
Nov 24 2017 16:17
all of the stuff i made for my front end cert was garbage
Ken Haduch
@khaduch
Nov 24 2017 16:18
yes, that's cool! - the snapshot feature. @daddycardona - it's just putting the time into this course instead of trying to do other stuff... It has not been easy, and I'm probably only half way through it? Looks like there are about 190 lectures total... so I guess I'm 2/3 through it, and then I have to figure out how to use it on my own projects :smile:
Albert Cardona II
@daddycardona
Nov 24 2017 16:19
those projects are great until you get frustrated and ask a question in StackOverFlow and get a milllion answers that are above your coding skills lmao i hate when that happens lol
I am going to create visual Javascript / CSS LOL
Visual CSS is going to have comments like I used this because of that lol
Albert Cardona II
@daddycardona
Nov 24 2017 16:25
well I am off to eat and watch a show later y'all :)
Kyle Holm
@thekholm80
Nov 24 2017 16:26
@daddycardona :wave: have fun
Ken Haduch
@khaduch
Nov 24 2017 16:36
@daddycardona - great - have a great day! Also, doing that course on Udemy is really helpful - he walks through everything step-by-step. Not that is isn't overwhelming, but there is a good coverage of information... Although there is an assumption of JavaScript knowledge, he does go into some explanations of new ES6 features that he is using, and there is a lot of repetition, which might help with retention of information...
Rubab
@rubab9
Nov 24 2017 17:51
hi everyone i need some help i am stuck at this personal portfolio level of code camp.....please suggest something my leveled like very low level
anyone
Darren
@DarrenfJ
Nov 24 2017 18:28
@khaduch hey buddy :wave: all is well over here.. actually a great sunny day in TO
Darren
@DarrenfJ
Nov 24 2017 18:33
thanks @JohnnyBizzel for the fenman technique vid .. read his 'Six Easy Pieces' and loved it
CamperBot
@camperbot
Nov 24 2017 18:33
darrenfj sends brownie points to @johnnybizzel :sparkles: :thumbsup: :sparkles:
:star2: 1772 | @johnnybizzel |http://www.freecodecamp.org/johnnybizzel
Darren
@DarrenfJ
Nov 24 2017 18:34
@daddycardona good luck on the electronics. I did a bunch in my 20's for a few years.. mostly radio and sound systems.. but always loved it....
@rubab9 what have you tried?
why not start with something very basic like a couple of divs with your pic and name... split the page up into a few rows and figure out how to click a bunch of links at the top to slowly automatically scroll to new 'row' (new section)
@rubab9 this gives some techniques for scrolling: https://css-tricks.com/snippets/jquery/smooth-scrolling/
@rubab9 this is a very basic way to link to things on the same page: http://www.coffeecup.com/help/articles/how-do-i-link-to-different-sections-on-the-same-page-html-editor/
ok back to testing
DarrenfJ @DarrenfJ sneaks off
Darren
@DarrenfJ
Nov 24 2017 19:12
@daddycardona there was an old guru of mine who used to joke that in NA we're so accustomed to getting services from people instead of doing it ourselves... his whole joke was 'we pay people to take away our leaves and then we pay people to give us manure to fertilize our soil' of course his deal was all about the mind (you know, work with what you got) but actually, i tell people that all time..just mulch it, man...
lmao there is never a good day for that as a matter of fact you better off mowing your lawn and leaves becaue the dead nutrients will make your lawn grow nicer. I use to say this when I lived in Leicester and no one believed me but then my grass got greener than most because i just kept mowing the leaves lol
artbohr
@artbohr
Nov 24 2017 19:21
hey guys, what would be a good tip to fix the height of the bars (the small bars are too small to see, am I using the wrong scale?) https://codepen.io/artbohr/pen/mMKxKg?editors=0010
artbohr
@artbohr
Nov 24 2017 19:57
already got it :)
Darren
@DarrenfJ
Nov 24 2017 20:27
hey @artbohr thanks for sharing
CamperBot
@camperbot
Nov 24 2017 20:27
darrenfj sends brownie points to @artbohr :sparkles: :thumbsup: :sparkles:
:cookie: 320 | @artbohr |http://www.freecodecamp.org/artbohr
Darren
@DarrenfJ
Nov 24 2017 20:27
looks cool. I take it yer working through the data visualization stuff? Something for me to work towards...
looks great though.. kudos!
Henry
@GitHub-Henry
Nov 24 2017 21:00

This link for Object Oriented JavaScript 2nd Edition by Stoyan Stefanov & Kumar Sharma from the book publisher indicates it is currently FREE.

:shipit: :dizzy:

mstellaluna
@mstellaluna
Nov 24 2017 21:17
FYI:: If anyone is interested in helping out to release Beta by Christmas :point_up: November 24, 2017 4:14 PM
Darren
@DarrenfJ
Nov 24 2017 21:31
thanks @GitHub-Henry for the free schwag
CamperBot
@camperbot
Nov 24 2017 21:31
darrenfj sends brownie points to @github-henry :sparkles: :thumbsup: :sparkles:
:cookie: 494 | @github-henry |http://www.freecodecamp.org/github-henry
Darren
@DarrenfJ
Nov 24 2017 21:31
you find that site is good for content?
@mstellaluna that with links is also in the Forum? I might wanna go bookmark items...
oh and thanks @mstellaluna for the heads up
CamperBot
@camperbot
Nov 24 2017 21:34
darrenfj sends brownie points to @mstellaluna :sparkles: :thumbsup: :sparkles:
:star2: 1122 | @mstellaluna |http://www.freecodecamp.org/mstellaluna
mstellaluna
@mstellaluna
Nov 24 2017 21:34
@DarrenfJ which site?
Darren
@DarrenfJ
Nov 24 2017 21:34
@mstellaluna the site Q was for @GitHub-Henry
mstellaluna
@mstellaluna
Nov 24 2017 21:35
:)
Darren
@DarrenfJ
Nov 24 2017 21:35
i meant: the contributors post is also duplicated in the forum?
I'll just bug him directly :D
artbohr
@artbohr
Nov 24 2017 21:58
@DarrenfJ haha thanks, in case someone needs the answer it was adding .nice() function to the Y axis and getting the width and height parametrs to be more in sync so to say, width 900 and height half of that 450, ended up looking like that https://codepen.io/artbohr/pen/mMKxKg
CamperBot
@camperbot
Nov 24 2017 21:58
artbohr sends brownie points to @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 2287 | @darrenfj |http://www.freecodecamp.org/darrenfj
Kyle Holm
@thekholm80
Nov 24 2017 21:59
@artbohr that's a good looking chart
artbohr
@artbohr
Nov 24 2017 22:01
@thekholm80 thanks Kyle ^^
CamperBot
@camperbot
Nov 24 2017 22:01
artbohr sends brownie points to @thekholm80 :sparkles: :thumbsup: :sparkles:
:star2: 1599 | @thekholm80 |http://www.freecodecamp.org/thekholm80
Kyle Holm
@thekholm80
Nov 24 2017 22:01
I enjoyed working with D3
Darren
@DarrenfJ
Nov 24 2017 22:02
eventually, i will too ;)
Kyle Holm
@thekholm80
Nov 24 2017 22:03
I don't think @Manish-Giri liked d3
artbohr
@artbohr
Nov 24 2017 22:03
@thekholm80 d3 is a great tool but I find it a bit away from my interests, so struggling a bit, but I hope I can finish all the d3 projects fast ^_^ I end up enjoying much more doing algorithms, which no one likes, haha
Kyle Holm
@thekholm80
Nov 24 2017 22:04
the real fun is the full stack projects
that's when i felt like i was making something that might actually appear 'in the wild'
Darren
@DarrenfJ
Nov 24 2017 22:05
hunting and trapping some binary digits
Kyle Holm
@thekholm80
Nov 24 2017 22:06
artbohr
@artbohr
Nov 24 2017 22:06
@thekholm80 I'll probably enjoy them too, I was about to do the game of life project, which I think it's awesome, but I wen't to d3 projects instead, because just want to finish them
Kyle Holm
@thekholm80
Nov 24 2017 22:07
the game of life took me sooooo long
really made me feel like an idiot
artbohr
@artbohr
Nov 24 2017 22:07
@thekholm80 the principles of this game are amazing, I will probably struggle aswell haha
Kyle Holm
@thekholm80
Nov 24 2017 22:08
it's a fun project
artbohr
@artbohr
Nov 24 2017 22:08
it totally looks like that
gotta do some d3 first tho :D
I had the bar chart half done for like 2 months, feels bad
Ken Haduch
@khaduch
Nov 24 2017 22:09
@GitHub-Henry and anyone else, reading your link :point_up: November 24, 2017 4:00 PM - If you don't know, the Packt site gives away a free ebook every day - if you sign up for an account they keep your list of ebooks on the site. You can read them there, download them, etc. Some good ones there, and sometimes they repeat past choices, but it's good to check daily to see what is there. They do send emails with offers, etc. but who doesn't do that these days...
artbohr
@artbohr
Nov 24 2017 22:10
@thekholm80 I only had to finish the tooltip and some axis stuff, at the end it took like 2 hours, but I had to spend 2 hours more to remember what was even happening at d3 xD bad idea to leave things half done
Kyle Holm
@thekholm80
Nov 24 2017 22:10
yeah lol
i switched from d3 v3 to d3 v4 for the last few projects and had to learn all over lol
Darren
@DarrenfJ
Nov 24 2017 22:36
elmer's sad face i sooo sad :/
@khaduch thanks man... answers my question above about if the site is any good.. in anycase, i am now signed up :D
CamperBot
@camperbot
Nov 24 2017 22:37
darrenfj sends brownie points to @khaduch :sparkles: :thumbsup: :sparkles:
:star2: 3526 | @khaduch |http://www.freecodecamp.org/khaduch
José Ramón Alonso Tapia
@josealonso
Nov 24 2017 23:54
Hello, everyone !!
I need some help for a Express project
Kyle Holm
@thekholm80
Nov 24 2017 23:56
did you have a question @josealonso ?
José Ramón Alonso Tapia
@josealonso
Nov 24 2017 23:56
yes, thanks, @thekholm80, it has to do with the query string params
CamperBot
@camperbot
Nov 24 2017 23:56
josealonso sends brownie points to @thekholm80 :sparkles: :thumbsup: :sparkles:
:star2: 1600 | @thekholm80 |http://www.freecodecamp.org/thekholm80
José Ramón Alonso Tapia
@josealonso
Nov 24 2017 23:57
Can you help me on that, @thekholm80 ??
Kyle Holm
@thekholm80
Nov 24 2017 23:57
maybe, what is the question?
Adel
@AdelMahjoub
Nov 24 2017 23:57
:ambulance:
Kyle Holm
@thekholm80
Nov 24 2017 23:58
if i don't know the answer @AdelMahjoub will, he's a pro
José Ramón Alonso Tapia
@josealonso
Nov 24 2017 23:58
My web page is this one: joselinuxalonso.es
Adel
@AdelMahjoub
Nov 24 2017 23:58
@thekholm80 is the pro not me
José Ramón Alonso Tapia
@josealonso
Nov 24 2017 23:59
If you type https://joselinuxalonso.es?tags=motor, it works
Adel
@AdelMahjoub
Nov 24 2017 23:59
I'm here in case some disaster occurs
José Ramón Alonso Tapia
@josealonso
Nov 24 2017 23:59
But it's not working if you click the buttons !!