Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
  • 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
matches on the website but dosent on freecodecamp
using this website
well this ^[cbdfghjklmnpqrstvwxyz]{1,}] selects nothing
so u get null
@elia-russad it dosent select c in consonant
use this tester https://regex101.com/
select js on the left bar
did what you said found one match
found the letter c
i pasted this
hi, I'm looking for help if anyone is available. I think it's just event binding, but I'm not sure if it's more
@zootechdrum yeah it's different from what's in your code
/^[cbdfghjklmnpqrstvwxyz]{1,}]/i there's one extra bracket
@elia-russad damn i t
just tried it
it worked lol
@elia-russad thanks man!!!
zootechdrum sends brownie points to @elia-russad :sparkles: :thumbsup: :sparkles:
api offline
@elia-russad would you be able to take a look at my question too please?
shameem fairooz
Guys, I'm currently in the JavaScript Calculator Project.
I've completed the UI, but not so sure on how to implement the code.
Any suggestions ?
Tiago Correia
Use a string maybe to store the, numbera and signals and then use eval maybe was my approach
Cliff Galas
What’s up people
shameem fairooz
@tiagocorreiaalmeida You saved me a lot of time. I was look for something like `eval() Thank You !!!
sfshameem5 sends brownie points to @tiagocorreiaalmeida :sparkles: :thumbsup: :sparkles:
:cookie: 524 | @tiagocorreiaalmeida |http://www.freecodecamp.org/tiagocorreiaalmeida
Tiago Correia
there's one or two issues with eval one of them is that it runsscrips
either way I dont see you using it any other project
shameem fairooz
@tiagocorreiaalmeida Can you explain it more further ?
Tiago Correia
if you run this
it will work like you called alert alone, so it means it can run scripts passed by other users if you eval for example an input field
shameem fairooz
@tiagocorreiaalmeida I'll get the input, as a string, and evaluate using eval(). If I get I stuck, I'll ping you. Is that alright ?
Tiago Correia
if im around sure
shameem fairooz
@tiagocorreiaalmeida Okay :)
Tiago Correia
the only thing that im trying to say is to avoid using eval, in this situation tis ok, but look at what I sent you im using eval on the user input and as you can see it runs the script
other kind of scripts could cause some damage
shameem fairooz
@tiagocorreiaalmeida On this situation, It would okay on math calculations right ?
@tiagocorreiaalmeida I didn't get what you said earlier. Not enough experience using `eval() to understand that.
Lallo Vigil
I'm trying to include the Materialize with my React project, but I can't get the JS to work for Materialize. Would someone let me know if I'm doing it correctly? https://codepen.io/lalov1/pen/97756811476267a589a730dc15f881a1
Eric Weiss
I believe the older versions of materialize are dependent on jquery
Kaz Baig
@lalov1 also, Uncaught ReferenceError: options is not defined
on line 14