Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Feb 01 00:27
    @bjorno43 banned @Ndoua
  • Jan 07 03:10
    @bjorno43 banned @doctor-sam
  • Aug 17 2019 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 2019 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 2019 17:13
    @mstellaluna banned @cmal
  • Jan 08 2019 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
Tariyel Hamidov
@tariellaelius
@PerpetualWar good luck ;)
Patrick Black
@Mortiferr
thank you @TylerMoeller
CamperBot
@camperbot
mortiferr sends brownie points to @tylermoeller :sparkles: :thumbsup: :sparkles:
:star2: 1382 | @tylermoeller |http://www.freecodecamp.com/tylermoeller
dovroc
@dovroc
I am working on the tribute page in FCC, is there a way of earning Brownie Points on several consecutive days even though I am coding in codepen?
Tyler Moeller
@TylerMoeller
@dovroc There are two ways you can get Brownie Points:
  1. Complete challenges - you get one point per challenge you complete
  2. Help other campers in chat - each time you help another camper and they thank you (by typing "thanks @yourname"), you will get a point
    https://github.com/FreeCodeCamp/FreeCodeCamp/wiki/brownie-points
CamperBot
@camperbot
tylermoeller sends brownie points to @dovroc and @yourname :sparkles: :thumbsup: :sparkles:
:cookie: 130 | @dovroc |http://www.freecodecamp.com/dovroc
:warning: could not find receiver for yourname
Tyler Moeller
@TylerMoeller
:) lol
dovroc
@dovroc
thanks for that
Tyler Moeller
@TylerMoeller
@Hello911 Use a return statement at the end of your function, if nothing is found in your for loop, the function will return 'no such contact'
@ssgriffen Lots of different tracks to take - I would recommend trying it with .filter() and .reduce() if you are comfortable with those methods.
I originally used a for loop and then nested a for...in loop inside of that.
Josie
@Josie-N
@alpox Got it, thanks!
CamperBot
@camperbot
josie-n sends brownie points to @alpox :sparkles: :thumbsup: :sparkles:
:cookie: 744 | @alpox |http://www.freecodecamp.com/alpox
Josie
@Josie-N
@TylerMoeller Thanks!
CamperBot
@camperbot
josie-n sends brownie points to @tylermoeller :sparkles: :thumbsup: :sparkles:
:star2: 1383 | @tylermoeller |http://www.freecodecamp.com/tylermoeller
Tyler Moeller
@TylerMoeller
@Josie-N If you need help with the grid, feel free to ask here. Very useful for organizing everything and laying out the content on your page. Good luck :+1:
GCastro51
@GCastro51
Anyone know how to remove the variable type information in an array key? Ex) string(10) "display_id" => 2267
Would I just run the array through an array_map function?
Josie
@Josie-N
https://codepen.io/CMYK/pen/bgqOxG?editors=1100
So I managed to pull everything to the left, but I want to add one more thumbnail (or container, whichever works, on the right). @TylerMoeller
How could I do that?
You see there is a small little container on the very bottom right of the page, but I can't move it upwards for the life of me. :worried:
Oh no, everything's messed up on a smaller screen!
Tyler Moeller
@TylerMoeller
@Josie-N I don't think pull-left is the way to go here. Columns stack from left to right, so you can put your columns in a row and choose the size you want as you stack them to the right.
Nick
@JummboShrimp
how do I center an image inside a bootstrap well? i have the image in one of my wells, but it is slightly off-center and it is annoying the shit out of me
Josie
@Josie-N
@TylerMoeller wow, how can I put all my columns in a row?
like the grid you sent me?
Tyler Moeller
@TylerMoeller
@Josie-N Yes, like the grids that I sent you. Grids go in rows and rows go in containers. This is an example of different layouts: http://s.codepen.io/TylerMoeller/pen/qNrbok
The layout possibilities are endless, but it should give an idea of how you can implement the Image and text the way you want for your tribute page.
(Without me giving you the exact code, anyway :))
Josie
@Josie-N
@TylerMoeller Thanks, that really helps, I'll delete the pull-lefts and try to rearrange them.
CamperBot
@camperbot
josie-n sends brownie points to @tylermoeller :sparkles: :thumbsup: :sparkles:
:warning: josie-n already gave tylermoeller points
Josie
@Josie-N
I'll probably take me 4 days or something.
Tristan R
@TristanTaka
So I made it too 120, where we have to design our own portfolio... I breezed through up until 120 but now I am at a dead stop. I am un-sure how we are expected to make a site like the one put on example when up until 120 haven't learned JS and that intensive of CSS?
Are we just supposed to make a portfolio based off our HTML/ Bootstrap knowledge and just not even attempt making something like the site given as a example?
JD Tadlock
@jdtdesigns
@TristanTaka FCC wasn't created to teach you how to code. It's purpose is to challenge you to learn.
So now comes the research and learning on your part
when you're ready, you can come back and finish the project
the process will be the same as you move through
hit wall, research, code 100 different ways to figure out how to do something, come back finish fcc project/challenge ;)
Josie
@Josie-N
@jdtdesigns good advice
Hello911
@Hello911
//Setup
var contacts = [
    {
        "firstName": "Akira",
        "lastName": "Laine",
        "number": "0543236543",
        "likes": ["Pizza", "Coding", "Brownie Points"]
    },
    {
        "firstName": "Harry",
        "lastName": "Potter",
        "number": "0994372684",
        "likes": ["Hogwarts", "Magic", "Hagrid"]
    },
    {
        "firstName": "Sherlock",
        "lastName": "Holmes",
        "number": "0487345643",
        "likes": ["Intriguing Cases", "Violin"]
    },
    {
        "firstName": "Kristian",
        "lastName": "Vos",
        "number": "unknown",
        "likes": ["Javascript", "Gaming", "Foxes"]
    }
];


function lookUpProfile(firstName, prop){
// Only change code below this line

 for(var i=0;i<contacts.length;i++){
   if (contacts[i].firstName){
     if (contacts[i].prop){
       return contacts[i].prop;
     }else return "No such contact";


   }else return "No such property";
 } 



// Only change code above this line
}

// Change these values to test your function
lookUpProfile("Akira", "likes");
How do I make "Kristian", "lastName" return "Vos"?
JD Tadlock
@jdtdesigns
@TristanTaka The reality is this stuff takes a long time to learn for the average person. I'm 8 years in and still feel like a noob all the time. :D
@Hello911 You should be using bracket notation with the function params ;)
Hello911
@Hello911
 for(var i=0;i<contacts.length;i++){
   if (contacts[i][firstName]){
     if (contacts[i][prop]){
       return contacts[i][prop];
     }else return "No such contact";


   }else return "No such property";
 }
Like this? @jdtdesigns
Sono Oricco
@Bloemenstraat
Who is prolific using APIs ? I need help for a job, but only in pm, pliiiiz
JD Tadlock
@jdtdesigns
@Hello911 getting close