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
Ellen
@sunsplat
@neille2406 like repl.it?
Oulghard Adil
@AdilOulghard
Hi
I would know for prject Build a Tribute Page if we should do the same things as done or somthing differents
Ellen
@sunsplat
You can do something different @AdilOulghard
Just have similar components
This is my weather app. Can I get feedback? http://sunsplat.github.io/fcc_weather/index.html
Stephen Suratos
@stephenfs
Another QUESTION!
With JS technologies like REACT becoming more popular, do you think the demand for designing webpages with plain HTML/CSS will become less and less?
Sorin Ruse
@sorinr
@stephenfs nope. react without html and css its just javascript
@stephenfs if you saw react its actually rendering html
Stephen Suratos
@stephenfs

@sorinr Right.

But I was wondering more about the process of creating webpages not the existence of html/css.. I know theyre not oging anywhere.

I guess it would depend on the size or scope of a project.
Sorin Ruse
@sorinr
@stephenfs i personally like the react concept about components and vitual DOM. but i dislike i have to move the html and css to javascript.
Stephen Suratos
@stephenfs
I dont know REACT, but its on my to-lrean list after vanilla js and MAYBE jQuery. It just feels convoluted to have html,css and javacript contained in one file.
duyduc1110
@duyduc1110
challenge "Build a personal portfolio" is hard. Im just a newbie in web dev
Sorin Ruse
@sorinr
@stephenfs if i better think of react more like an <embed>, <iframe> tag it doesn't seem that much complex
Andrew1024
@Andrew1024
Hi, I need to make a border-left of div-question when an input is focused here http://codepen.io/Andrew1024/pen/GNpMqO. How to do that?
Andrew1024
@Andrew1024
I know how to make it. But the problem is the focus of child should influence a parent.
Clyde Lobo
@oppiniated
@Andrew1024 you will have to use some js, it's not possible only via css
Andrew1024
@Andrew1024
@oppiniated and @sunsplat Thank you . Will try to do it using JS
CamperBot
@camperbot
andrew1024 sends brownie points to @oppiniated and @sunsplat :sparkles: :thumbsup: :sparkles:
:cookie: 351 | @oppiniated |http://www.freecodecamp.com/oppiniated
:cookie: 368 | @sunsplat |http://www.freecodecamp.com/sunsplat
Oulghard Adil
@AdilOulghard
@sunsplat thanks yes of crs
CamperBot
@camperbot
adiloulghard sends brownie points to @sunsplat :sparkles: :thumbsup: :sparkles:
:cookie: 369 | @sunsplat |http://www.freecodecamp.com/sunsplat
Anders
@Skretch
Anyone know why this ```
Anyone know why this (tempStr[i] == 'C') ? tempArr.push(['C','G']) : tempArr.push(['G','C']);
is throwing a "Expected an assignment or function call and instead saw an expresison." error?
Ellen
@sunsplat
what is your tempStr?
Max Ho
@maxnathaniel
Hi all, am trying to figure out what is the best approach to save html templates. Is it to store into DB as BLOB or as string?
Ellen
@sunsplat
I think there is a max length to a string. blob would be better
Max Ho
@maxnathaniel
@sunsplat yeah, i think varchar can store quite alot but there's still a limit. hmm, is that the best practice though? BLOB sounds good, but there's a performance consideration as well
Ellen
@sunsplat
You can also break apart the template and store individual components. Putting the components back together when you need them.
Anders
@Skretch
@sunsplat tempStr is an array containing the string that was passed to the function
the string is sepperated into each letter
Ellen
@sunsplat
What is your whole code? Cause when I put in your snippet, I don't get any errors. @Skretch
Max Ho
@maxnathaniel
@sunsplat sounds like i can give it a try. thanks! ;)
CamperBot
@camperbot
maxnathaniel sends brownie points to @sunsplat :sparkles: :thumbsup: :sparkles:
:cookie: 371 | @sunsplat |http://www.freecodecamp.com/sunsplat
Anders
@Skretch
@sunsplat ```
sec
function pairElement(str) {

  var tempStr = str.split("");
  var tempArr = [];

  for(i = 0; i < tempStr.length; i++){
    if(tempStr[i] == 'A' || tempStr[i] == 'T'){
      (tempStr[i] == 'A') ? tempArr.push(['A','T']) : tempArr.push(['T','A']);
    }else{
      (tempStr[i] == 'C') ? tempArr.push(['C','G']) : tempArr.push(['G','C']);
    }
  }



  return tempArr;
}

pairElement("GCG");
always forget to hold shift while pressing enter xP
fixed it by converting them to if statements, I was just wondering why it was throwing an error when it is written like this
Ellen
@sunsplat
It's probably freecodecamp wasn't used to seeing that
yea, there's nothing wrong with your code
good job!
Anders
@Skretch
k, nice thanks
Max Ho
@maxnathaniel
@Skretch your var i is not defined actually