These are chat archives for FreeCodeCamp/Help

18th
Sep 2017
Yaroslav
@YariPL
Sep 18 2017 00:02
@piteto thanks for answers :)
CamperBot
@camperbot
Sep 18 2017 00:02
yaripl sends brownie points to @piteto :sparkles: :thumbsup: :sparkles:
:cookie: 116 | @piteto |http://www.freecodecamp.com/piteto
Eric Miller
@ericmiller777
Sep 18 2017 00:40
hey guys how do i kill off auto complete closeing tag in visual studio code?
Eric Miller
@ericmiller777
Sep 18 2017 01:20
love how when you try to talk to th emicrosoft live help now it takes you to
Single incident (24x7 support)499.00
lol
Gersho
@Gersho
Sep 18 2017 01:25
would have been better if there was also a link like "Please try again using Edge"
Gersho
@Gersho
Sep 18 2017 01:44
oh noes, i just "finished" exact change, but i forgot about floating point errors... -_-
Kyle Holm
@thekholm80
Sep 18 2017 02:38
.2 + .1
= 0.30000000000000004
good times
Gersho
@Gersho
Sep 18 2017 02:45
and since i didn't want to rewrite everything, i end up with a 200 lines godzilla of *100 , /100 and Math.round crap
but it got the job done, but i think i'll try reworking it tomorrow
Kyle Holm
@thekholm80
Sep 18 2017 02:45
lol i do that a lot
but i'm pretty lazy
Gersho
@Gersho
Sep 18 2017 02:46
worst being, it failed while doing -20 (76.74-20 = 56.739999999999)
it even failed a *100 a some point (hence the round)
Kyle Holm
@thekholm80
Sep 18 2017 02:47
stupid javascript math
Gersho
@Gersho
Sep 18 2017 02:47
i already didn't like math
Kyle Holm
@thekholm80
Sep 18 2017 02:48
me either
Gersho
@Gersho
Sep 18 2017 02:48
but how does it work for important stuff ? like money related stuff
Kyle Holm
@thekholm80
Sep 18 2017 02:48
that's a good question
Gersho
@Gersho
Sep 18 2017 02:49
i mean banks surely don't work in js, but like the small retails sites
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 03:01
:wave:
Kyle Holm
@thekholm80
Sep 18 2017 03:04
@NahuelOvejero :wave:
Manish Giri
@Manish-Giri
Sep 18 2017 03:08
but how does it work for important stuff ? like money related stuff
there are many number related libraries
Gersho
@Gersho
Sep 18 2017 03:08
thanks @Manish-Giri
CamperBot
@camperbot
Sep 18 2017 03:08
gersho sends brownie points to @manish-giri :sparkles: :thumbsup: :sparkles:
:star2: 6549 | @manish-giri |http://www.freecodecamp.com/manish-giri
Gersho
@Gersho
Sep 18 2017 03:08
:wave:
Manish Giri
@Manish-Giri
Sep 18 2017 03:09
:wave:
Gersho
@Gersho
Sep 18 2017 03:09
photo still not updated on mouse over
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 03:09
how are you doing my /helpers
Kyle Holm
@thekholm80
Sep 18 2017 03:09

oh yeah, math.js is amazeballs

there are many number related libraries

Manish Giri
@Manish-Giri
Sep 18 2017 03:09
@NahuelOvejero :wave:
Kyle Holm
@thekholm80
Sep 18 2017 03:10
pretty sure that's what i used for my calculator
Gersho
@Gersho
Sep 18 2017 03:10
our elders from the 70s would be ashamed with all our processors and stuff and choking on some basic maths
Kyle Holm
@thekholm80
Sep 18 2017 03:11
nah, they'd be too busy with their punch cards to notice
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 03:11
:wave:!
they will be angry , because in their time they gather sticks to get math done
Gersho
@Gersho
Sep 18 2017 03:12
you see, it's a device that fits in my pocket that can access most human knowledges in a few seconds, it can't handle basic math and we use it to insult each over in 140 characters or less
also cat photos
Kyle Holm
@thekholm80
Sep 18 2017 03:12
my poor father had to use a slide-rule and log books
Gersho
@Gersho
Sep 18 2017 03:14
the chinese community in france still uses those thing i don't know how to call in english
Kyle Holm
@thekholm80
Sep 18 2017 03:15
do you mean an abacus?
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 03:15
abacus
Gersho
@Gersho
Sep 18 2017 03:15
yeah that, was googling it ^^
Kyle Holm
@thekholm80
Sep 18 2017 03:15
slide rules are a little different
Gersho
@Gersho
Sep 18 2017 03:16
oh i've seen those
Kyle Holm
@thekholm80
Sep 18 2017 03:17
wiki calls it an "analog computer"
CamperBot
@camperbot
Sep 18 2017 03:17

freeCodeCamp Wiki:

:point_right: The freeCodeCamp wiki can be found on our forum.
Please follow the link and search there.
Kyle Holm
@thekholm80
Sep 18 2017 03:17
dumb bot
Gersho
@Gersho
Sep 18 2017 03:17
in french we call it something close to "calculus ruler"
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 03:17
lol... those rules looks like the weight machine at the pharmacies
Kyle Holm
@thekholm80
Sep 18 2017 03:17
lol
Gersho
@Gersho
Sep 18 2017 03:18
i only use it once or twice, in class we used it only to know it exists
Kyle Holm
@thekholm80
Sep 18 2017 03:18
french have interesting translations for a lot of things
my favorite is pomme de terre
apple of the earth
potato
Gersho
@Gersho
Sep 18 2017 03:18
please don't, they released a new list of tech words a few weeks ago
for stuff like sockets, phishing, etc ...
i died a bit reading it
Kyle Holm
@thekholm80
Sep 18 2017 03:19
lol
Gersho
@Gersho
Sep 18 2017 03:19
but at least we're not quebec, they have laws imposing translation on lot of stuff
like KFC
Kyle Holm
@thekholm80
Sep 18 2017 03:19
oh yeah, everything i get from canada has french and english on it
Gersho
@Gersho
Sep 18 2017 03:21
in quebec either you show french+english or only french, so you can't KFC, you PFK
Kyle Holm
@thekholm80
Sep 18 2017 03:21
i wish i knew more french. i tried that duolingo but it was so boring
Gersho
@Gersho
Sep 18 2017 03:21
french is way too complicated compared to other latin based languages
every rule has an exeption, there's so many tense conjugaison has it's own book
Kyle Holm
@thekholm80
Sep 18 2017 03:22
and the whole gender thing
Gersho
@Gersho
Sep 18 2017 03:22
yeah people often mention that
Kyle Holm
@thekholm80
Sep 18 2017 03:22
i'm so glad english doesn't have genders
Gersho
@Gersho
Sep 18 2017 03:23
did you just assume it's gender ? triggered
Kyle Holm
@thekholm80
Sep 18 2017 03:23
le triggered
Gersho
@Gersho
Sep 18 2017 03:23
but for exemple people can't agree if it's LE wifi or LA wifi
Kyle Holm
@thekholm80
Sep 18 2017 03:23
i would assume female since it ends in "i"
but what do i know?
Gersho
@Gersho
Sep 18 2017 03:23
because it's UN reseau (a network, male) or LA connection (a connection, female)
well i'm off, have a good day Kyle
korzo
@korzo
Sep 18 2017 03:25
Does french have 2 or 3 genders ?
Gersho
@Gersho
Sep 18 2017 03:25
2
what would the 3rd be ?
korzo
@korzo
Sep 18 2017 03:25
slavic languages has 3
Gersho
@Gersho
Sep 18 2017 03:26
oh wait doesn't german have 3 .?
korzo
@korzo
Sep 18 2017 03:26
yes
Gersho
@Gersho
Sep 18 2017 03:26
no we don't gender neutral
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 03:26
apple of earth = potato, lol
Gersho
@Gersho
Sep 18 2017 03:26
anyway i'm off ^ ^ javascript is easier than french ^^
Kyle Holm
@thekholm80
Sep 18 2017 03:26
@Gersho g'night
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 03:27
yeah, because in JS everything is an object
{} + [] = 0
[] + {} = object
korzo
@korzo
Sep 18 2017 03:28
@NahuelOvejero this reminds me of JSFuck
aka write javascript with 6 characters
Amit Patel
@AmitP88
Sep 18 2017 03:32

hey guys, in my project, how do I get the console to print the correct image URL that was clicked on? It'll print an image URL in the console when I click on a tile image, but it'll print the wrong one. https://github.com/AmitP88/Knights-of-the-Round/tree/gh-pages/js

https://amitp88.github.io/Knights-of-the-Round/

korzo
@korzo
Sep 18 2017 03:41
Yeah, this is awesome. I saw it like hundred times and I was always laughing
Engjell Bislimi
@Engjell00
Sep 18 2017 04:00
any videos who showcases their web dev skills
Darren
@DarrenfJ
Sep 18 2017 04:02
evening fCC
@NahuelOvejero one of my favs thanks for sharing :D
CamperBot
@camperbot
Sep 18 2017 04:03
darrenfj sends brownie points to @nahuelovejero :sparkles: :thumbsup: :sparkles:
:cookie: 800 | @nahuelovejero |http://www.freecodecamp.com/nahuelovejero
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 04:04
@DarrenfJ thanks for mentioned me out before eeven I wasn't arround here! how are you doing?
CamperBot
@camperbot
Sep 18 2017 04:04
nahuelovejero sends brownie points to @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 2032 | @darrenfj |http://www.freecodecamp.com/darrenfj
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 04:05
Its pretty fun... pretty... wat.
heroiczero
@heroiczero
Sep 18 2017 04:07
@DarrenfJ :wave: thanks. Cookies to add to your cookie jar
CamperBot
@camperbot
Sep 18 2017 04:07
heroiczero sends brownie points to @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 2033 | @darrenfj |http://www.freecodecamp.com/darrenfj
yttt1121
@yttt1121
Sep 18 2017 04:16
hey gay
heroiczero
@heroiczero
Sep 18 2017 04:17
@yttt1121 Hello and Welcome back to Free code Camp
Darren
@DarrenfJ
Sep 18 2017 04:23
@NahuelOvejero i'm good man.. busy busy but then who isn't ;)
wat?
@heroiczero thanks for the brownies :D
CamperBot
@camperbot
Sep 18 2017 04:23
darrenfj sends brownie points to @heroiczero :sparkles: :thumbsup: :sparkles:
:star2: 1746 | @heroiczero |http://www.freecodecamp.com/heroiczero
Manish Giri
@Manish-Giri
Sep 18 2017 04:24
@DarrenfJ ty
CamperBot
@camperbot
Sep 18 2017 04:24
:star2: 2034 | @darrenfj |http://www.freecodecamp.com/darrenfj
manish-giri sends brownie points to @darrenfj :sparkles: :thumbsup: :sparkles:
Manish Giri
@Manish-Giri
Sep 18 2017 04:24
:wave:
heroiczero
@heroiczero
Sep 18 2017 04:27
@Manish-Giri ty
CamperBot
@camperbot
Sep 18 2017 04:27
heroiczero sends brownie points to @manish-giri :sparkles: :thumbsup: :sparkles:
:star2: 6550 | @manish-giri |http://www.freecodecamp.com/manish-giri
Manish Giri
@Manish-Giri
Sep 18 2017 04:27
@heroiczero :wave: ty
CamperBot
@camperbot
Sep 18 2017 04:27
manish-giri sends brownie points to @heroiczero :sparkles: :thumbsup: :sparkles:
:star2: 1747 | @heroiczero |http://www.freecodecamp.com/heroiczero
Darren
@DarrenfJ
Sep 18 2017 04:27
@Manish-Giri hey buddy!
how goes the night?
Manish Giri
@Manish-Giri
Sep 18 2017 04:27
bah
Darren
@DarrenfJ
Sep 18 2017 04:27
and ty for the brownies @Manish-Giri
CamperBot
@camperbot
Sep 18 2017 04:27
darrenfj sends brownie points to @manish-giri :sparkles: :thumbsup: :sparkles:
:star2: 6551 | @manish-giri |http://www.freecodecamp.com/manish-giri
Manish Giri
@Manish-Giri
Sep 18 2017 04:28
lazing around
watching corgi vidoes on YT
Darren
@DarrenfJ
Sep 18 2017 04:28
i am stuck on and simultaneously trying to solve about 5 kata
Manish Giri
@Manish-Giri
Sep 18 2017 04:28
oh coool
Darren
@DarrenfJ
Sep 18 2017 04:28
so basically also just watching videos and ignoring coding
Manish Giri
@Manish-Giri
Sep 18 2017 04:29
any specific kata you doing
stucck on exception of only 2 a's.. but it's just the format of retruning it i can't figure out (they don't give it)
but { 'a': 2, 'b': 0 }doesn't pass
and a few others
Manish Giri
@Manish-Giri
Sep 18 2017 04:32
oh
looks like i've done the first one
Darren
@DarrenfJ
Sep 18 2017 04:33
has an exception where if a # return empty string but then gives a test of 3#'s.. so have to refigure out the exception but passed on it for now
@Manish-Giri you solved the character count?
Manish Giri
@Manish-Giri
Sep 18 2017 04:33
if empty string
just return empty object {}
@DarrenfJ
Darren
@DarrenfJ
Sep 18 2017 04:33
what format is it expecting for the a = 2 ('aa')?
Manish Giri
@Manish-Giri
Sep 18 2017 04:35
{'a': 2}
that's not working?
Darren
@DarrenfJ
Sep 18 2017 04:35
ah fack i just solved it
i have an exception earlier of if a === 0 || b ===0 so it's not getting to that second exception... needs to be &&
faaaaaaaaack
fackityfackfack
Manish Giri
@Manish-Giri
Sep 18 2017 04:36
lol
Darren
@DarrenfJ
Sep 18 2017 04:36
ok it just solved.
dang.
Manish Giri
@Manish-Giri
Sep 18 2017 04:36
nice
Darren
@DarrenfJ
Sep 18 2017 04:36
the simple things
Manish Giri
@Manish-Giri
Sep 18 2017 04:38
always
Manish Giri
@Manish-Giri
Sep 18 2017 04:43
@DarrenfJ there is a 5 kyu thing about creating a regular exp to check if the input is divisible by 5
thought it would be simple & tried it
then saw that the description talks about "finite state machines" and "state diagrams"
lol
Darren
@DarrenfJ
Sep 18 2017 04:44
ha!
i also hate the ones where there's no test cases unless you hit attempt
Manish Giri
@Manish-Giri
Sep 18 2017 04:48
yea
TDD my a**
Darren
@DarrenfJ
Sep 18 2017 04:49
ha!
Darren
@DarrenfJ
Sep 18 2017 05:00
brb var puppiesLickingToes === walkTime
Sandeep Chary
@dsandeepchary
Sep 18 2017 05:08
Heyo guys!
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 05:09
sup
Sandeep Chary
@dsandeepchary
Sep 18 2017 05:10
Where y'all people?
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 05:11
In my house
at least me
:P everythings ok
Sandeep Chary
@dsandeepchary
Sep 18 2017 05:11
Whats up?
:D
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 05:12
just doing some proyect / assignment, you?
Sandeep Chary
@dsandeepchary
Sep 18 2017 05:23
Where are you in FCC challenges?
I'm at work. :D
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 05:31
Actually, nope, university one
do you work as developer?
Sandeep Chary
@dsandeepchary
Sep 18 2017 05:41
Yes, kind of Junior
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 05:57
pretty good :D we all start as junior
Eric Miller
@ericmiller777
Sep 18 2017 06:13
hey
if i do
$("button").on("click", function(){
}
if theres multiple buttons but i wqanna know which was clicked
is there a way without tagging each one?
wanna*
Prabu Rangki
@praburangki
Sep 18 2017 06:15
@ericmiller777 you can use the data html attribute
Eric Miller
@ericmiller777
Sep 18 2017 06:17
@praburangki thanks ill read about that
CamperBot
@camperbot
Sep 18 2017 06:17
ericmiller777 sends brownie points to @praburangki :sparkles: :thumbsup: :sparkles:
:cookie: 326 | @praburangki |http://www.freecodecamp.com/praburangki
Sorin Ruse
@sorinr
Sep 18 2017 06:51
@ericmiller777 inside of on click function you may use this. to refer to that object
Eric Miller
@ericmiller777
Sep 18 2017 06:52
@sorinr i thought so but then i got this is not a function?
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 06:52
I thougth the same, but well, not sure what he means with "know"
Eric Miller
@ericmiller777
Sep 18 2017 06:53
@sorinr thanks @NahuelOvejero thanks
CamperBot
@camperbot
Sep 18 2017 06:53
ericmiller777 sends brownie points to @sorinr and @nahuelovejero :sparkles: :thumbsup: :sparkles:
:cookie: 801 | @nahuelovejero |http://www.freecodecamp.com/nahuelovejero
:star2: 1335 | @sorinr |http://www.freecodecamp.com/sorinr
Amit Patel
@AmitP88
Sep 18 2017 06:54
hey guys, I really need some help getting my constructor function to work on my project. Can anyone please help?
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 06:54
@AmitP88 what you mean with constructor function?
Eric Miller
@ericmiller777
Sep 18 2017 06:55
$("button").on("click", function(){
if(playersTurn == true){
this.html("X");
doesnt work?
Amit Patel
@AmitP88
Sep 18 2017 06:56

I'm trying to get the this.image function inside my Cell constructor function to print a randomly generated image in the console when I console.log a new instance of the Cell object
https://github.com/AmitP88/Knights-of-the-Round/tree/gh-pages/js

https://amitp88.github.io/Knights-of-the-Round/

I think I'm missing something, but I can't figure out what
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 06:58
this.html would change the button to X
why don't change directly the value ?
@AmitP88 seems like populator takes 2 params
Amit Patel
@AmitP88
Sep 18 2017 07:04

@NahuelOvejero yeah, it takes an x and y param. I tried doing this:

    function populator(x,y) {
        var img = new Image();
        img.src = randomTile(tileImgs);        

        img.onload = function() {
            ctx.drawImage(img, x,y);
        }

        return img.src;
    }

    // object that will serve as the grid container for tiles
    var grid = [];
    grid.width = canvas.width;
    grid.height = canvas.height;

    // constructor function that will be used to generate multiple instances of the Cell object to populate the grid
    var Cell = function(){
        "use strict";
        this.width = 100;
        this.height = 100;
        this.image = function(){
            return populator(100,100);
        }
    };

    console.log(new Cell());

but it still didn't print the generated image in the console. All I get is image: f

Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 07:05
@AmitP88 what is F?
Amit Patel
@AmitP88
Sep 18 2017 07:06
@NahuelOvejero
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 07:06
in your github it didn't has the 100,100 :P
Amit Patel
@AmitP88
Sep 18 2017 07:06
f.png
@NahuelOvejero lol I know, I just tried it just now
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 07:06
well, image is a function
what if you put
this.image = populator(100,100);
That should work
Amit Patel
@AmitP88
Sep 18 2017 07:08
@NahuelOvejero facepalm to self ugh, I should've known that lol. Maybe I was just thinking too hard about it lol
yeah, it worked
@NahuelOvejero thanks bro :)
CamperBot
@camperbot
Sep 18 2017 07:08
amitp88 sends brownie points to @nahuelovejero :sparkles: :thumbsup: :sparkles:
:cookie: 802 | @nahuelovejero |http://www.freecodecamp.com/nahuelovejero
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 07:09
great!
remember, if you put return in a function, it exits that block
this.something = return... ;
will end
the function already gaves you the src, but welp, it was a silly mistake from return x)
Amit Patel
@AmitP88
Sep 18 2017 07:11
@NahuelOvejero for sure :)
This message was deleted
@NahuelOvejero the project is a 3 match game, so I'm hoping making the cell object a constructor function will help me access and manage the multiple cell instances
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 07:13
sounds pretty good
Amit Patel
@AmitP88
Sep 18 2017 07:14
@NahuelOvejero thanks. yeah, it's proving to be trickier than I thought though. I'm currently working on adding event listeners for the user to be able to swap two tile positions
CamperBot
@camperbot
Sep 18 2017 07:14
amitp88 sends brownie points to @nahuelovejero :sparkles: :thumbsup: :sparkles:
api offline
madhuri soni
@sonimadhuri
Sep 18 2017 07:30
Hello guys! Could someone tell me when we should prefer anonymous functions over normal function?
Pethaf
@Pethaf
Sep 18 2017 08:17
When you are only going to use them once, or only call them inside another function.
Luke-Rogerson
@Luke-Rogerson
Sep 18 2017 08:42
Hello everyone, I'm doing the algorithm challenge where you have to return the string with the first letter capitalized.
for (var i = 0; i <= splited.length; i++) {
upperCased = (splited[i].charAt(0).toUpperCase() +
splited[i].slice(1).toLowerCase());
}
I can't get "charAt" working. I understand it needs a string, but I can't figure out the syntax! Could someone point out what I'm doing wrong?
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 08:46
charAt(0) is good
to a better follow up, try conolse log the upper and lower case'd
sabouni ramzi
@ramzi94
Sep 18 2017 09:40
my jquery is not work
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 09:55
show us your code @ramzi94
sabouni ramzi
@ramzi94
Sep 18 2017 09:57
@tiagocorreiaalmeida hey
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 09:59
hey
sabouni ramzi
@ramzi94
Sep 18 2017 10:00
can you help me @tiagocorreiaalmeida
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 10:00
sure do you have your code on a codepen or you can show us the erroryou get on the console?
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 10:06
are you importing jquery? @ramzi94
Mohammed Boudad
@matrixersp
Sep 18 2017 12:16
@ramzi94 You either download jQuery and include the link to it in your HTML file or include a cdn link here's one: <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
sabouni ramzi
@ramzi94
Sep 18 2017 13:48
oki thnx
rscales02
@rscales02
Sep 18 2017 14:07
@tiagocorreiaalmeida did you get that porfolio looking better?
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 14:15
@rscales02 yeah got a few issues if you wanna give it a look
rscales02
@rscales02
Sep 18 2017 14:15
Sure
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 14:15
http://tiagoalmeidacorreia.pt/ chang the screen size for less than 768 px, the navbar opening looks quite strange looks like an animation but I have none so now idea how that happens
rscales02
@rscales02
Sep 18 2017 14:24
It looks too abrupt for an animation, I think. Do you want the white nav-bar to expand on small screens?
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 14:27
I just want it to display normally no animations nothing a simply display none to block
for what I see bootstrap changes the height of the div?
or im confused?
rscales02
@rscales02
Sep 18 2017 14:29
That is beyond me, sorry friend.
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 14:29
image.png
rscales02
@rscales02
Sep 18 2017 14:38
It looks like you have stated the height of your navbar at 80px.
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 14:39
yeah but that's ok dont think the problem is coming from there I can remove it
image.png
rscales02
@rscales02
Sep 18 2017 14:40
Sorry I wish I had any idea of how this sorcery worked.
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 14:40
there's something happening in this div js probably behind from bs but looks strange try to hide and how
and you will see the div style changing
yeah same but we learn with pratice np and thanks mate
rscales02
@rscales02
Sep 18 2017 14:43
No problem, good luck!
function getSum(){
    var numbers = [];
    for (var i = 1; i < 10; i++) {
      if (i%3 == 0) {
        numbers += i;
    }else if (i%5 == 0) {
        numbers += i;
    }
  }
  var sum = numbers.reduce((a, b) => a + b, 0);
console.log(sum); //numbers.reduce is not a function
  console.log(numbers) //3569
}

getSum()
Can somone help me understand why my numbers array won't reduce?
korzo
@korzo
Sep 18 2017 14:47
@rscales02 numbers += i;
rscales02
@rscales02
Sep 18 2017 14:49
so is that actually giving me numbers = 3569 instead of numbers=[3,5,6,9]?
korzo
@korzo
Sep 18 2017 14:49
@rscales02 after for loop, numbers is "3569" and it's not what you want ;)
@rscales02 numbers is array, so you have to push element into it
numbers.push(i)
rscales02
@rscales02
Sep 18 2017 15:07
thanks @korzo
CamperBot
@camperbot
Sep 18 2017 15:07
rscales02 sends brownie points to @korzo :sparkles: :thumbsup: :sparkles:
:cookie: 507 | @korzo |http://www.freecodecamp.com/korzo
rscales02
@rscales02
Sep 18 2017 15:09
function fibonacci() {
    var fibIt = [1]
    for (var i = 1; i < 400; i = i + fibIt[i-1]){
  fibIt.push(i);
  }
}
function parseAndSum(){
fibonacci();
console.log(fibIt);
}


fibonacci()
parseAndSum()
Is there a way to make the fibIt variable accessible with the parseAndSum function without making fibIt a global variable? Or a way to pass it into parseAndSum?
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 15:11
you can call a function with arguments
setting the other function to accept them
rscales02
@rscales02
Sep 18 2017 15:13
How exactly would that look? I don't really understand...
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 15:15
whats the idea @rscales02
Joseph Giray
@josephgiray
Sep 18 2017 15:16
Anyone know about vendor portal ?
rscales02
@rscales02
Sep 18 2017 15:17
I am trying to pull out all the even numbers from the fibonacci sequence, but I am also trying to figure out how to keep my functions clean and simpler vs a function that does 15 different things.
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 15:18
so you can fibonnaci
and wanan acess the value that comes from fibonnaci in the parseandsumright?
rscales02
@rscales02
Sep 18 2017 15:19
yup
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 15:19
in the fibonnaci()
return fibIt.push(i);
and in the parse sum define a variable equal to the result of it
like a = fibonacci();
Garrus Napp
@GarrusNapp
Sep 18 2017 15:20
any1 familiar with react?
rscales02
@rscales02
Sep 18 2017 15:23
obrigado, amigo @tiagocorreiaalmeida :+1:
CamperBot
@camperbot
Sep 18 2017 15:23
rscales02 sends brownie points to @tiagocorreiaalmeida :sparkles: :thumbsup: :sparkles:
:cookie: 351 | @tiagocorreiaalmeida |http://www.freecodecamp.com/tiagocorreiaalmeida
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 15:26
@rscales02 did it worked?in the end you can paste it I can give it a look and see if you got it
Brianna
@brisourceful
Sep 18 2017 15:48
@GarrusNapp a little bit
Garrus Napp
@GarrusNapp
Sep 18 2017 15:51
@brisourceful if you make a project on github what files do you push there?
Brianna
@brisourceful
Sep 18 2017 15:52
all of them?
Garrus Napp
@GarrusNapp
Sep 18 2017 15:52
@brisourceful I mean there's stuff like babel and so on which I suppose I shouldn't need on GH
Brianna
@brisourceful
Sep 18 2017 15:52
ohhh you need a gitignore
you'll need to push up babel and webpack and all that good stuff
Garrus Napp
@GarrusNapp
Sep 18 2017 15:53
to gitignore?
rscales02
@rscales02
Sep 18 2017 15:53
function fibonacci() {
    var fibIt = [1]
    for (var i = 1; i < 400; i = i + fibIt[i-1]){
  fibIt.push(i);
  } return fibIt

}
function parseAndSum(){
var a = fibonacci();
console.log(a);
}


fibonacci()
parseAndSum()
@tiagocorreiaalmeida
Brianna
@brisourceful
Sep 18 2017 15:54
do you have a .babelrc file?
Jan Shah
@JanShah
Sep 18 2017 15:54
@GarrusNapp when you initialise a git repository, I think you get a gitignore by default
Brianna
@brisourceful
Sep 18 2017 15:55
@JanShah yes and no
Garrus Napp
@GarrusNapp
Sep 18 2017 15:55
I don't have anything right now, just want to figure things out
Brianna
@brisourceful
Sep 18 2017 15:55
if you don't know what to ignore than you have an empty gitignore
*then
Garrus Napp
@GarrusNapp
Sep 18 2017 15:55
I'm not that good with those webpack, npm and stuff
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 15:55
@rscales02 return fibIt
has to come inside
of the fibonnaci fnction
Brianna
@brisourceful
Sep 18 2017 15:56
@GarrusNapp I'd highly recommend getting familiar with them as they are very useful tools
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 15:56
where are you doing this?codepen? fcc?
Got frustratingly stuck on the intermediate algorithms in fcc, doing some side algo problems from project euler
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 15:59
@rscales02 you have to give me some example to call over the function
Jan Shah
@JanShah
Sep 18 2017 15:59
@brisourceful maybe it's because I've got the git application, all of my working folders have gitignore added automatically
Garrus Napp
@GarrusNapp
Sep 18 2017 15:59
@brisourceful but how do I know what to add to gitignore
Brianna
@brisourceful
Sep 18 2017 15:59
@JanShah yes that's probably why.
rscales02
@rscales02
Sep 18 2017 16:00
return fibIt is still in the fibonacci function, but outside of the for loop in that function... I believe
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 16:00
can you show me your exercise?
Jan Shah
@JanShah
Sep 18 2017 16:00
@GarrusNapp you don't need to add to gitignore, when you run git add, you will add files you want, I think git rm removes the files you don't want
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 16:00
sorry gettingconfused into this
what's the point of function fibonacci and function parseAndSum
rscales02
@rscales02
Sep 18 2017 16:01
No worries...
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 16:01
just to understand the context
Garrus Napp
@GarrusNapp
Sep 18 2017 16:01
@JanShah I understand that, the thing I don't know is whether there's a folder in a react app structure that is plug 'n play basicly
That someone can just download and run the app
Brianna
@brisourceful
Sep 18 2017 16:01
@JanShah yes you do need to add to the gitignore depending on @GarrusNapp environment. If Garrus is using Node, it is best to add that to your gitignore so you aren't constantly pushing up the node module builds
Jan Shah
@JanShah
Sep 18 2017 16:02
@GarrusNapp as long as you include the source, packagejson and any other files you've added yourself (webpack, babelrc etc), it should work for anyone. you don't need to include node_modules
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 16:03
@rscales02 what's the number limit?
400?
Brianna
@brisourceful
Sep 18 2017 16:03
@JanShah where do you work?
rscales02
@rscales02
Sep 18 2017 16:03
the fibonacci function is to build the fibonacci sequence into an array, and the parseAndSum function is to search for the even numbers and add them together
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 16:03
@rscales02 im quite sorry need to leave for a bit
Garrus Napp
@GarrusNapp
Sep 18 2017 16:03
my-app
├── README.md
├── node_modules
├── package.json
├── .gitignore
├── public
│   └── favicon.ico
│   └── index.html
│   └── manifest.json
└── src
    └── App.css
    └── App.js
    └── App.test.js
    └── index.css
    └── index.js
    └── logo.svg
    └── registerServiceWorker.js
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 16:03
if you still need help when I come
Jan Shah
@JanShah
Sep 18 2017 16:03
@brisourceful at home :)
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 16:03
I will ghelp
Brianna
@brisourceful
Sep 18 2017 16:03
@JanShah remotely? Are you a front end, back end, full-stack??
Garrus Napp
@GarrusNapp
Sep 18 2017 16:04
so node_modules have to be ignored, and I push all the rest?
rscales02
@rscales02
Sep 18 2017 16:04
no worries @tiagocorreiaalmeida , you have already helped tremendously and the functions are working like I was hoping. Thanks!
CamperBot
@camperbot
Sep 18 2017 16:04
rscales02 sends brownie points to @tiagocorreiaalmeida :sparkles: :thumbsup: :sparkles:
api offline
Brianna
@brisourceful
Sep 18 2017 16:04
@GarrusNapp yes
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 16:04
@GarrusNapp most of the times, node are big as f, as long as you have the packages, a really light weigth json , you can npm install
Garrus Napp
@GarrusNapp
Sep 18 2017 16:04
then someone clone it, runs npm install inside that dir, and can runserver on localhost ?
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 16:05
exactly
Brianna
@brisourceful
Sep 18 2017 16:05
here is a gitignore I use:
# Created by https://www.gitignore.io/api/osx,linux,node,vim

students/
db/
build/

### OSX ###
.DS_Store
.AppleDouble
.LSOverride

### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*


### Node ###
# Logs
logs
*.log
npm-debug.log*
.tern-project

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules
jspm_packages

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

### Vim ###
# swap
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
# session
Session.vim
# temporary
.netrwhist
*~

# auto-generated tag files
tags
Garrus Napp
@GarrusNapp
Sep 18 2017 16:05
@NahuelOvejero @brisourceful @JanShah Thanks a lot !!
CamperBot
@camperbot
Sep 18 2017 16:05
garrusnapp sends brownie points to @nahuelovejero and @brisourceful and @janshah :sparkles: :thumbsup: :sparkles:
:cookie: 50 | @brisourceful |http://www.freecodecamp.com/brisourceful
:cookie: 532 | @janshah |http://www.freecodecamp.com/janshah
:cookie: 803 | @nahuelovejero |http://www.freecodecamp.com/nahuelovejero
Brianna
@brisourceful
Sep 18 2017 16:06
@NahuelOvejero glad someone else could back me up on the node builds.
Aita Kane
@aita-kane
Sep 18 2017 16:07
hello can someone help me i'm really new with js so my problem is i found this tutorial on line maker ( the link : https://tympanus.net/codrops/2016/10/12/animated-decorative-lines/ ) and i want to add it in my open- nav menu-shelf in here so what can i do to have it appear here is the codepen https://codepen.io/akane96/pen/WZrGQX
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 16:08
@brisourceful Semi Senior stuff, we know (I wish) :P how are you doing? how the inveriewes/jobs went?
@aita-kane pretty nice page
let me check
Brianna
@brisourceful
Sep 18 2017 16:10
@NahuelOvejero I'm doing really well! I got a part time contract job working as a web developer for an athletic company here in Seattle. I'm still looking for full-time work but it's a relief to have some paid work on my resume. How are you doing??
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 16:10
@brisourceful oh yeah, the first job worth more than the pay/ money, it's mean experience, wich will help you a lot more ahead
I was stuck in interviews point, was frustrating. But now at least I got to enter in a course , that takes 1 month and will take the better ones to their office
Brianna
@brisourceful
Sep 18 2017 16:11
@NahuelOvejero exactly! Luckily I've got two recruiters looking out for me for full-time work so I'm optimistic I'll find something soon. I'm still waiting to hear back from Expedia so hopefully I'll know if they are moving forward or not soon.
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 16:11
we are a small group, and I feel pretty confident :D
it's pretty nice :D
Brianna
@brisourceful
Sep 18 2017 16:12
The Expedia interview was so frustrating since I had to use Node's process.stdin and stdout to write my algorithms and I only had 25 minutes.
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 16:14
Yeah, it's the most frustrating stuff..I had to create an application using facebook api, where extract all the posible data, and you can download the photos / albums with a single click
I worked so hard, they were happy and were asking for an interview (the proyect was the initial condition to have an interview)
the next week they answer me "we are too busy now, next week we are going to have an interview" , next one "I was sick, sorry"
at that point i realize , bleh.
After a month after that they told me they can not afford an employee
Brianna
@brisourceful
Sep 18 2017 16:16
Wow...that's ridiculous
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 16:17
here sucks balls, bussisnes are shit. It's happen to me TWICE lol
Brianna
@brisourceful
Sep 18 2017 16:17
That's really absurd because they should already know if they have the budget for the job already
remind me, are you in Argentina?
Nahuel Ovejero
@NahuelOvejero
Sep 18 2017 16:18
Exactly , but not in Buenos Aires (I've been looking up, and there are a lot of offers and cool/big bussisnes)
I live in San Luis, wich is a small province, and far away. Mostly like a small town
@aita-kane I seen your lines, but where and what you want exactly?
brb, go to travel to university , have a nice a day, catch up in minutes!
Brianna
@brisourceful
Sep 18 2017 16:22
sounds good! Talk to you later
Have a good day as well!
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 16:30
@rscales02 how's that going ?
rscales02
@rscales02
Sep 18 2017 16:31
went back to square one once I realized that my fibonacci sequence stops returning after 6 iterations
function fibonacci(){
var fibIt = [1];
for (var i = 1; i < 100; i = i+fibIt[i-1]) {
fibIt.push(i)
}
console.log(fibIt); //[1, 1, 2, 3, 5, 10]
}

fibonacci();
it should keep getting farther along until the i=100 limit
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 16:33
why are you changing the I increments?
Yaroslav
@YariPL
Sep 18 2017 16:35

Hi everyone. a little question to you all. I've done this one "Make Unique Objects by Passing Parameters to our Constructor" like this
var Car = function(wheels, seats, engines) {
this.wheels = wheels;
this.seats = seats;
this.engines = engines;
};

var myCar = new Car(6, 3, 1);

var myCar;

and it works but when I tried to change function parameters directly into numbers it didn't work. First I must change it into some string (wheels, seats, engines) ann only then below I can change it into(6,3,1). Why couldn't I change it directly in a function?

Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 16:35
if you want it to run 100 times
you have to use i++
and the var I as to be euqal to 0
rscales02
@rscales02
Sep 18 2017 16:35
because I like to do things wrong? lol I just realized that that isn't even correct past 5 lol
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 16:35
its normal we need to pratice to get better
rscales02
@rscales02
Sep 18 2017 16:35
I have to rethink the whole thing
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 16:36
I would recomend watch some videos on youtube on how others people got it done and that kinda of stuff
I did it when I started to learn struggled alot still do but a step at time
rscales02
@rscales02
Sep 18 2017 16:41
I have done a lot of that, now is just time for practice and more practice and then maybe some more practice lol. Trying to get better at the idea of algorithms before I cheat my way through the Intermediate Algorithms section on FCC
Aita Kane
@aita-kane
Sep 18 2017 16:59
@NahuelOvejero sorry for the late answer i wasn't here ... i want the lines in the menu when you click on the logo there's a menu that expand . That's where i wnat my lines to be
rscales02
@rscales02
Sep 18 2017 17:34
@tiagocorreiaalmeida finally got it figured out, code at jsfiddle
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 17:46
nice @rscales02 glad you got the idea of using the value that comes out of a function without using a global variable
Engjell Bislimi
@Engjell00
Sep 18 2017 19:05
any good videos that shows how to create website with html/css
Tiago Correia
@tiagocorreiaalmeida
Sep 18 2017 19:07
I think there's even a good udemy course that's for free about that
@Engjell00 https://www.udemy.com/html-and-css-for-beginners-crash-course-learn-fast-easy/ can't tell you how good the course is but worth a try I think
cause I never have done it
aRtoo
@artoodeeto
Sep 18 2017 19:46
hi fam. damn this shits hard fam. on the algo challenge NO REPEAT PLEASE
this is my interpretation on the heaps algorithm but i dont really get it. can i pm someone to explain?
function permAlone(str) {
  str = str.split('');
  var check = [];
  var regex = /([a-z])\1+/;
  //console.log(str);

  function swaper(a,b) {
    var holder = str[a];
    str[a] = str[b];
    str[b] = holder;
  }

  function generate(n) {
    if(n===1) {
      check.push(str[n]);
    } else {
      for(var i=0; i<n-1; i++) {
        generate(n-1);
        if(n % 2 === 0 ) {
          swaper(i,n-1);
        } else {
          swaper(0,n-1);
        }
      }
    }
  }
  generate(str.length);

  return check;
}

 permAlone("aab"); //should return 2.
Alex
@alexandrupintilei
Sep 18 2017 19:53
Can i collapse a specific challenge ? ( I want to solve it again )
Garrus Napp
@GarrusNapp
Sep 18 2017 19:57
@alexandrupintilei you can go to that challange through map and reset code
Alex
@alexandrupintilei
Sep 18 2017 20:02
@GarrusNapp i find only how to reset all codes,not a specific one
Garrus Napp
@GarrusNapp
Sep 18 2017 20:03
@alexandrupintilei go to the specific task, and you have "reset your code" button on the left
Alex
@alexandrupintilei
Sep 18 2017 20:06
@GarrusNapp i know that,but i want to clear all modul,from map
Garrus Napp
@GarrusNapp
Sep 18 2017 20:06
I don't think thats possible
at least I don't know about such option
Jan Shah
@JanShah
Sep 18 2017 20:31
@alexandrupintilei if you want to clear all your progress you can close your account and open a new one
Henry
@GitHub-Henry
Sep 18 2017 21:14
@alexandrupintilei you can resubmit a challenge
Adam Bohannon
@abohannon
Sep 18 2017 21:58
Is anyone familiar with using Radium in React?
Jan Shah
@JanShah
Sep 18 2017 21:59
@abohannon I've used something similar
Adam Bohannon
@abohannon
Sep 18 2017 22:00
I'm trying to implement hover animations and it's driving me crazy. Something that would've taken 10 minutes with regular CSS is taking me hours.
Jan Shah
@JanShah
Sep 18 2017 22:00
@abohannon you'll need to add something. one sec, I can't remember it
Adam Bohannon
@abohannon
Sep 18 2017 22:00
and the documentation is pretty sparse. Hoping I'm just missing something.
Jan Shah
@JanShah
Sep 18 2017 22:01
I used styled-components library, in it, you can add global style for any styled component

ok, got it.

add css stylesheet to component folder and import './customStyle.css'
to the component js. this is in styled-components, but I can bet it's similar

just use backticks when adding the css
Adam Bohannon
@abohannon
Sep 18 2017 22:12
@JanShah awesome thanks!
CamperBot
@camperbot
Sep 18 2017 22:12
abohannon sends brownie points to @janshah :sparkles: :thumbsup: :sparkles:
api offline
Stephen
@TeddyHugs
Sep 18 2017 22:58
when will the api be back up?
just1witness
@just1witness
Sep 18 2017 22:59
fcc is currently down, it has been reported
Stephen
@TeddyHugs
Sep 18 2017 22:59
oh well. I hope it comes back up soon
_<
just1witness
@just1witness
Sep 18 2017 23:01
I'm sure they are doing everything they can :thumbsup:
Stephen
@TeddyHugs
Sep 18 2017 23:02
Oh well. Use the beta one for now :D
And even that's down
lol
Manish Giri
@Manish-Giri
Sep 18 2017 23:03
@TeddyHugs :wave:
Eric Miller
@ericmiller777
Sep 18 2017 23:04
hey guys
Stephen
@TeddyHugs
Sep 18 2017 23:04
@Manish-Giri :wave: how are you? :D
Hey Eric
Eric Miller
@ericmiller777
Sep 18 2017 23:04
how can i make a bootstrap button look regular even when its disabled?
Manish Giri
@Manish-Giri
Sep 18 2017 23:04
doing okay lol
Eric Miller
@ericmiller777
Sep 18 2017 23:04
hello
Manish Giri
@Manish-Giri
Sep 18 2017 23:04
missed your question that night
fell asleep
lol
Gersho
@Gersho
Sep 18 2017 23:05
@ericmiller777 change the color ?
Eric Miller
@ericmiller777
Sep 18 2017 23:06
@Gersho i tryed button:disabled
how can i change the color only when disbaled?
disabled
Stephen
@TeddyHugs
Sep 18 2017 23:09
lol all good. It was bound to happen :P
Henry
@GitHub-Henry
Sep 18 2017 23:09
@just1witness or as the Dothraki would say "it is known"
Manish Giri
@Manish-Giri
Sep 18 2017 23:09
piteto
@piteto
Sep 18 2017 23:11
@ericmiller777
.btn.disabled, .btn:disabled {
  opacity: 1;
}
(for bootstrap 4 beta)
Gersho
@Gersho
Sep 18 2017 23:11
@ericmiller777 well from my understanding, you want it to be the same color if it's disabled or not ? ni that case adding a class and forcing color ? (!important)
Eric Miller
@ericmiller777
Sep 18 2017 23:11
yes I think so
Gersho
@Gersho
Sep 18 2017 23:14
or just don't disable it :D (this lame solution was sponsored by Gersho©)
Eric Miller
@ericmiller777
Sep 18 2017 23:15
@Gersho thanks
CamperBot
@camperbot
Sep 18 2017 23:15
ericmiller777 sends brownie points to @gersho :sparkles: :thumbsup: :sparkles:
:cookie: 441 | @gersho |http://www.freecodecamp.com/gersho
Eric Miller
@ericmiller777
Sep 18 2017 23:15
@piteto thanks
CamperBot
@camperbot
Sep 18 2017 23:15
ericmiller777 sends brownie points to @piteto :sparkles: :thumbsup: :sparkles:
:cookie: 119 | @piteto |http://www.freecodecamp.com/piteto
Gersho
@Gersho
Sep 18 2017 23:16
if i translate Heap's algo in JS, is that ok or should i come up myself how to iterate in such a way ?
Eric Miller
@ericmiller777
Sep 18 2017 23:17
@piteto thant works perfectly
if your translateing it id say its fine
since useing code snippets is fine
just says to give credit
piteto
@piteto
Sep 18 2017 23:26
Not quite perfect, you'll see on hover it's a little different - but modifying that depends on the button style (primary, secondary, success, warning, etc)
If you need to customize further, search for "disabled" here: https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.css
Or like @Gersho says, you could choose a different way to disable it - like adding a class that uses pointer-events: none @ericmiller777
Eric Miller
@ericmiller777
Sep 18 2017 23:38
@piteto works fine for my purposes, im useing btn-primary