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
Kingsley
@Kingwindie

if i do that for both table bodies it places all the images in a single block,which is not what i want,i have 12 images and i want to display 6 at the top and six below it,now each image should have a name at the top and a year below it,so if i do

table
     tableBody
           tableData

it will mess up the structure of six images at the top and six below @sjames1958gm

this is frustrating
mustimuu
@mustimuu
my god i need some help
Stephen James
@sjames1958gm
@Kingwindie Do you need table rows?
table
     tableBody
            tableRow
               tableData
            tableRow
               tableData
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody
This page indicates that table rows go inside table body
zootechdrum
@zootechdrum
hey good morning
trying to use regex but it dosent seem to activate
function translatePigLatin(str) {

  var vowels = ["a","e","i","o","u"];
  var matched = /^[cbdfghjklmnpqrstvwxyz]{1,}]/i;

  var matched_Arr  = str.match(matched);

  return matched_Arr;
}

translatePigLatin("consonant");
right now its in all white text or in this case all purple
I am sure i am missing a slashh somewhere lol
zootechdrum
@zootechdrum
more clearly i am returning null so its not matching anything maybe something else is wrog
Elia
@elia-russad
what are u trying to match?
zootechdrum
@zootechdrum
@elia-russad non vowels
so consonants
matches on the website but dosent on freecodecamp
using this website
Elia
@elia-russad
well this ^[cbdfghjklmnpqrstvwxyz]{1,}] selects nothing
so u get null
zootechdrum
@zootechdrum
@elia-russad it dosent select c in consonant
??
Elia
@elia-russad
nope
use this tester https://regex101.com/
select js on the left bar
zootechdrum
@zootechdrum
did what you said found one match
found the letter c
i pasted this
^[cbdfghjklmnpqrstvwxyz]{1,}
matthewlee07
@matthewlee07
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
Elia
@elia-russad
@zootechdrum yeah it's different from what's in your code
/^[cbdfghjklmnpqrstvwxyz]{1,}]/i there's one extra bracket
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"));