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
zootechdrum
@zootechdrum
@elia-russad damn i t
just tried it
it worked lol
@elia-russad thanks man!!!
CamperBot
@camperbot
zootechdrum sends brownie points to @elia-russad :sparkles: :thumbsup: :sparkles:
api offline
matthewlee07
@matthewlee07
@elia-russad would you be able to take a look at my question too please?
shameem fairooz
@sfshameem5
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
@tiagocorreiaalmeida
Use a string maybe to store the, numbera and signals and then use eval maybe was my approach
Cliff Galas
@Sn0wm8n
What’s up people
shameem fairooz
@sfshameem5
@tiagocorreiaalmeida You saved me a lot of time. I was look for something like `eval() Thank You !!!
CamperBot
@camperbot
sfshameem5 sends brownie points to @tiagocorreiaalmeida :sparkles: :thumbsup: :sparkles:
:cookie: 524 | @tiagocorreiaalmeida |http://www.freecodecamp.org/tiagocorreiaalmeida
Tiago Correia
@tiagocorreiaalmeida
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
@sfshameem5
@tiagocorreiaalmeida Can you explain it more further ?
Tiago Correia
@tiagocorreiaalmeida
eval(alert("hi"));
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
@sfshameem5
@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
@tiagocorreiaalmeida
if im around sure
shameem fairooz
@sfshameem5
@tiagocorreiaalmeida Okay :)
Tiago Correia
@tiagocorreiaalmeida
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
@sfshameem5
@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
@lalov1
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
@eweiss17
I believe the older versions of materialize are dependent on jquery
Kaz Baig
@kbaig
@lalov1 also, Uncaught ReferenceError: options is not defined
on line 14
Lallo Vigil
@lalov1
@kbaig I do see that, but I don't see why it isn't working
@eweiss17 I tried including jQuery and it still doesn't work.
Kaz Baig
@kbaig
@lalov1 You never defined a variable called options
Lallo Vigil
@lalov1
@eweiss17 Nevermind I had the scripts out of order. Thank you!
CamperBot
@camperbot
lalov1 sends brownie points to @eweiss17 :sparkles: :thumbsup: :sparkles:
:cookie: 616 | @eweiss17 |http://www.freecodecamp.org/eweiss17
shameem fairooz
@sfshameem5
@NJM8 I'm using it for math calculation.
Nate Mallison
@NJM8
Sure, plus you have link to a bank account or user accounts or anything like that, but I just wanted to share why it can be dangerous.
Max Kazionov
@MaximKazionov
Hey guys, can you hell me with such question :
Where it's better to start (at Freecodecamp or at a beta freecodecamp?)
Nate Mallison
@NJM8
IMHO it also makes the calculator much easier. once you have it done and are happy with your results it's a good challenge to build your own parser to process the input. You will learn a lot and if a potential employer looks at your code won't ask why are using eval but will be wowed that you built your own parser
@MaximKazionov I think with the beta you get the advantage of so many years of experience and refinement, I also hear it is much shorter and more to the skills you need. But there are no certifications yet, at least last I looked
Max Kazionov
@MaximKazionov
@NJM8 Thank you so much!
CamperBot
@camperbot
maximkazionov sends brownie points to @njm8 :sparkles: :thumbsup: :sparkles:
:cookie: 425 | @njm8 |http://www.freecodecamp.org/njm8
Max Kazionov
@MaximKazionov
I think that we need not to use bootstrap in our projects, because we use such mad classes as col-md