Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 17 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 17:13
    @mstellaluna banned @cmal
  • Jan 08 22:05
    @mstellaluna banned @dertiuss323
  • Nov 07 2018 04:42
    User @texas2010 unbanned @ows-ali
  • Nov 02 2018 16:25
    @texas2010 banned @ows-ali
  • Oct 12 2018 05:50
    @bjorno43 banned @NACH74
  • Oct 05 2018 23:02
    @mstellaluna banned @JomoPipi
  • Sep 16 2018 12:21
    @bjorno43 banned @yash-kedia
  • Sep 16 2018 12:16
    @bjorno43 banned @vnikifirov
  • Sep 05 2018 08:12
    User @bjorno43 unbanned @androuino
  • Sep 05 2018 07:38
    @bjorno43 banned @androuino
  • Aug 23 2018 16:57
    User @bjorno43 unbanned @rahuldkjain
  • Aug 23 2018 16:23
    @bjorno43 banned @rahuldkjain
  • Jul 29 2018 14:13
    User @bjorno43 unbanned @jkyereh
  • Jul 29 2018 01:00
    @bjorno43 banned @jkyereh
  • Jul 10 2018 22:09
    @bjorno43 banned @manafn
  • Jul 06 2018 15:20
    @texas2010 banned @imlegend19
  • Jul 03 2018 12:28
    @bjorno43 banned @vbvmatta
  • Jun 29 2018 13:54
    @bjorno43 banned @OGTechnoBoy
BrianWilliams28
@BrianWilliams28
image.png
could someone explain this?
image.png
the regex matches in regex101 but not in fcc's challenge...
Nate Mallison
@NJM8
What challenge?
BrianWilliams28
@BrianWilliams28
Regular Expressions: Restrict Possible Usernames
Nate Mallison
@NJM8
Does anyone know how to make text overflow to the left and not the right?
capital letters?
[a-zA-Z]
or add an i at the end
/^[a-z]{2}[0-9]*/i
If you look at all the settings on regex101 it probably has the i flag enabled
BrianWilliams28
@BrianWilliams28
there is an i
and a g
oh that's weird...i removed the g and it worked =/
Nate Mallison
@NJM8
i is case in-sensitive, g is global. not sure how g would affect it, weird
Hussein Zaki
@Hussein90
Hi to @all
Johnny
@JohnnyBizzel
Hello @Hussein90 :D
Ruben Dario
@rubendmatos1985
hello somebody with experience in d3 js
i am stuck and i need some help
Hussein Zaki
@Hussein90
I am working on make react todo table okay based on JSON array i have tasks that have to be placed on it done , the problem is there also subtasks has to be placed also how to make it for every subtask to go to their task and also there is a property under every subtask called taskid present to which task he belong that is my link projecthttps://codesandbox.io/s/l7prykm4om @all
Hussein Zaki
@Hussein90
:cry:
Please @all
Help me
Christopher McCormack
@cmccormack
@Hussein90 May help if you ask for one thing at a time
What specific problem are you trying to solve, and what have you attempted that isn't working?
Hussein Zaki
@Hussein90
Okay
I have react todo table and inside it there are a tasks coming from a json array now I need to nest column under task column that I can do the problem is I want the nest column to be getting data from subtasks array and it has a property called postId which called to the task main one , I need to make every subtask under his own main task
Hussein Zaki
@Hussein90
I want to add subtask under it’s own task not all of them under one task
Like there are 5 tasks I want to make under each task the subtask which belong to it
@cmccormack
Christopher McCormack
@cmccormack
@Hussein90 can you show an example of what you want it to look like?
Click Row to Expand Row
Christopher McCormack
@cmccormack
@Hussein90 sorry I haven't used that library and I don't have time atm to read up on it - you should read the docs as closely as you can and see if you can figure out how to make it work in your project.
Hussein Zaki
@Hussein90
okay
Fabusuyi David Oluwasegun
@dav4thevid
hi guys...kinda stuck with #Basic JavaScript: Use the Conditional (Ternary) Operator....the last one is not passing

here is my code
var code = "function checkEqual(a, b) {

  return a >= b ? true : false  

}

checkEqual(1, 2);"

Stevegolden12
@Stevegolden12
@dav4thevid @dav4thevid You are really close. This function is supposed to check if two values are EQUAL or not. Hope that helps.
Nicolas Ramirez
@kamatheuska
// this must throw a sintaxError
// var code = "function checkEqual(a, b) { 

// I would rather do:

function checkEqual (a, b) {
  return a >= b ? true : false  
}

checkEqual(1, 2);
@dav4thevid
Then try to see if your condition, in this case a >= b satisfies the requirements of your challenges. There you are asking: Is a greater than b?. Sounds that it doesn't checks equality...
Hussein Zaki
@Hussein90
hi @all
BrianWilliams28
@BrianWilliams28
can someone recommend a place that gives you practice using javascript with the DOM? I find FCC teaches you general javascript but doesn't touch much on tying it into the DOM...
Daniel Simeonov
@dbsimeonov
Just try to create a page without html, good practise for DOM and animations
BrianWilliams28
@BrianWilliams28
i suppose that could work
Daniel Simeonov
@dbsimeonov
One of my interviews for a Junior position was exactly that. Creating a page only with JS and animations for changing positions
Nicolas Ramirez
@kamatheuska
@Hussein90 did you manage to solve your issue?
greetings!