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
ehutchllew
@ehutchllew
@jsd540 Yeah try what @moT01 is saying, the forEach looks at the actual value in the indices of the array rather than a 'counter'.
Jose Diaz
@jsd540
@ehutchllew @moT01 yes, I will try a for each... Dear diary today I learned about for each :) Thanks guys.
CamperBot
@camperbot
jsd540 sends brownie points to @ehutchllew and @mot01 :sparkles: :thumbsup: :sparkles:
api offline
api offline
B
@B-keen
'''
CamperBot
@camperbot
:bulb: to format code use backticks! ``` more info
B
@B-keen
```
return collection[5439].album;
Ken Haduch
@khaduch
@MomchilDeus - looks good :point_up: October 13, 2017 6:13 AM - my last nit-pick - I would like to have either a set of links at the bottom for the different sections, or the nav button frozen to the top of the screen when you scroll up? I know that I'm just being lazy... the site looks great. I really like that timeline presentation!
Jay Vora
@jayvora92

hello everyone I have a quick question. any help would be appreciated.
right now

else if({{Page Path}}.indexOf("/xyz/abc") >= 0) return "test";  
but actually i want  to return "test" on /xyz/abc/#employer.

how do i add that hash. If it helps I already have a variable URL fragment = "employers". what would be the best way to add it

Roge
@RogeMateos
hello
i need some help with flex box
anyone thatcan help me please
alteducation
@alteducation
@RogeMateos yeah
Roge
@RogeMateos
hey @alteducation how are you
alteducation
@alteducation
@RogeMateos tell me i will help you with your flexbox isuue
@RogeMateos do you have it on codepen?
Roge
@RogeMateos
there is something i don’t understand here , there is section class main as a container flexbox then i have article class featured and caside class sidebar
Tom
@moT01
@jayvora92 what's the hash for, can you put it in the variable
"#employers"
this is the example
B
@B-keen
return collection[5439].album;
Roge
@RogeMateos
whati dont understand is featured and aside does not have width
B
@B-keen
I was wondering in the record collection challenge why the above code is not returning anything
Roge
@RogeMateos
what makes them behave with different widths
Screen Shot 2017-10-13 at 19.07.24.png
Screen Shot 2017-10-13 at 19.07.24.png
Screen Shot 2017-10-13 at 19.07.24.png
alteducation
@alteducation
@RogeMateos yeah I just checked the featured has a flex value of 2 and aside has a value of 1
@RogeMateos that means they share the space in that ratio
Ken Haduch
@khaduch
@B-keen - is it not returning anything or not returning the correct thing to pass the challenge?
alteducation
@alteducation
@khaduch that is featured takes up 2/3 space and aside takes 1/3 space
@RogeMateos that is featured takes up 2/3 space and aside takes 1/3 space
Roge
@RogeMateos
ok just unlock 2 and 1 and same behavour
unclick
alteducation
@alteducation
@RogeMateos if you change the featured flex value to 5 it will take up more space
Ken Haduch
@khaduch
@B-keen - that could be returning the value of the property album, if there is one. But for record collection, you want to just return collection, the entire modified object.
Jay Vora
@jayvora92
@moT01 yes. I used and condition with the url
its working now
alteducation
@alteducation
@RogeMateos flex value is dynamic if aside is 1 and featured is 1 then it will be 50 50
if aside is 1 and featured is 4 it will be 20: 80
refesh and check again and you will see what i mean
now you dont have 2 and 4
where is taking the width from
alteducation
@alteducation
@RogeMateos if you dont specify any flex value it will take up the width required to fit the content
Roge
@RogeMateos
so in this case the width is 90 per cent of the body?
and why is featured taking more width than sidebar?
alteducation
@alteducation
@RogeMateos because featured has more content the width is decided by the content inside it. aside only requires that much width to fit its contens