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
Roxroy
@roxroy
@Misaiah , need to do some thing like .. var word = document.getElementById("word").value; //by id to get the data from the input field
Matt
@Misaiah
I understand the array and document.getElementById("").....but why ".value;" and "//by id"?
@roxroy
Roxroy
@roxroy
@Misaiah , that gives you the value that was entered by the user
@Misaiah , you first get the field and then extract the value that was keyed in
Matt
@Misaiah

hmmmm.

so it would be something like...

if(tbox1 = "") {
document.getElementById("tbox1").value = alert("this field must be keyed in")
}

@roxroy
Roxroy
@roxroy
@Misaiah , no var lastName = document.getElementById("tbox2").value; this gives you the lastName.
You can then alert(lastName) or so some thing like if (lastName === 'smith') alert (" Good day ");
Jorge
@flawedLogic506
hey hows it going guys
Roxroy
@roxroy
@OrangeKulture , it is busy here. Hope you can help some of the campers questions.
Matt
@Misaiah
@roxroy ....for the variable, can I use the input id's to link to the specific textbox?
because I have 4 textboxes I would like to make specific to a different string
Roxroy
@roxroy
@Misaiah , btw. What challenge are one
Jorge
@flawedLogic506
@roxroy yeah i see everyone is up and about today!
sure thing !
Matt
@Misaiah
I branched away from the input challenges to try and do it myself for a better understanding@roxroy
@roxroy
r2d2
@UsamaHameed
What is the difference between npm run and just npm?
Jorge
@flawedLogic506
@UsamaHameed think it has to do with the scripts packages
@UsamaHameed if you do run, then you need to provide a command for npm to run .. if u just go npm it will list all scripts
something along those lines, can't remember 100% tho, sry .. maybe BackEnd can help you out
Matt
@Misaiah
I appreciate the help @roxroy
r2d2
@UsamaHameed
Is there a room for backend?
Jorge
@flawedLogic506
@UsamaHameed sure is .. HelpBackEnd
Roxroy
@roxroy
@Misaiah , follow the order of the challenges as it build on the next one.
Matt
@Misaiah
I will try @roxroy . I try and get into the habit of not only doing the challenges, but seeing if I can do it outside on my own too. and thats why I am where I am
Thanks again @roxroy
CamperBot
@camperbot
misaiah sends brownie points to @roxroy :sparkles: :thumbsup: :sparkles:
:cookie: 807 | @roxroy |http://www.freecodecamp.com/roxroy
r2d2
@UsamaHameed
thanks @OrangeKulture
CamperBot
@camperbot
:cookie: 350 | @orangekulture |http://www.freecodecamp.com/orangekulture
usamahameed sends brownie points to @orangekulture :sparkles: :thumbsup: :sparkles:
Jorge
@flawedLogic506
sure thing @UsamaHameed
Matt
@Misaiah
=-Zxfghjkl;'
][0987654321`1234567890-
Roxroy
@roxroy
@Misaiah , That is correct, but the best way to learn is to follow a good roadmap and although it is good to skip ahead, you should not jump ahead too many steps. Otherwise you get lost and frustrated.
@UsamaHameed , are you doing the backend challenges, which one are you one.
Yahia
@y-zaky
hi guys i have a question
Matt
@Misaiah
@roxroy HAHA thats very true. This can be very frustrating...especially when you have an idea you cant yet generate lol
Yahia
@y-zaky
why must related <label/> elements have the same name?
r2d2
@UsamaHameed
@roxroy I am learning react on pluralsight
Yahia
@y-zaky
why is that important?
also why must All related checkbox inputs should have the same name attribute.
what is the importance
Roxroy
@roxroy
@UsamaHameed , Nice. I also used that site to prep for it as well.
Jorge
@flawedLogic506
btw guys, if you are having some trouble with the Twitch API, let me know .. think i got it working fine
any hockey fans? :snowflake:
@bowssy88 u need a way of referencing the label input
r2d2
@UsamaHameed
football :P
@roxroy the curriculum is very good