These are chat archives for FreeCodeCamp/Help

10th
Aug 2017
Coy Sanders
@coymeetsworld
Aug 10 2017 00:00
@longnt80 I'm not sure what you mean by toy clock, using the intervals are fine for that project
stealthygame
@stealthygame
Aug 10 2017 00:04
@longnt80 He just wants me to struggle. XD
Long Nguyen
@longnt80
Aug 10 2017 00:46
@coymeetsworld I explained it above
a clock that is not accurate is a toy clock
Coy Sanders
@coymeetsworld
Aug 10 2017 00:48
yes I saw, just think that using intervals are fine, even if they round to a second when you're pausing
Long Nguyen
@longnt80
Aug 10 2017 00:49
@coymeetsworld I'm not saying you can't just use setInterval

this is what I said:

if you're just use setInterval or setTimeout to make the timer, it can be easy but your timer is shit, not a real clock

Coy Sanders
@coymeetsworld
Aug 10 2017 00:49
yes, and I don't know why you're saying it's shit
or what a real clock means
Long Nguyen
@longnt80
Aug 10 2017 00:50
a real clock can keep track of time to the milliseconds to make it as accurate as possible
Coy Sanders
@coymeetsworld
Aug 10 2017 00:50
and milliseconds are important for a pomodoro timer?
Long Nguyen
@longnt80
Aug 10 2017 00:51
if you really want to make a good product, yes
Coy Sanders
@coymeetsworld
Aug 10 2017 00:51
it doesn't have to do w/ making a good product, it's just overkill
Uriel Guzmán
@Burinson
Aug 10 2017 00:51
$("#tempC").html("<img src=" + "http://www.iconsdb.com/icons/preview/black/temperature-2-xl.png " + ">" + json.main.temp + " °C"); How can I change the size of this icon with JS?
Long Nguyen
@longnt80
Aug 10 2017 00:51
no it's not, it's real world experience
Coy Sanders
@coymeetsworld
Aug 10 2017 00:51
a person can't do anything meaningful in a millisecond
Uriel Guzmán
@Burinson
Aug 10 2017 00:52
Change the size*
Coy Sanders
@coymeetsworld
Aug 10 2017 00:52
anyways, it's good you want to make something better and learn something, but I would choose your words more carefully when talking to people just starting out
Long Nguyen
@longnt80
Aug 10 2017 00:52
making a timer with only setInterval is like using eval to do the calculation for a calculator
Coy Sanders
@coymeetsworld
Aug 10 2017 00:52
no its not
Long Nguyen
@longnt80
Aug 10 2017 00:52
yes, it is
Coy Sanders
@coymeetsworld
Aug 10 2017 00:53
you're generalizing
just because it's easier to do things with both, that's the only similarity
Long Nguyen
@longnt80
Aug 10 2017 00:53
are we all here to learn code to find a job right?
so either do it the right way or consider it shit
Coy Sanders
@coymeetsworld
Aug 10 2017 00:53
not everyone is seeking employment
Kyle Holm
@thekholm80
Aug 10 2017 00:53
everyone knows the only way to make a clock is to use the api for the atomic clock in geneva, then calculate the request/response time and adjust accordingly
Coy Sanders
@coymeetsworld
Aug 10 2017 00:53
and that's a narrow way to think of things
who determines "right way"?
@thekholm80 :thumbsup:
Long Nguyen
@longnt80
Aug 10 2017 00:54
well, I wouldn't care if you only want to make the clock with just setInterval or setTimeout
I see plenty of people doing just that
and it's my opinion
Albert Cardona II
@daddycardona
Aug 10 2017 00:56
Does anyone know if I can make the bootstrap 4 navbar look more like a button than just a href with hover:lighter link lol
Long Nguyen
@longnt80
Aug 10 2017 00:57
I made my pomodoro clock with just setInterval and I consider it shitty, so I don't judge others only
Coy Sanders
@coymeetsworld
Aug 10 2017 00:58
I can't speak to it, but mine works fine using those 2
Manish Giri
@Manish-Giri
Aug 10 2017 00:58
so either do it the right way or consider it shit
wow
are you for real?
Long Nguyen
@longnt80
Aug 10 2017 00:59
that's what I thought about my clock
Manish Giri
@Manish-Giri
Aug 10 2017 00:59
this would mean 80% of the projects on github are shit
Coy Sanders
@coymeetsworld
Aug 10 2017 00:59
80%? :point_up: :point_up:
probably 99.999%
Manish Giri
@Manish-Giri
Aug 10 2017 00:59
lol
yeaahh
Coy Sanders
@coymeetsworld
Aug 10 2017 01:00
the edge cases are answers for FCC and ctci
Long Nguyen
@longnt80
Aug 10 2017 01:00
ok, guys you can try to interpret it anyway you want
I don't like playing with words
Coy Sanders
@coymeetsworld
Aug 10 2017 01:01
feel free to interpret what we're telling you anyway you want as well
and remember alot of people learning here, your words can be hazardous if not used correctly or if you don't know the matter well enough. Food for thought
Long Nguyen
@longnt80
Aug 10 2017 01:02
yeah, everyone has an opinion, like an asshole :D
Coy Sanders
@coymeetsworld
Aug 10 2017 01:02
yep
Manish Giri
@Manish-Giri
Aug 10 2017 01:02
I'm just happy you weren't here to give "advice" when I was starting out
Long Nguyen
@longnt80
Aug 10 2017 01:02
advice are advice, you don't have to take it if you don't like it
Manish Giri
@Manish-Giri
Aug 10 2017 01:04
yeah well that's the thing in today's world
everyone has advice

like

"North Korea best not make any more threats to the United States. They will be met with fire and fury like the world has never seen,

Long Nguyen
@longnt80
Aug 10 2017 01:05
that's why I don't like talking about politics and religions and other stuffs like the FreeCodeCamp/Casual forum
I was talking to @stealthygame about the clock and seems like he wanted some challenge
Manish Giri
@Manish-Giri
Aug 10 2017 01:06
you're entitled to an opinion and advice as much as anyone else, but just stop for a minute and think if it's good advice for someone who's at day 1 in programming.
rest I leave upto you
peace
Long Nguyen
@longnt80
Aug 10 2017 01:07
I didn't give advice to a newbie anyway, he even considered the pomodoro clock too easy
Nnenanya Chinedu
@Manpee
Aug 10 2017 01:36
Hello. I am making navigation bars for my portfolio page, do I have to create the links separately and save them before linking them on the nav bars?
Nnenanya Chinedu
@Manpee
Aug 10 2017 01:42
Anyone to help?
Albert Cardona II
@daddycardona
Aug 10 2017 01:43
what you mean separately ?
what are you using ot make the navigation bar? @Manpee
Nnenanya Chinedu
@Manpee
Aug 10 2017 01:47
@daddycardona I mean creating the pages for each of the navigation. e.g about, contact, etc separately and saving the link.
I want to use bootstrap
Albert Cardona II
@daddycardona
Aug 10 2017 01:48
you can make <div class="whatever" id="whatever">
and in the nave bar use <a href="#whatever"> Whatever</a>
juni
@junipberry
Aug 10 2017 01:53

Hello~~

Could I get some help for my code pls.
I need to convert the formatting of a dataset from arrays to objects.
This is what I have so far:

function transformEmployeeData(array) {
  let myObj= {};
  let myLgth= array.length;

  for (let i=0; i<myLgth; i++){
    for (let j=0; j<array[i].length; j++){
     myObj[i][j]=array[i][j];
  }
  }
  return myObj;

}
Nnenanya Chinedu
@Manpee
Aug 10 2017 01:55
@daddycardona what shall be in the "class" and "id" please?
do you have any example?
Coy Sanders
@coymeetsworld
Aug 10 2017 01:55
@junipberry could you provide some more information? what does an example look like? or what issue are you having so far?
Albert Cardona II
@daddycardona
Aug 10 2017 01:55
what ever you name it or want
I have a div with an id= connect so I have an href ="#connect" to link to my anchor tag
juni
@junipberry
Aug 10 2017 01:58

sure @coymeetsworld

If I have an arg of nested arrays, I’m supposed to have an output in object format like so :

[
    {firstName: 'Joe', lastName: ‘Clerks', age: 42, role: 'clerk'},
    {firstName: 'Mary', lastName: ‘Mans, age: 36, role: 'manager'}
]
Coy Sanders
@coymeetsworld
Aug 10 2017 01:59
what does the argument of nested arrays look like @junipberry ?
juni
@junipberry
Aug 10 2017 02:01

an example would be:

[
    [
        ['firstName', 'Joe'], ['lastName', ‘Clerks'], ['age', 42], ['role', 'clerk']
    ],
    [
        ['firstName', 'Mary'], ['lastName', ‘Mans'], ['age', 36], ['role', 'manager']
    ]
]

@coymeetsworld

Coy Sanders
@coymeetsworld
Aug 10 2017 02:03
ok so for one thing its an array of arrays of arrays @junipberry
and each of those sub-subarrays are a pair, first being the name of the property and second being the value
this part myObj[i][j]=array[i][j]; needs to be corrected
juni
@junipberry
Aug 10 2017 02:05
so I would have to nest another loop? @coymeetsworld
Coy Sanders
@coymeetsworld
Aug 10 2017 02:06
no 2 for loops are ok
still trying to figure out right answer myself
but basically when you get to those subarrays you want to take the first element and make that the property name of the object, and the second element the value
and another thing, looks like you need to return an array of objects
not an object
Albert Cardona II
@daddycardona
Aug 10 2017 02:08
coy wouldn't she want to use keys
Coy Sanders
@coymeetsworld
Aug 10 2017 02:08
property name is a key
Albert Cardona II
@daddycardona
Aug 10 2017 02:08
okay :)
juni
@junipberry
Aug 10 2017 02:14

understood, abt returning an array of objects.
Should I tweak it to smtg like:

myObj[array[i][j][0]]=array[i][j][1];

@coymeetsworld

Coy Sanders
@coymeetsworld
Aug 10 2017 02:14
yes that looks much better
that will create the object, but you still need to add them into an array and return the array
juni
@junipberry
Aug 10 2017 02:17
should I push it into an array afterwards?
Coy Sanders
@coymeetsworld
Aug 10 2017 02:17
yep
Nnenanya Chinedu
@Manpee
Aug 10 2017 02:18
OK have got it @daddycardona, thanks
CamperBot
@camperbot
Aug 10 2017 02:18
manpee sends brownie points to @daddycardona :sparkles: :thumbsup: :sparkles:
:cookie: 307 | @daddycardona |http://www.freecodecamp.com/daddycardona
Albert Cardona II
@daddycardona
Aug 10 2017 02:18
you welcome brother ;)
Long Nguyen
@longnt80
Aug 10 2017 02:26
not quite
Coy Sanders
@coymeetsworld
Aug 10 2017 02:26
@longnt80 don't provide answers please, she got most of it already
Long Nguyen
@longnt80
Aug 10 2017 02:26
@coymeetsworld it's not completed
Coy Sanders
@coymeetsworld
Aug 10 2017 02:27
still, you shouldn't be giving answers like that even if it requires one line change
Long Nguyen
@longnt80
Aug 10 2017 02:28
it's mostly similar to hers
no spoiler
Coy Sanders
@coymeetsworld
Aug 10 2017 02:29
I'm not sure what the point is, you're not explaining anything, just blurting out part of an answer
she didnt ask anyone to solve the problem she asked for help
Long Nguyen
@longnt80
Aug 10 2017 02:30
I'm trying to solve it as well
juni
@junipberry
Aug 10 2017 02:30
ty, I’m taking a look and comparing it with what I have
Coy Sanders
@coymeetsworld
Aug 10 2017 02:30
and giving her an answer
your for loops are fine @junipberry, you don't need to do it the way he's proposing w/ that temporary object
Long Nguyen
@longnt80
Aug 10 2017 02:31
@coymeetsworld did you take a look at my repl? it's not the answer man
Coy Sanders
@coymeetsworld
Aug 10 2017 02:31
I understand that, because you don't have it right
Long Nguyen
@longnt80
Aug 10 2017 02:32
I didn't say it's the answer
please don't be dramatic
I'm doing it as well
Coy Sanders
@coymeetsworld
Aug 10 2017 02:32
yes and what if you solve it? you're going to post the solution?
the person you help doesn't learn then
now shes going to waste time looking at your answer even though she's further along
Long Nguyen
@longnt80
Aug 10 2017 02:33
well, if you know me, I never just give the answer
juni
@junipberry
Aug 10 2017 02:33
ok @coymeetsworld ..I’m just trying to see if there is a part I overlooked and what I should fix at this point
Long Nguyen
@longnt80
Aug 10 2017 02:33
but you just keep assuming and pick a fight with me
just stop it
Coy Sanders
@coymeetsworld
Aug 10 2017 02:34
@longnt80 then your answer was pointless, but I'm done w/ you anyways
Long Nguyen
@longnt80
Aug 10 2017 02:34
please
Coy Sanders
@coymeetsworld
Aug 10 2017 02:34
@junipberry I didn't see your updated solution, but my guess is you just need to create an array and push your objects in, like you suggested before
juni
@junipberry
Aug 10 2017 02:36
ok, I’ll post my updated here soon~
just feel a little confused atm.. just give me a few mins to get this sorted
Coy Sanders
@coymeetsworld
Aug 10 2017 02:37
ok, I think you were on the right track
juni
@junipberry
Aug 10 2017 02:42
yikes, I have this..
function transformEmployeeData(array) {
  let myArr= [];
  let myObj= {};
  let myLgth= array.length;

  for (let i=0; i<myLgth; i++){
    for (let j=0; j<array[i].length; j++){
      myObj[array[i][j][0]]=array[i][j][1];
      myObj.push(array[i][j][n]);
  }
  }
  return myArr;

}
Margaret
@Margaret2
Aug 10 2017 02:42
@coymeetsworld come on man, don't pick a fight, that guy hasn't been doing anything wrong
juni
@junipberry
Aug 10 2017 02:43
@coymeetsworld
Coy Sanders
@coymeetsworld
Aug 10 2017 02:44
myObj.push(array[i][j][n]); this needs to be fixed and moved @junipberry
you want to push into the array, object I don't believe has a push method
juni
@junipberry
Aug 10 2017 02:46
right, it doesn’t
lol oops
Long Nguyen
@longnt80
Aug 10 2017 02:48
@junipberry what is n?
juni
@junipberry
Aug 10 2017 02:50
I meant it to be a placeholder for a continuance of other sub arrays ..
is it weird i did that?
Long Nguyen
@longnt80
Aug 10 2017 02:50
it's ok, i thought i was missing something
Coy Sanders
@coymeetsworld
Aug 10 2017 02:50
n isn't defined @junipberry so yeah it won't work
but you don't really want to push array in anyways, you want to push the object you created (myObj) into the array you also created (myArr)
Long Nguyen
@longnt80
Aug 10 2017 02:53
and you want to declare the object myObj inside the first loop, otherwise you'll overide myObjand get the same object like my example above
@junipberry
so something like this:
function transformEmployeeData(array) {
  let myArr= [];
  let myLgth= array.length;

  for (let i=0; i<myLgth; i++){
      let myObj= {};

    for (let j=0; j<array[i].length; j++){
      myObj[array[i][j][0]]=array[i][j][1];
      myObj.push(array[i][j][n]);
  }
  }
  return myArr;

}
juni
@junipberry
Aug 10 2017 02:56
ohh it overrides..
ok I guess I can do that
Manish Giri
@Manish-Giri
Aug 10 2017 02:57
@junipberry is that from hackreactor module 0?
juni
@junipberry
Aug 10 2017 02:57
yes it is @Manish-Giri :)
Manish Giri
@Manish-Giri
Aug 10 2017 02:57
cool
Claudio Restifo
@Marmiz
Aug 10 2017 02:58
@Manish-Giri the knows them all!! o.o
juni
@junipberry
Aug 10 2017 02:58
did you do it?
its seems to be a nice prep
Manish Giri
@Manish-Giri
Aug 10 2017 02:59
@Marmiz lol
@junipberry yeah I'm close to finishing module 1
juni
@junipberry
Aug 10 2017 03:00
ohh nice!
I can’t wait to get to module 1
is module 0 supposed to be taking me this long
Claudio Restifo
@Marmiz
Aug 10 2017 03:00
@junipberry well you'll use something like that in real life too :3
better learn how to do it ^^
Manish Giri
@Manish-Giri
Aug 10 2017 03:00
module 0 is somewhat time taking
so it's fine
juni
@junipberry
Aug 10 2017 03:01
I’ve been on this since yesterday.. feel like a snail
Long Nguyen
@longnt80
Aug 10 2017 03:01
is it free?
Manish Giri
@Manish-Giri
Aug 10 2017 03:02
yes
Albert Cardona II
@daddycardona
Aug 10 2017 03:02
I need help. I am trying to make my navbar with bootstrap 4, not have any transparency any ideas how
juni
@junipberry
Aug 10 2017 03:02
the general version is free but the premium version is paid. You just need to sign up.
Claudio Restifo
@Marmiz
Aug 10 2017 03:02
@junipberry If I may, have you console.log some values in the loop to see the output?
juni
@junipberry
Aug 10 2017 03:02
@Manish-Giri , can you help me~~
Manish Giri
@Manish-Giri
Aug 10 2017 03:03
@junipberry yup
what's up
juni
@junipberry
Aug 10 2017 03:03
I’m still stuck lol
Long Nguyen
@longnt80
Aug 10 2017 03:03
@junipberry I got it working but not sure if you want to see the outcome
or just want the hint
Manish Giri
@Manish-Giri
Aug 10 2017 03:03
@junipberry can you PM me?
easier to explain
Claudio Restifo
@Marmiz
Aug 10 2017 03:03

@daddycardona

not have any transparency any ideas how

What you mean with that?

juni
@junipberry
Aug 10 2017 03:03
sure, ty @Manish-Giri
CamperBot
@camperbot
Aug 10 2017 03:03
junipberry sends brownie points to @manish-giri :sparkles: :thumbsup: :sparkles:
:star2: 6392 | @manish-giri |http://www.freecodecamp.com/manish-giri
juni
@junipberry
Aug 10 2017 03:04
ohh @longnt80 , sure any help is appreciated :) ty!
CamperBot
@camperbot
Aug 10 2017 03:04
junipberry sends brownie points to @longnt80 :sparkles: :thumbsup: :sparkles:
:cookie: 489 | @longnt80 |http://www.freecodecamp.com/longnt80
Albert Cardona II
@daddycardona
Aug 10 2017 03:04
I am trying to make it not be so transparent because it is ugly lol
Long Nguyen
@longnt80
Aug 10 2017 03:04
@junipberry only a few things different from yours
Claudio Restifo
@Marmiz
Aug 10 2017 03:04
@Manish-Giri PM the solution as well, I did the exact same thing as that yesterday with Immutable and a HOC.
Flatten an array of data to produce a regoular object for my dumb component to use ^^
I want to judge your solution ^^
Long Nguyen
@longnt80
Aug 10 2017 03:05
https://repl.it/J9zr/18 spoiler ofcourse @junipberry
Kyle Holm
@thekholm80
Aug 10 2017 03:05

let us know what he scores!

I want to judge your solution

Claudio Restifo
@Marmiz
Aug 10 2017 03:05
@thekholm80 :clap: :clap:
Manish Giri
@Manish-Giri
Aug 10 2017 03:05
uh
pm the solution to what?
transform employee data?
Kyle Holm
@thekholm80
Aug 10 2017 03:06
life, the universe, everything
Manish Giri
@Manish-Giri
Aug 10 2017 03:06
lol
Long Nguyen
@longnt80
Aug 10 2017 03:06
This message was deleted
Claudio Restifo
@Marmiz
Aug 10 2017 03:07

@daddycardona your nav has no colour, you can simply:

.nav {
background-color: lime
}

To see it changing

Albert Cardona II
@daddycardona
Aug 10 2017 03:10
okay
yes but if you do that with white it does not work I want it to be white
Long Nguyen
@longnt80
Aug 10 2017 03:11
@daddycardona background-color: white?
Albert Cardona II
@daddycardona
Aug 10 2017 03:12
if you read what i said that dont work
Long Nguyen
@longnt80
Aug 10 2017 03:12
@daddycardona what do you want to achieve?
Claudio Restifo
@Marmiz
Aug 10 2017 03:12
@daddycardona your body is white, you set the nav white... seems like it's not working...they just have the same colour
Albert Cardona II
@daddycardona
Aug 10 2017 03:13
white background
according to what i am seeing is when u scroll down it is transparent why bg-white ddnt work either
if you scroll down im trying to have my navbar stay white
Claudio Restifo
@Marmiz
Aug 10 2017 03:17
@daddycardona my bad, in v3 BS still transfer a nav class to the nav elements... apparently not anymore in v4.
Change from
.nav to nav in your CSS
selecting the wrong target
Albert Cardona II
@daddycardona
Aug 10 2017 03:18
let us try v4 is a pain in my ass lol
Claudio Restifo
@Marmiz
Aug 10 2017 03:18
@Manish-Giri @thekholm80 you cool kidz knows a tool to test space-time complexity in JS?
kinda like valgrind for C?
Albert Cardona II
@daddycardona
Aug 10 2017 03:19
thanks @Marmiz that did it brother
CamperBot
@camperbot
Aug 10 2017 03:19
daddycardona sends brownie points to @marmiz :sparkles: :thumbsup: :sparkles:
:star2: 1016 | @marmiz |http://www.freecodecamp.com/marmiz
Albert Cardona II
@daddycardona
Aug 10 2017 03:19
I did the same thing I kept putting the .nav shit lmao
Kyle Holm
@thekholm80
Aug 10 2017 03:20
@Marmiz I think Spock used Red Matter for space-time stuff
@Marmiz valgrind is for memory management?
Albert Cardona II
@daddycardona
Aug 10 2017 03:23
well now I am just trying to center the bottom again lol I deleted that section becaues with bootstrap4 it just stop working
never mind I just forgot to put text-align:center; again that was easy lol
Claudio Restifo
@Marmiz
Aug 10 2017 03:30
@thekholm80 yep, but you can write custom function to track the execution time, add that with the memory used and you can have a decent idea
Kyle Holm
@thekholm80
Aug 10 2017 03:30
@Marmiz interesting. I haven't dipped my toe into that end of node yet
sorry
Claudio Restifo
@Marmiz
Aug 10 2017 03:31
@thekholm80 np, thanks anyway <3
CamperBot
@camperbot
Aug 10 2017 03:31
marmiz sends brownie points to @thekholm80 :sparkles: :thumbsup: :sparkles:
:star2: 1436 | @thekholm80 |http://www.freecodecamp.com/thekholm80
Sydney
@SydneyWarren
Aug 10 2017 03:43
can someone tell me what react, angular, node.js, and vanilla
are these frameworks?
Kyle Holm
@thekholm80
Aug 10 2017 03:44
react and angular are frameworks
node is an environment
Sydney
@SydneyWarren
Aug 10 2017 03:44
so what is a framework?
Kyle Holm
@thekholm80
Aug 10 2017 03:44
a way of building sites
Sydney
@SydneyWarren
Aug 10 2017 03:45
so to use a framework do you put a syntax in the html tab?
Kyle Holm
@thekholm80
Aug 10 2017 03:45
frameworks generally require a lot of different things to get working
for example, react requires at a minimum babel as a pre-processor, along with the react libraries
but the ecosystem grows exponentially as your site complexity grows
Sydney
@SydneyWarren
Aug 10 2017 03:47
sorry i dont know what babel is
as i'm completing freecodecamps challenges and reading on my own there's a lot im understand but there's still a lot of empty holes
Kyle Holm
@thekholm80
Aug 10 2017 03:48
yeah
Long Nguyen
@longnt80
Aug 10 2017 03:48
@SydneyWarren babel is a tool to translate syntax
Kyle Holm
@thekholm80
Aug 10 2017 03:49
once you finish the front end certification you'll be spending a lot of time learning on your own
Sydney
@SydneyWarren
Aug 10 2017 03:49
a browser
is babel a browser?
Long Nguyen
@longnt80
Aug 10 2017 03:49
@SydneyWarren no
Kyle Holm
@thekholm80
Aug 10 2017 03:50
nope, it's a transpiler. it takes the code you write and changes it into another syntax
Sydney
@SydneyWarren
Aug 10 2017 03:50
oh ok so this is the step before it goes to the browser
Kyle Holm
@thekholm80
Aug 10 2017 03:50
yep
Long Nguyen
@longnt80
Aug 10 2017 03:51
@SydneyWarren if you're a beginner, don't worry about framework, babel yet. You'll meet it at some point later when you're ready
Sydney
@SydneyWarren
Aug 10 2017 03:51
ok so i should fully understand loops, functions, call back, methods etc?
Long Nguyen
@longnt80
Aug 10 2017 03:52
yes, that's the basics
I finished the front end cert and I still couldn't understand many js concepts like callback, closure,..
it takes time
Anthony DeSordi
@desordi3
Aug 10 2017 04:14
Anybody finding that fcc is just good for suppyling the projects we should be adding to our portfolio? treehouse has been awesome actually explaining concepts in their videos
Long Nguyen
@longnt80
Aug 10 2017 04:17
@desordi3 I haven't tried treehouse but yeah, freecodecamp only introduce the concepts mostly
I guess the difference is free vs paid?
Albert Cardona II
@daddycardona
Aug 10 2017 04:20
can you embed your project on codepen? or is that just pens?
Long Nguyen
@longnt80
Aug 10 2017 04:21
@daddycardona what do you mean?
Albert Cardona II
@daddycardona
Aug 10 2017 04:21
I see that you can embed a pen I am trying to figure a way to embed my project using code pen
Manish Giri
@Manish-Giri
Aug 10 2017 04:22

@SydneyWarren you don't need to understand everything to learn how to use babel, or what babel is.
As Kyle mentioned earlier, Babel simply helps you write the latest code that automatically gets transpiled into the older, more stable version that is implemented across all browsers.

Just head to https://babeljs.io/repl/ and try things out

like if you write this in the left column - Math.max(...[2,4,1])
Albert Cardona II
@daddycardona
Aug 10 2017 04:22
Manish Giri
@Manish-Giri
Aug 10 2017 04:22
@SydneyWarren you'll see the code transpiled by babel as
Math.max.apply(Math, [2, 4, 1]);
Albert Cardona II
@daddycardona
Aug 10 2017 04:23
look at the project and pens section
Kyle Holm
@thekholm80
Aug 10 2017 04:23
@daddycardona <iframe> lets you render a web page inside a page
Manish Giri
@Manish-Giri
Aug 10 2017 04:23
because the spread operator ... may not be supported across older version of certain browsers
Sydney
@SydneyWarren
Aug 10 2017 04:23
@Manish-Giri ok i see
Kyle Holm
@thekholm80
Aug 10 2017 04:24
@SydneyWarren most of that stuff you would pick up as you went along, if you decided to learn React
Albert Cardona II
@daddycardona
Aug 10 2017 04:24
@thekholm80 I know but I wanted them all to be even and <i frame> is a little different.
Manish Giri
@Manish-Giri
Aug 10 2017 04:24
react is awesome
Kyle Holm
@thekholm80
Aug 10 2017 04:24
i agree
Manish Giri
@Manish-Giri
Aug 10 2017 04:24
definitely plan to learn it sometime @SydneyWarren
Albert Cardona II
@daddycardona
Aug 10 2017 04:24
They should of had us made our project then make the tribute page
Sydney
@SydneyWarren
Aug 10 2017 04:25
so => syntax will be used in place of function (){}
Albert Cardona II
@daddycardona
Aug 10 2017 04:25
as a pen
Sydney
@SydneyWarren
Aug 10 2017 04:25
with babel?
Kyle Holm
@thekholm80
Aug 10 2017 04:25
@SydneyWarren other way around
Sydney
@SydneyWarren
Aug 10 2017 04:25
oh ok
Manish Giri
@Manish-Giri
Aug 10 2017 04:25
@SydneyWarren let a = (b) => c;
Kyle Holm
@thekholm80
Aug 10 2017 04:26
you can write () => {} and babel will change it to function () {}
Manish Giri
@Manish-Giri
Aug 10 2017 04:26
if you write that
babel will produce
var a = function a(b) {
  return c;
};
prolly not the best example, but you get the idea
Ravi Kishore Thella
@ravikishorethella
Aug 10 2017 04:27
@Manish-Giri @thekholm80 :wave:
Kyle Holm
@thekholm80
Aug 10 2017 04:27
but most importantly for React, you can use JSX inside your JavaScript (which looks just like html) and babel will turn the JSX into html
@ravikishorethella hey buddy, how's things?
Manish Giri
@Manish-Giri
Aug 10 2017 04:27
@ravikishorethella :wave:
Ravi Kishore Thella
@ravikishorethella
Aug 10 2017 04:27
going through kyle simpson's deep foundation course
Kyle Holm
@thekholm80
Aug 10 2017 04:28
oh man
you're going to be a JS grand master
Ravi Kishore Thella
@ravikishorethella
Aug 10 2017 04:28
everything is perfectly fine except this modules pattern thing :worried:
Manish Giri
@Manish-Giri
Aug 10 2017 04:28
I've asked a Kyle Holm to make me a course
wonder how thats going
Ravi Kishore Thella
@ravikishorethella
Aug 10 2017 04:28
:smile:
Ai rui 艾瑞
@aisolae
Aug 10 2017 04:29
hi
Ravi Kishore Thella
@ravikishorethella
Aug 10 2017 04:29
hello
Ai rui 艾瑞
@aisolae
Aug 10 2017 04:29
does anyone know what's wrong with my code
$(document).ready(function(){
$('div').mouseenter(function() {
$('div').fadeTo('fast', 1);
});
});
it's javascript
Kyle Holm
@thekholm80
Aug 10 2017 04:29
the only thing i know is GWBasic, is that okay @Manish-Giri ?
10 Print 'Hello'
20 GOTO 10
Manish Giri
@Manish-Giri
Aug 10 2017 04:29
what is GW eh
Albert Cardona II
@daddycardona
Aug 10 2017 04:30
grand wizard lol
Ai rui 艾瑞
@aisolae
Aug 10 2017 04:30
yeah
tha'ts like the almight basic coding language
use to love it till i fell for networking
now am back to coding
Kyle Holm
@thekholm80
Aug 10 2017 04:31
my first computer ran on BASIC
it was fun
Manish Giri
@Manish-Giri
Aug 10 2017 04:31
my first computer ran on electricity
Claudio Restifo
@Marmiz
Aug 10 2017 04:32
@aisolae fade to 1 opacity?
Ai rui 艾瑞
@aisolae
Aug 10 2017 04:32
yeah, got it
thanks
Manish Giri
@Manish-Giri
Aug 10 2017 04:32
:trollface:
Kyle Holm
@thekholm80
Aug 10 2017 04:32
@Manish-Giri you had one of them fancy computers
Ai rui 艾瑞
@aisolae
Aug 10 2017 04:32
i had to use fadeto ('fast', 100)
Manish Giri
@Manish-Giri
Aug 10 2017 04:32
lol
Albert Cardona II
@daddycardona
Aug 10 2017 04:32
qbasic and and gorilla :)
Luke Miller
@dalumiller
Aug 10 2017 04:34
Hey, I'm working on the javascript calculator project and trying to build the calculator out of svg. I've never worked with SVG though, and am wondering if anyone knows if, and how, to stack svg images using codepen. Thanks!
nevermind, got the answer
Anthony DeSordi
@desordi3
Aug 10 2017 04:37
@longnt80 Yeah treehouse is subscription base so it makes sense that treehouse would be more in depth
Albert Cardona II
@daddycardona
Aug 10 2017 04:37
@dalumiller I forgot about it lol
are you learning more from tree house than here
@desordi3
Luke Miller
@dalumiller
Aug 10 2017 04:40
@daddycardona Nah, just started this challenge and googled "how do i make graphics using html/css" and found svg
Anthony DeSordi
@desordi3
Aug 10 2017 04:42
@daddycardona i feel like the fcc ommunity and the projects are what makes FCC so good
where as with treehouse you definitely get a full and detailed explanation of the concepts and why you are doing certain things, which is what i need as a beginner
Albert Cardona II
@daddycardona
Aug 10 2017 04:46
Oh okay I wanted to try treehouse and I am a semi / a little more than a beginner lol
Ai rui 艾瑞
@aisolae
Aug 10 2017 04:46
mates
is there anything wrong here
$(document).ready(function(){
$('div').mouseenter(function() {
$('div').fadeTo('fast', 100);
});
$('div').mouseleave(function() {
$('div').fadeTo('fast', 0.5);
});
});
Albert Cardona II
@daddycardona
Aug 10 2017 04:47
$(document).ready(function(){
    $('div').mouseenter(function() {
        $('div').fadeTo('fast', 100);
    });
   $('div').mouseleave(function() {
    $('div').fadeTo('fast', 0.5);
   });
});
Anthony DeSordi
@desordi3
Aug 10 2017 04:54
i would say so far for $25 a month its more than worth it
Albert Cardona II
@daddycardona
Aug 10 2017 04:56
oh okay ;)
sorry @aisolae I don't use these functions that much just double checking some stuff are you doing something on a enn?
pen
so @desordi3 do you think in 6 weeks you will be ready to be a front end developer with tree house like the commercial on youtube
Anthony DeSordi
@desordi3
Aug 10 2017 05:02
Haha i’ve seen those too. I think starting fresh without any previous experience no way.
Lets say you had a CS degree with some previous coding experience and powered like 2-3 of the tracks in 6 weeks? Then maybe
Long Nguyen
@longnt80
Aug 10 2017 05:04
@daddycardona for front end, the difficult thing is css
easy to learn but hard to master
Albert Cardona II
@daddycardona
Aug 10 2017 05:04
yeah because they keep changing it lol
Long Nguyen
@longnt80
Aug 10 2017 05:04
yeah, with more devices nowadays too
Albert Cardona II
@daddycardona
Aug 10 2017 05:05
@desordi3 i see @longnt80 tell me about it tech bastards lol
Long Nguyen
@longnt80
Aug 10 2017 05:07
@daddycardona before, you only have to worry about IE6 and the computer's screen
now, mobile, retina, fridge, resolutions,.. :D
and bunches of browsers
Albert Cardona II
@daddycardona
Aug 10 2017 05:07
I know and then you have to use every new thing out there for security
i remember when it was netscape and ie n browsers yahoo and alter vista
the web crowler came out and ask jeevs
then* @longnt80
Long Nguyen
@longnt80
Aug 10 2017 05:12
yeah, the old days :D
Albert Cardona II
@daddycardona
Aug 10 2017 05:12
css was wow
Darren
@DarrenfJ
Aug 10 2017 05:41
evening fCC
@desordi3 agreed, really liked the treehouse vids, if you have the cash
RiseOfHaxers
@RiseOfHaxers
Aug 10 2017 05:46
Hello
Darren
@DarrenfJ
Aug 10 2017 05:46
@RiseOfHaxers hey man, how goes it?
RiseOfHaxers
@RiseOfHaxers
Aug 10 2017 05:48
@DarrenfJ Been a long time, I have progressed as a programmer with learning Python and Java and i think im back to web now
Darren
@DarrenfJ
Aug 10 2017 05:48
coolCool
:D
Nazar Maksymchuk
@MANTENN
Aug 10 2017 07:46
Should I finish front end developer or skip to backend developer
Lauri Välja
@OFFLlNE
Aug 10 2017 07:52
@MANTENN depends what your goal is :D
Tiago Correia
@tiagocorreiaalmeida
Aug 10 2017 08:05
can someone look into my pen? https://codepen.io/tiagocorreia/full/VzKxeb/
I set 50% for each of those divs
image.png
but seems I can't make it work
Lauri Välja
@OFFLlNE
Aug 10 2017 08:05
what seems to be the problem? displays a 3x3 to me
Tiago Correia
@tiagocorreiaalmeida
Aug 10 2017 08:06
I mean
the div
palyxer x and player 0
I want to make it in 1 line 50% each of the divs
Lauri Välja
@OFFLlNE
Aug 10 2017 08:12
throw display:inline to those divs and should give you some expected results
Tiago Correia
@tiagocorreiaalmeida
Aug 10 2017 08:12
i got
display: inline-block;
width: 50%;
doesnt work
hum
Javi Ferré
@CurrentDate
Aug 10 2017 08:13
@tiagocorreiaalmeida display: inline; instead inline-block?
Tiago Correia
@tiagocorreiaalmeida
Aug 10 2017 08:14
fuck me nm and thanks
thanks @OFFLlNE and @CurrentDate
CamperBot
@camperbot
Aug 10 2017 08:14
tiagocorreiaalmeida sends brownie points to @offllne and @currentdate :sparkles: :thumbsup: :sparkles:
:star2: 1063 | @offllne |http://www.freecodecamp.com/offllne
:cookie: 2 | @currentdate |http://www.freecodecamp.com/currentdate
Tiago Correia
@tiagocorreiaalmeida
Aug 10 2017 08:22
https://codepen.io/tiagocorreia/full/VzKxeb/ when I choose 1 player or two how can I hide that "flip" animation between hidding 1 div and showing another?
@OFFLlNE another question if i want to use the background-color and use the full div width on that I can't use display:inline right?
Lauri Välja
@OFFLlNE
Aug 10 2017 08:31
I guess, just test around and see :D Trial and error is always one of the best approaches
Tiago Correia
@tiagocorreiaalmeida
Aug 10 2017 08:33
@OFFLlNE about that flip when I choose 1 player or two I can't find a way of hidding that animation you got any idea?eheh
Rishabh Kashyap
@iamrkcheers
Aug 10 2017 08:33
@daddycardona yeah no I figured it out. Thanks.
CamperBot
@camperbot
Aug 10 2017 08:33
iamrkcheers sends brownie points to @daddycardona :sparkles: :thumbsup: :sparkles:
:cookie: 308 | @daddycardona |http://www.freecodecamp.com/daddycardona
Rishabh Kashyap
@iamrkcheers
Aug 10 2017 08:37
I have a 'for' loop where 'i' varies from 0 to 4. However, I want to print the values from 1 to 0 ie '1 for i = 0', '2 for i = 1' ... '0 for i = 4'.
Can't seem to figure it out. Does anyone know how ?
Thanks.
Tiago Correia
@tiagocorreiaalmeida
Aug 10 2017 08:38
paste your code if possible @iamrkcheers
Pieter Stokkink
@forkerino
Aug 10 2017 08:55
@iamrkcheers you can use % to loop around (if it is only going to 4 do something like (i + 1) % 4
Rishabh Kashyap
@iamrkcheers
Aug 10 2017 09:19
@forkerino ohh .. thats it, that is what I was looking for.
Thanks.
CamperBot
@camperbot
Aug 10 2017 09:19
iamrkcheers sends brownie points to @forkerino :sparkles: :thumbsup: :sparkles:
:star2: 2920 | @forkerino |http://www.freecodecamp.com/forkerino
bambooch
@bambooch
Aug 10 2017 12:09
Hello people :) I've been exploring the CSS on the Random Quote Machine model page and came across this &:hover {opacity: 0.9}. I'm aware of what this does but I'm not quite getting the point of &. Couldn't find it searching the net also and its really bugging me :)
anyone have an idea?
MrWang
@IceFireSages
Aug 10 2017 12:13

C:\Users\YC>react-native init FirstApp
prompt: Directory FirstApp already exists. Continue?: (no)
Project initialization canceled

C:\Users\YC>react-native init FirstAppo
This will walk you through creating a new React Native project in C:\Users\YC\FirstAppo
'yarn' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���
Installing react-native...
Consider installing yarn to make this faster: https://yarnpkg.com
npm ERR! Unexpected end of input at 1:26551
npm ERR! ao.org/react-native/download/react-native-0.46.2.tgz"},"engines":{"no
npm ERR! ^

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\YC\AppData\Roaming\npm-cache_logs\2017-08-10T11_47_52_994Z-debug.log
{ Error: Command failed: npm install --save --save-exact react-native
at checkExecSyncError (child_process.js:591:13)
at execSync (child_process.js:631:13)
at run (C:\Users\YC\AppData\Roaming\npm\node_modules\react-native-cli\index.js:294:5)
at createProject (C:\Users\YC\AppData\Roaming\npm\node_modules\react-native-cli\index.js:249:3)
at init (C:\Users\YC\AppData\Roaming\npm\node_modules\react-native-cli\index.js:200:5)
at Object.<anonymous> (C:\Users\YC\AppData\Roaming\npm\node_modules\react-native-cli\index.js:153:7)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
error: null,
cmd: 'npm install --save --save-exact react-native',
file: 'C:\WINDOWS\system32\cmd.exe',
args:
[ 'C:\WINDOWS\system32\cmd.exe',
'/d',
'/s',
'/c',
'"npm install --save --save-exact react-native"' ],
options:
{ stdio: [ [Object], [Object], [Object] ],
shell: true,
windowsVerbatimArguments: true,
file: 'C:\WINDOWS\system32\cmd.exe',
args:
[ 'C:\WINDOWS\system32\cmd.exe',
'/d',
'/s',
'/c',
'"npm install --save --save-exact react-native"' ],
envPairs:
[ 'ADB=E:\develop\SDK\platform-tools',
'ALLUSERSPROFILE=C:\ProgramData',
'ANDROID_HOME=E:\develop\SDK',
'APPDATA=C:\Users\YC\AppData\Roaming',
'CommonProgramFiles=C:\Program Files\Common Files',
'CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files',
'CommonProgramW6432=C:\Program Files\Common Files',
'COMPUTERNAME=WZM',
'ComSpec=C:\WINDOWS\system32\cmd.exe',
'HOMEDRIVE=C:',
'HOMEPATH=\Users\YC',
'JAVA_HOME=F:\DevelopTool\java',
'LOCALAPPDATA=C:\Users\YC\AppData\Local',
'LOGONSERVER=\\WZM',
'MOZ_PLUGIN_PATH=E:\基本工具\pdf\Foxit PhantomPDF\plugins\',
'NUMBER_OF_PROCESSORS=4',
'OneDrive=C:\Users\YC\OneDrive',
'OS=Windows_NT',
'Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;F:\DevelopTool\java\bin;E:\develop\SDK\platform-tools;F:\DevelopTool\svnSERVER\bin;F:\DevelopTool\svnSERVER\khd\bin;F:\DevelopTool\mySQL\bin;E:\develop\android-studio;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;F:\Tools\Git\cmd;F:\Tools\node\;C:\Users\YC\AppData\Local\Microsoft\WindowsApps;C:\Users\YC\AppData\Roaming\npm',
'PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JSE;.WSF;.WSH;.MSC',
'PROCESSOR_ARCHITECTURE=AMD64',
'PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel',
'PROCESSOR_LEVEL=6',
'PROCESSOR_REVISION=3a09',
'ProgramData=C:\ProgramData',
'ProgramFiles=C:\Program Files',
'ProgramFiles(x86)=C:\Program Files (x86)',
'ProgramW6432=C:\Program Files',
'PROMPT=$P$G',
'PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules',
'PUBLIC=C:\Users\Public'

why
heroiczero
@heroiczero
Aug 10 2017 12:21
@bambooch probably SCSS syntax
bambooch
@bambooch
Aug 10 2017 12:25
yup, just found with a bit more search
it has something to do with nesting, apparently it's accesses the parent selector so you don't have to write it all
thanks for the reply
Rishabh Kashyap
@iamrkcheers
Aug 10 2017 12:46

I want '4' and the last '6' in my array 'array'. Why isn't this happening ?

var array = [4,6,6].filter(function(val){
      if ([4,6,6].indexOf(val) + 1 == [4,6,6].length)
        return true;
      return [4,6,6][[4,6,6].indexOf(val) + 1] != val;
    });
console.log(array);

Thanks.

Ben said
@BenSaidRachid
Aug 10 2017 12:46
hi all,i'm trying to make a box recipe,i'm stuck,can someone point me to the right direction? https://codepen.io/abdel974/pen/JyNORO?editors=1010
Dylan
@dhcodes
Aug 10 2017 13:04
@abdel974 looks like you're on the right track
most people have the Add Recipe open a modal with form inputs for name of the recipe, ingredients (turned into an array) and directions
then this becomes a new div styled in some way
Ben said
@BenSaidRachid
Aug 10 2017 13:07
@dhcodes i don't know what to do now...i don't know how to insert my modal nor how to interact with other compenent https://codepen.io/abdel974/pen/BZVKxR?editors=0010 this what my first box recipe, without react, it was almost finished
Dylan
@dhcodes
Aug 10 2017 13:08
@abdel974 have you done much with react?
if not, I recommend doing fcc's alpha challenges for react
they are pretty good
Ben said
@BenSaidRachid
Aug 10 2017 13:13
@dhcodes thanks i will do it, i've actually already watch react tutorial videos, but it seems it isn't enough
CamperBot
@camperbot
Aug 10 2017 13:13
abdel974 sends brownie points to @dhcodes :sparkles: :thumbsup: :sparkles:
:star2: 1822 | @dhcodes |http://www.freecodecamp.com/dhcodes
Seah Eng Chye
@Seahchye
Aug 10 2017 13:14
Hi all
blob
It shows here that the function is not defined
can you help me spot the mistake?
madhuri soni
@sonimadhuri
Aug 10 2017 13:31
@Seahchye can you paste the full code
Lauri Välja
@OFFLlNE
Aug 10 2017 13:31
or what is it told for you to do
Seah Eng Chye
@Seahchye
Aug 10 2017 13:32
blob
Dylan
@dhcodes
Aug 10 2017 13:32
@Seahchye is it supposed to be Hi World!
Seah Eng Chye
@Seahchye
Aug 10 2017 13:32
Its for functions under Java
Dylan
@dhcodes
Aug 10 2017 13:32
I forget
nvm
Seah Eng Chye
@Seahchye
Aug 10 2017 13:33
blob
Dylan
@dhcodes
Aug 10 2017 13:33
@Seahchye you have a spelling mistake
no big
reusable
not reuseable
Seah Eng Chye
@Seahchye
Aug 10 2017 13:34
ahh...British English here haha
Dylan
@dhcodes
Aug 10 2017 13:34
yeah; colour vs color amiright?
lol
Seah Eng Chye
@Seahchye
Aug 10 2017 13:34
thanks @dhcodes
CamperBot
@camperbot
Aug 10 2017 13:34
seahchye sends brownie points to @dhcodes :sparkles: :thumbsup: :sparkles:
:star2: 1823 | @dhcodes |http://www.freecodecamp.com/dhcodes
Lauri Välja
@OFFLlNE
Aug 10 2017 13:35
is there actually a word reuseable? :D
Seah Eng Chye
@Seahchye
Aug 10 2017 13:35
yep thats right
yes British English
Lauri Välja
@OFFLlNE
Aug 10 2017 13:35
I doubt it, google has nothing with reuseable
Seah Eng Chye
@Seahchye
Aug 10 2017 13:37
ops~
see "or"
usable or reuseable
Lauri Välja
@OFFLlNE
Aug 10 2017 13:40
hmm.. some fancy websites you got going there :D Backdoor level stuff :D
Dylan
@dhcodes
Aug 10 2017 13:41
lol wut
Seah Eng Chye
@Seahchye
Aug 10 2017 13:47
Haha
Adebayo olamijin
@olamijinadebayo
Aug 10 2017 14:02
how do i write a function to pick element by attribute in d DOM
Adam Recvlohe
@arecvlohe
Aug 10 2017 14:19
@olamijinadebayo It’s not too hard
function getElement(id) {
  return document.getElementById(id)
}
But you said by attribute
document.findElementByAttribute(attribute, value)
Adebayo olamijin
@olamijinadebayo
Aug 10 2017 14:21
@arecvlohe i mean attribute not id.
Gulsvi
@gulsvi
Aug 10 2017 14:26
@olamijinadebayo We can use document.querySelectorAll:
function findElementByAttribute(attribute) {
  return document.querySelectorAll('[' + attribute + ']');
}
Adam Recvlohe
@arecvlohe
Aug 10 2017 14:27
I think so but not sure
try it out, see what happens
Adebayo olamijin
@olamijinadebayo
Aug 10 2017 14:27
ok leeme try it out
Adam Recvlohe
@arecvlohe
Aug 10 2017 14:28
that’s better since you don’t need to get it based on value
nice
Gulsvi
@gulsvi
Aug 10 2017 14:29
if you want attribute + value, then do:
function findElementByAttribute(attribute, value) {
  return document.querySelectorAll('[' + attribute + '="' + value + '"]');
}
Darren
@DarrenfJ
Aug 10 2017 14:49
morning fCC
Dylan
@dhcodes
Aug 10 2017 14:51
morning
and i'm gone
Darren
@DarrenfJ
Aug 10 2017 14:53
@OFFLlNE reuse came into vogue with the 3 R's as an effort to lower garbage sent to landfills... reduce, reuse, recycle
@dhcodes have a good one brutha
and brownies for all the ones I know you missed out on now in tumbleweed town
thanks @dhcodes
CamperBot
@camperbot
Aug 10 2017 14:53
darrenfj sends brownie points to @dhcodes :sparkles: :thumbsup: :sparkles:
:star2: 1824 | @dhcodes |http://www.freecodecamp.com/dhcodes
Dylan
@dhcodes
Aug 10 2017 14:56
lol @DarrenfJ gets on every day just to give out free brownies
Darren
@DarrenfJ
Aug 10 2017 14:58
@dhcodes ah you know.. we used to have a bunch of stragglers helping out in here and new people would forget to thanks them (back when we got a lot of new people too)
CamperBot
@camperbot
Aug 10 2017 14:58
darrenfj sends brownie points to @dhcodes :sparkles: :thumbsup: :sparkles:
:warning: darrenfj already gave dhcodes points
Darren
@DarrenfJ
Aug 10 2017 15:01
hmm, anyone else notice fCC and the forum are down? or is it just me?
Gil Alexandel
@gilalexandel
Aug 10 2017 15:07
I was doing the Factorialize Algorithm CHallenge and i put some bad code i think, now the page is broke like freeze.
Can't even reset my code
Darren
@DarrenfJ
Aug 10 2017 15:18
@gilalexandel for me the page won't load at all
was wondering if fCC went down or something?
Gil Alexandel
@gilalexandel
Aug 10 2017 15:19
According to this page
its not
Darren
@DarrenfJ
Aug 10 2017 15:19
@gilalexandel can you get into it?
Gil Alexandel
@gilalexandel
Aug 10 2017 15:19
But i fixed
Darren
@DarrenfJ
Aug 10 2017 15:19
@gilalexandel ah you fixed it?
noice :D
Gil Alexandel
@gilalexandel
Aug 10 2017 15:19
I was able to reset the code and pass the Challenge
Now I'm on the Palindrome Algorithm
Darren
@DarrenfJ
Aug 10 2017 15:20
@gilalexandel cool :D
Ben said
@BenSaidRachid
Aug 10 2017 15:22
hi all,i'm doing "Manage Packages with npm" i'm trying to add a dist-tag
and i have this error
npm ERR! code E404
npm ERR! 404 missing : -/package/pkg/dist-tags

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ubuntu/.npm/_logs/2017-08-10T15_16_50_270Z-debug.log
Darren
@DarrenfJ
Aug 10 2017 15:24
@abdel974 oh man it's been forever since I did that one
not sure I'd be much help.. maybe try the main room?
Ben said
@BenSaidRachid
Aug 10 2017 15:25
@DarrenfJ ok i will ask there ,thanks
CamperBot
@camperbot
Aug 10 2017 15:25
abdel974 sends brownie points to @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 1959 | @darrenfj |http://www.freecodecamp.com/darrenfj
Gil Alexandel
@gilalexandel
Aug 10 2017 15:28
Ok, i think is down for real now
guomiaomiao007
@guomiaomiao007
Aug 10 2017 15:38
help me TT

<style>
.red-text {
color: red;
}
.size-text {
font-size: 16px;
}
</style>

<h2 class="red-text">我家的猫咪</h2>

<p class="red-text size-text">I don’t know。</p>

May Kittens Devour Your Soul
@diomed
Aug 10 2017 15:46
@guomiaomiao007 nope
no class!!!!
.size-text
Ben said
@BenSaidRachid
Aug 10 2017 15:58
hi all,how can i point the latest tag to somewhere else? for"Manage Packages with npm"challenges
Aita Kane
@aita-kane
Aug 10 2017 15:59
Hello everybody i'm having a problem , I create a div inside my container but the problem is when i scroll up or down my child div move out of the container and goes up and down , the codepen to see what i'm talking about : https://codepen.io/akane96/pen/mMwWqy
Thayyeb salim
@Thayyebsalim
Aug 10 2017 16:13
.iphone {
  width: 590px;
  height: 600px;
  border-radius: 10px;
  position: fixed;
  top: 60%;
  left: 50%;
  background-color: green;
}
change position:fixed
Thayyeb salim
@Thayyebsalim
Aug 10 2017 16:19
@aita-kane
Aita Kane
@aita-kane
Aug 10 2017 16:21
@Thayyebsalim yes if I change it it disappears
Christopher McCormack
@cmccormack
Aug 10 2017 16:29
@aita-kane you have a height of 3000px and overflow: hidden on your .dclass that's pushing it off the screen
Aita Kane
@aita-kane
Aug 10 2017 16:38
@cmccormack so if i remove the the overflow and reduce the height it will ework ?
Emilio Vesprini
@evsprn
Aug 10 2017 16:39
Hey everybody, how are you all doing?
Christopher McCormack
@cmccormack
Aug 10 2017 16:39
@aita-kane That's why it's not showing, but getting it to work how you want it a different story
Emilio Vesprini
@evsprn
Aug 10 2017 16:39
I was hoping I could get some help with some tricky code
Christopher McCormack
@cmccormack
Aug 10 2017 16:39
@evsprn sure
Emilio Vesprini
@evsprn
Aug 10 2017 16:40
I'm on one of the last challenges in the Basic JS part, profile lookup
function lookupProfile() {
function checkContact(){
  index2Check = 0;
  var isValidContact = false;
  while (index2Check < 4 && isValidContact == false);
  if (contacts[checkContact()] == contacts[firstName]) {
    isValidContact = true;
    return index2Check;
  } else {
    index2Check++;
  }
  return false;
}

function checkProp(){
  index2Check = 1;
  var isValidProp = false;
  while (index2Check < 4 && isValidProp == false) {
    if (contacts[checkContact()][index2Check] == contacts[checkContact()][prop]) {
      isValidProp = true;
      return index2Check;
    } else {
      index2Check++;
    }
  }
  return false;
}

function returner() {
  if (checkContact() == false) {
    return "No such contact";
  } else if(checkProp() == false){
    return "No such property";
  } else {
    return contacts[checkContact()][checkProp()];
  }
}

function doer() {
  checkContact();
  if (checkContact() != false) {
    checkProp();
  }
  returner();
}

doer();
}
I may have been watching Anjana Vakil's functional programming talk at Unconf JS so that's what's up with the number of functions
Christopher McCormack
@cmccormack
Aug 10 2017 16:43
@evsprn you should not use a while loop to loop over an iterable, use a for loop
Emilio Vesprini
@evsprn
Aug 10 2017 16:43
thanks <3
Christopher McCormack
@cmccormack
Aug 10 2017 16:43
you can nest most of your code within a single for loop that iterates over the contacts
Emilio Vesprini
@evsprn
Aug 10 2017 16:44
until it finds the right one and then it iterates over the properties?
Christopher McCormack
@cmccormack
Aug 10 2017 16:45
your return statements are only going to return to the containing function as well, so I don't think your current code will return anything to the initial call
@evsprn iterates, or uses object lookups
don't forget about the hasOwnProperty() method of objects
Emilio Vesprini
@evsprn
Aug 10 2017 16:46
they return to the containing function?
I had in fact totally forgotten about that
I feel a weird sense of shame
thanks for the help, I'll get back to coding and let you if I work it out
Christopher McCormack
@cmccormack
Aug 10 2017 16:53
@evsprn gl!
Emilio Vesprini
@evsprn
Aug 10 2017 17:26
for (var i = 0; i < contacts.length; i++) {
  if (contacts[i].firstName == firstName) {
    if (contacts[i].hasOwnProperty(prop)) {
      return contacts[i][prop];
    } else {
      return "No such property";
    }
  }
}
return "No such contact";
worked flawlessly. Thanks again. I would have been stuck for years.
Christopher McCormack
@cmccormack
Aug 10 2017 17:33
@evsprn looks exactly like my code! Glad you completed it
10119
@10119
Aug 10 2017 18:17
Hi everybody! I would like to fetch data like this: https://ethermine.org/api/miner_new/ce2f9f7f8958a772d36ea12626979c7544f42014 and arrange it in HTML to have a better overview for my statistics. Anyone nows examples for that topic?
Sorin Ruse
@sorinr
Aug 10 2017 19:03
@evsprn to eliminate the second if you can condition the first like if (contacts[i].firstName == firstName && contacts[i].hasOwnProperty(prop) )
Albert Cardona II
@daddycardona
Aug 10 2017 19:17
@10119 so you want to do a jquery code fetch to this or an ajax one what ever you seem to be easier
Eric Miller
@ericmiller777
Aug 10 2017 19:19
hello
Albert Cardona II
@daddycardona
Aug 10 2017 19:20
hi :)
Sorin Ruse
@sorinr
Aug 10 2017 19:21
@10119 what u have tried so far in arranging that response in html?
Kyle Holm
@thekholm80
Aug 10 2017 19:23
hola
Sorin Ruse
@sorinr
Aug 10 2017 19:24
ola
telepylus
@telepylus
Aug 10 2017 19:31
@telepylus Imma look up what beta means :smiley_cat:
Pretty useless advice
The beta version is still not working for me.
Is there any customer help email I can contact someone from fcc?
Albert Cardona II
@daddycardona
Aug 10 2017 19:34
holla lol
Kyle Holm
@thekholm80
Aug 10 2017 19:37
@telepylus you can submit an issue on the github repo
Eric Miller
@ericmiller777
Aug 10 2017 19:41
<div class="row" id="searchWiki">
    <div  class="col-xs-11 col-sm-4 col-md-3 col-lg-3 col-xl-3 col-centered">
    <form>
        <input type = "text" class="form-control" placeholder="Search Wikipedia">
    </div>
    <div  class="col-xs-1 col-sm-1 col-md-1 col-lg-1 col-xl-1 col-centered">
    <button class="btn btn-default" type="submit"> <i class="glyphicon glyphicon-search"> </i> </button>

    </form>
    </div>
</div>
why cant i get those in a row
Panagiotis Tsimpoukellis
@PanChee00
Aug 10 2017 19:46
<div class="row" id="searchWiki" >
<div class="col-xs-11 col-sm-4 col-md-3 col-lg-3 col-xl-3 col-centered" style="float: left;">
<form>
<input type = "text" class="form-control" placeholder="Search Wikipedia">
</div>
<div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 col-xl-1 col-centered" style="float: left;">
<button class="btn btn-default" type="submit"> <i class="glyphicon glyphicon-search"> </i> </button>

</form>
</div>
check this @ericmiller777
style="float:left;"
Eric Miller
@ericmiller777
Aug 10 2017 19:47
ill try it
Panagiotis Tsimpoukellis
@PanChee00
Aug 10 2017 19:49
@ericmiller777 cool
Eric Miller
@ericmiller777
Aug 10 2017 19:49
doesnt seem to be working
ill upload it
Panagiotis Tsimpoukellis
@PanChee00
Aug 10 2017 19:50
sure
btw that works for me
might take a sec to update
oh 1 sec
Panagiotis Tsimpoukellis
@PanChee00
Aug 10 2017 19:51
Sure. take your time @ericmiller777
Eric Miller
@ericmiller777
Aug 10 2017 19:53
@PanChee00 okay that kind of worked but now the whole thing floats left so on bigger screens anyway it doesnt look right
gishy1
@gishy1
Aug 10 2017 19:58
hello world !!
need help
Eric Miller
@ericmiller777
Aug 10 2017 19:58
hello
gishy1
@gishy1
Aug 10 2017 19:58
image.png
Garrus Napp
@GarrusNapp
Aug 10 2017 19:59
@gishy1 they say you need to edit this line: myVar = myVar
gishy1
@gishy1
Aug 10 2017 20:00
@GarrusNapp do i delete entirely?
Eric Miller
@ericmiller777
Aug 10 2017 20:00
yes
and ++ should be after not before
tell me if you get it
Garrus Napp
@GarrusNapp
Aug 10 2017 20:01
@gishy1 yes, instead do myVar++;
gishy1
@gishy1
Aug 10 2017 20:02
@GarrusNapp @ericmiller777 not responding bro
image.png
Garrus Napp
@GarrusNapp
Aug 10 2017 20:03
@gishy1 reset and try again
gishy1
@gishy1
Aug 10 2017 20:04
@GarrusNapp @ericmiller777 yipee kaye!!
thanks !
Eric Miller
@ericmiller777
Aug 10 2017 20:04
congrats
@GarrusNapp thanks for helping him out
CamperBot
@camperbot
Aug 10 2017 20:05
ericmiller777 sends brownie points to @garrusnapp :sparkles: :thumbsup: :sparkles:
:cookie: 839 | @garrusnapp |http://www.freecodecamp.com/garrusnapp
Garrus Napp
@GarrusNapp
Aug 10 2017 20:05
@ericmiller777 ty
@ericmiller777 thank you
CamperBot
@camperbot
Aug 10 2017 20:05
garrusnapp sends brownie points to @ericmiller777 :sparkles: :thumbsup: :sparkles:
:cookie: 264 | @ericmiller777 |http://www.freecodecamp.com/ericmiller777
10119
@10119
Aug 10 2017 20:14
@sorinr @daddycardona with a tutorial i tried this so far: https://jsfiddle.net/10119/2t56Lgxn/
@sorinr @daddycardona i will take care about the styling later. this is what im a bit more skilled in. i would like to fetch the data from the url i postet before but in the example they only showed to get data by counting option. Isn't it possible to display it just by its name or "attribute"
Eric Miller
@ericmiller777
Aug 10 2017 20:19
div class="row" id="searchWiki">
<div  class="col-xs-12 col-sm-4 col-md-3 col-lg-3 col-xl-3 col-centered">
<form>
<div>
<input type = "text" class="form-control" placeholder="Search Wikipedia">
</div>
<div>
<button class="btn btn-default" type="submit"> <i class="glyphicon glyphicon-search"> </i> </button>  
</div>
</form>
</div>
</div>
anyone wanna try figureijng how i can get the search button next to the box whgile keeping it centered
Eric Miller
@ericmiller777
Aug 10 2017 20:24
think i got it
Eric Miller
@ericmiller777
Aug 10 2017 20:38
So now ive got it working but the button size is weird....
I know i could increase it a few % but whats the correct way?
Garrus Napp
@GarrusNapp
Aug 10 2017 20:41
@ericmiller777 maybe just make space between the button and input so it doesn't look as bad
Eric Miller
@ericmiller777
Aug 10 2017 20:42
@GarrusNapp thanks yea that would look better, is still kinda weird they dont match tho
CamperBot
@camperbot
Aug 10 2017 20:42
ericmiller777 sends brownie points to @garrusnapp :sparkles: :thumbsup: :sparkles:
:warning: ericmiller777 already gave garrusnapp points
Eric Miller
@ericmiller777
Aug 10 2017 21:18
hey
this look right to you guys?
Panagiotis Tsimpoukellis
@PanChee00
Aug 10 2017 21:18
@ericmiller777 good job Eric!! Congrats!!
@ericmiller777 go button isn't working for me
Eric Miller
@ericmiller777
Aug 10 2017 21:19
@PanChee00 weird thing is on my screen its not centered lol
but on all my other devices it is....
Panagiotis Tsimpoukellis
@PanChee00
Aug 10 2017 21:19
lol
Eric Miller
@ericmiller777
Aug 10 2017 21:19
@PanChee00 oh its not set up yet
Panagiotis Tsimpoukellis
@PanChee00
Aug 10 2017 21:19
@ericmiller777 oh ok!
Eric Miller
@ericmiller777
Aug 10 2017 21:20
not sure what i should do
Gersho
@Gersho
Aug 10 2017 21:20
why is there a description of something under the search bar ?
Eric Miller
@ericmiller777
Aug 10 2017 21:21
@Gersho you mean the text?
Gersho
@Gersho
Aug 10 2017 21:21
yeah
Eric Miller
@ericmiller777
Aug 10 2017 21:22
thats being pulled from wikipedia
Gersho
@Gersho
Aug 10 2017 21:22
but why ?
Eric Miller
@ericmiller777
Aug 10 2017 21:22
soon it will pull whatever you put in the search bar
it sfor the wikipedia viewer project
Gersho
@Gersho
Aug 10 2017 21:22
ha you wanted opinion on the centered part, ok sorry xD
looks fine in both 4/3 and 16/10
Eric Miller
@ericmiller777
Aug 10 2017 21:25
@Gersho trying to get the button centered with the search box
Eric Miller
@ericmiller777
Aug 10 2017 21:48
so im going crazy
just decided to use javascript
did
var boxHeight = $("#searchBox").height();
$("#button").height(boxHeight);
so
pushing now
Panagiotis Tsimpoukellis
@PanChee00
Aug 10 2017 21:49
@ericmiller777 great!
Eric Miller
@ericmiller777
Aug 10 2017 21:49
looks good?
Panagiotis Tsimpoukellis
@PanChee00
Aug 10 2017 21:50
@ericmiller777 that looks great!
Eric Miller
@ericmiller777
Aug 10 2017 21:50
works on my screen
Panagiotis Tsimpoukellis
@PanChee00
Aug 10 2017 21:50
@ericmiller777 on my screen too :P
Eric Miller
@ericmiller777
Aug 10 2017 21:51
seems now i can add my glyphicon too
thing that drives me crazy is that i feel i shouldnt have needed to use javascript
.
Eric Miller
@ericmiller777
Aug 10 2017 22:32
var wikiSearchBoxValue = document.getElementById("#searchBox").value;
why does that break my javascript....
Gersho
@Gersho
Aug 10 2017 22:36
remove the #
Eric Miller
@ericmiller777
Aug 10 2017 22:36
but its a id?
Gersho
@Gersho
Aug 10 2017 22:36
getElementById
Eric Miller
@ericmiller777
Aug 10 2017 22:36
....
Gersho
@Gersho
Aug 10 2017 22:36
ById
Eric Miller
@ericmiller777
Aug 10 2017 22:36
wow
Gersho
@Gersho
Aug 10 2017 22:36
:)
Eric Miller
@ericmiller777
Aug 10 2017 22:36
...
...
...
Gersho
@Gersho
Aug 10 2017 22:37
i had to check mine to see what was wrong with yours tho ^^
Eric Miller
@ericmiller777
Aug 10 2017 22:40
lol @Gersho thanks
CamperBot
@camperbot
Aug 10 2017 22:40
ericmiller777 sends brownie points to @gersho :sparkles: :thumbsup: :sparkles:
:cookie: 316 | @gersho |http://www.freecodecamp.com/gersho
Mike Batista
@mbmontana
Aug 10 2017 22:44
Any hints on this without giving away the answer? My instructions: Use the playerNumber variable to lookup player 16 in testObj using bracket notation.

// Setup
var testObj = {
  12: "Namath",
  16: "Montana",
  19: "Unitas"
};

// Only change code below this line;

var playerNumber = 16;       // Change this Line
var player =  testObj[16];   // Change this Line
Gersho
@Gersho
Aug 10 2017 22:49
could you link the challenge page ?
lol i wasn't even on that channel you linked me, in that case could you give me a screenshot or something ?
Coy Sanders
@coymeetsworld
Aug 10 2017 22:53
@mbmontana don't hardcode 16 on the last line
you're not doing this: Use the playerNumber variable to lookup player 16 in testObj using bracket notation.
you're doing Use the number 16 to lookup player 16 in testObj using bracket notation.
Mike Batista
@mbmontana
Aug 10 2017 22:58
Am I any closer now?

// Setup
var testObj = {
  12: "Namath",
  16: "Montana",
  19: "Unitas"
};

// Only change code below this line;

var playerNumber = testObj[16];       // Change this Line
var player = playerNumber;   // Change this Line
its getting there
now to just make entrys
Gersho
@Gersho
Aug 10 2017 23:09
there's an error when you clic (but not when you press enter)
Coy Sanders
@coymeetsworld
Aug 10 2017 23:10
@mbmontana no, you still need to use testObj in your answer
playerNumber needs to be a number, not a name
testObj[16] evaluates to "Montana"
Eric Miller
@ericmiller777
Aug 10 2017 23:11
@Gersho i plan to add that later
Mike Batista
@mbmontana
Aug 10 2017 23:26
@coymeetsworld Here's a question: Does the word Montana need to appear anywhere in my answer? I figured we're trying to look up who No. 16 is and for practical purposes the user wouldn't know it was Montana.
Coy Sanders
@coymeetsworld
Aug 10 2017 23:28
no
just testObj
the user would know its montana because they can look at testObj and see what value 16 is correlated to
Mike Batista
@mbmontana
Aug 10 2017 23:31
@coymeetsworld Next question, do I need to change one line or both lines of code?
Coy Sanders
@coymeetsworld
Aug 10 2017 23:32
both lines
playerNumber needs to be what it sounds like, a number
Mike Batista
@mbmontana
Aug 10 2017 23:36
@coymeetsworld ```
sorry
@coymeetsworld This got me through after about two hours.

// Setup
var testObj = {
  12: "Namath",
  16: "Montana",
  19: "Unitas"
};

// Only change code below this line;

var playerNumber = 16;       // Change this Line
var player = testObj[playerNumber];   // Change this Line
Coy Sanders
@coymeetsworld
Aug 10 2017 23:38
yep thats the answer
but make sure you understand why that works
testObj[playerNumber]; is really testObj[16]; since playerNumber = 16
and if you lookup the property 16 in testObj, the value is "Montana"
dyon3334
@dyon3334
Aug 10 2017 23:38

it has to make the fitsr letter of each word a capital
but my code doesnt work an anyone helpe me
```function titleCase(str) {
var string = str.split(" ");
for(i=0;i<string.length;i++){
var string2 =string[i].split("");
string2[0].toUpperCase();

  }

return str;
}

titleCase("I'm a little tea pot");
```

it has to make the fitsr letter of each word a capital
but my code doesnt work an anyone helpe me
```function titleCase(str) {
var string = str.split(" ");
for(i=0;i<string.length;i++){
var string2 =string[i].split("");
string2[0].toUpperCase();

  }

return str;
}

titleCase("I'm a little tea pot");

Mike Batista
@mbmontana
Aug 10 2017 23:39
@coymeetsworld Am I fulfilling these two requirements: The variable player should be a string
The value of player should be "Montana" ... The output doesn't have quotes around Montana.
Coy Sanders
@coymeetsworld
Aug 10 2017 23:40
for one you're returning the original string @dyon3334
@mbmontana yes, I would revisit some of the challenges prior to understand why
seems like you don't have it quite grasped yet, and JSON objects will come up alot
dyon3334
@dyon3334
Aug 10 2017 23:53

@coymeetsworld im sorry for posting in many groups but i dont get it i have now ```
function titleCase(str) {
var output;
var string = str.split(" ");
for(i=0;i<string.length;i++){
var string2 =string[i].split("");
string2[0].toUpperCase();
var string3 = string2.join("");
output = output + " "+string3[i];

  }

return output;
}

titleCase("I'm a little tea pot");
```

@coymeetsworld im sorry for posting in many groups but i dont get it i have now
function titleCase(str) {
  var output;
  var string = str.split(" ");
  for(i=0;i<string.length;i++){
    var string2 =string[i].split("");
       string2[0].toUpperCase();
       var string3 = string2.join("");
       output = output + " "+string3[i];

      }

  return output;
}

titleCase("I'm a little tea pot");
Coy Sanders
@coymeetsworld
Aug 10 2017 23:54
you don't need that many variables, also some of the names could be better
like string won't be a string, since split() creates an array
dyon3334
@dyon3334
Aug 10 2017 23:56
@coymeetsworld yes but i joon them right
Coy Sanders
@coymeetsworld
Aug 10 2017 23:56
also toUpperCase doesn't mutate the character
toUpperCase returns the letter uppercased
and also you need to downcase all other letters besides the first
dyon3334
@dyon3334
Aug 10 2017 23:56
@coymeetsworld es thats what im trying to do capitalize letters
Coy Sanders
@coymeetsworld
Aug 10 2017 23:56
also if you're sorry, don't keep posting again in other rooms :/
hard to help if more ppl are talking to you in different rooms
which they are
> let word = "hello"
undefined
> word[0].toUpperCase()
'H'
> word
'hello'
see how word didn't get mutated?
> let capitalLetter = word[0].toUpperCase()
undefined
> capitalLetter
'H'
> word[0]
'h'
something to keep in mind
Gersho
@Gersho
Aug 10 2017 23:59
aren't string immutable anyway ?
dyon3334
@dyon3334
Aug 10 2017 23:59
@coymeetsworld thanks but i fdont understand fully what im doing wrong now
CamperBot
@camperbot
Aug 10 2017 23:59
dyon3334 sends brownie points to @coymeetsworld :sparkles: :thumbsup: :sparkles:
:warning: dyon3334 already gave coymeetsworld points