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
Eric Weiss
@eweiss17
i always see parallax pics when people want to beef up
heres a good site for high res photos https://unsplash.com/
this is nice if u want to add colors https://webkul.github.io/coolhue/
GRIMROOT
@grimroot23
i use uigradients
anthonygallina1
@anthonygallina1
GRIMROOT
@grimroot23
nice
pal-crystal
@pal-crystal
good night all
anthonygallina1
@anthonygallina1
~Rest well
zootechdrum
@zootechdrum
hey guys I know its something stupid but why the hell is my first if statement not passing

function translatePigLatin(str) {

  var newStr = str.toLowerCase(); 
  var holdLetter = [];

  var vowels = ["a","e","i","o","u"];

  holdLetter.push(newStr.substr(0,1));

  for(var i = 0; i< vowels.length; i++){
    if(holdLetter.indexOf(vowels[i]) < 1){
      var sliced = newStr.slice(1,newStr.length);
        holdLetter.unshift(sliced);
        holdLetter.push("ay");
     return holdLetter.join("");
    }else{
     return newStr + "way";
    }
  }
}

translatePigLatin("ailifornia");
i should say why i s my first if statement passing everything lol
Brad
@bradtaniguchi
@zootechdrum I'm not sure what this code does, but the line newStr.substr(0,1)returns the first letter of the string. So later when you perform holdLetter.indexOf(vowels[i]) < 1 its true, since holdLetter's index is always 0 (since its 1 letter at index 0) or -1 (if the value isn't "matched")
zootechdrum
@zootechdrum
@bradtaniguchi i just caught that
thanks brad
Brad
@bradtaniguchi
np :D
ijhar
@ijhar8
https://codepen.io/ijhar8/pen/YaMbOx . why breakTimer is not working ..?
clearInterval is also not works.. plz help
mustimuu
@mustimuu
Hello can someone help me?
I have this div with a picture in it. i want it to take 100% of the width, of the site
Dhaval Vira
@dhavalveera
It is for background
ijhar
@ijhar8
@mustimuu link of your "this" ...?
mustimuu
@mustimuu
@ijhar8
mustimuu
@mustimuu
Can someone help me ?
Dhaval Vira
@dhavalveera
for what
mustimuu
@mustimuu
@mustimuu
Hello can someone help me?
I have this div with a picture in it. i want it to take 100% of the width, of the site
coderNewby
@coderNewby
@darrenfj another Q in pm thanks in advance
CamperBot
@camperbot
codernewby sends brownie points to @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 2471 | @darrenfj |http://www.freecodecamp.org/darrenfj
Dhaval Vira
@dhavalveera
@mustimuu it is for Back-Ground Image ?
mustimuu
@mustimuu
The whole div i want to take 100% of the body
The part under "Forside"
gerome0123
@gerome0123
any suggestion if i have more than 10 entries in one page??
Dhaval Vira
@dhavalveera
what do you mean for that ?
gerome0123
@gerome0123
i mean any suggestion to make pleasant in the eye
even thou so many entries
Roshith R
@Roshith93
Help Needed!!
Dhaval Vira
@dhavalveera
Say
Roshith R
@Roshith93
I have 4 select options in my pages. So if I choose any of the select options, i need go get the id of which select option is selected.
using jquery
Markus Kiili
@Masd925
@Roshith93 One way is to use options and selectedIndex properties of the selectElement. https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement
mustimuu
@mustimuu
Hello guys
I can't see my widget in my backend wordpress
Any suggestions?
Mohit Garg
@mohitgarg
Hey guys
Can anyone help me with the CSS?
Dhaval Vira
@dhavalveera
Yes say @mohitgarg
Kingsley
@Kingwindie
for (i = 0; i < 6; i++) {
    var tableFooter = document.createElement("tfoot");
    tableFooter.style.backgroundColor = "gray";
    tableFooter.style.height = "35px";
    tableFooter.style.textAlign = "center";
    tableFooter.textContent = "footer";
    table.appendChild(tableFooter);
}