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
Gulsvi
@gulsvi
Add some padding it to push it down below your navbar
And give your navbar a z-index so stuff stays behind it
Dillon Orr
@dillorr
thanks @SkyC0der !
CamperBot
@camperbot
dillorr sends brownie points to @skyc0der :sparkles: :thumbsup: :sparkles:
:star2: 1569 | @skyc0der |http://www.freecodecamp.com/skyc0der
Amit Patel
@AmitP88
@dillorr for sure, I'll see if I can break the list into two columns only for laptop/desktop screens. I'm hoping I can get this portfolio site done by early tomorrow so I can start applying for junior positions asap lol
Gulsvi
@gulsvi
No problem! I like the easy questions
@AmitP88 This one has a similar feel to what you're doing - would be nice to move your sections over the first header image you have: https://vickylai.io/
The portfolio images could use some more padding/margins between them - they are a bit big in my opinion, but overall great work.
Dillon Orr
@dillorr
@AmitP88 good luck with the rest of your project, and good luck with the job hunt
fdemaa
@fdemaa
@SkyC0der thanks sky! one last thing that is bother me is that when i rezie the browser to the range of xs to md i have a scroll bar on the bottom :
CamperBot
@camperbot
fdemaa sends brownie points to @skyc0der :sparkles: :thumbsup: :sparkles:
:star2: 1570 | @skyc0der |http://www.freecodecamp.com/skyc0der
Gulsvi
@gulsvi
@fdemaa This trick helps me debug those issues - add this to your CSS:
* {
  border: 1px solid black;
}
It will put a border around everything and show you what element is going off the page.
fdemaa
@fdemaa
Ah thats nice
!!
thanks
that * is like a selector for all things ?
Amit Patel
@AmitP88
@SkyC0der yeah, I had a feeling the portfolio images were a bit claustrophobic lol. also, what do you mean by moving the sections over the first header image? I'm not sure if I can do that since the image in the 2nd section is also parallax
@dillorr thanks bro! :D
CamperBot
@camperbot
amitp88 sends brownie points to @dillorr :sparkles: :thumbsup: :sparkles:
:warning: amitp88 already gave dillorr points
Gulsvi
@gulsvi
@AmitP88 Hmmm, I guess yours is similar in that regard. I think she has so much more contrast, it jumped out at me as a little more 'parallaxy' I guess :p
Amit Patel
@AmitP88
@SkyC0der lol she does use a lot of white
@SkyC0der I tried making my site like that once and all that white hurt my eyes haha
Gulsvi
@gulsvi
I think I would go darker for my portfolio for sure :) @AmitP88
This one is fun: http://jakealbaugh.com/
Amit Patel
@AmitP88
@SkyC0der oh that is crazy! damn, I wish I could do that haha. that guy is definitely experienced
Gulsvi
@gulsvi
Yeah, that guy has some talent lol
Amit Patel
@AmitP88
@SkyC0der lol I always have to google what I want to do if I want to incorporate css animations
Gulsvi
@gulsvi
This one is great too: http://getcoleman.com/
Very simple, nice slider, and advertises what he does
Amit Patel
@AmitP88
lmao that's wacky as hell
Josh Beasley
@joshbeasley
I'm having some trouble setting up the navbar for my portfolio page. I want to pull some of the pills to the right but the class isn't working.Any ideas? https://codepen.io/joshbeasley/pen/ybddJV
Adam
@adamakers

quick question on prototypes...
Lets say I have this code:

function Person(saying) {
  this.saying = saying;
  this.tacos = 'taco express';
  this.me = false;
}

Person.prototype.talk = function() {
  console.log('I say: ' + this.saying);
}

console.log(Person.prototype);

it returns the Person function object, but without any of the properties, just the method. Anyone know why?

mboesiger90
@mboesiger90
help I am stuck with the random quote machine. It does not generate a code with this:

$(document).ready(function(){
$.ajax({
type: 'GET',
dataType: 'json',
url: '/wp-json/posts?filter[orderby]=rand&filter[posts_per_page]=1',
success:function(data){
$(".quote").html(data.qouteText + "<br>" + data.qouteAuthor)
}
});
$("#getQoute").on("click", function (){

$.ajax({
type: 'GET',
dataType: 'json',
url: '/wp-json/posts?filter[orderby]=rand&filter[posts_per_page]=1',
success:function(data){
$(".quote").html(data.qouteText + "<br>" + data.qouteAuthor)
}
});
cache: false;
});
});

ZaynMalloc
@ZaynMalloc
@adamakers I think the problem might be that you did not create a new person object.
fdemaa
@fdemaa
using negative margins is not a good solutions right ? xd
ZaynMalloc
@ZaynMalloc

@adamakers function Person(saying) {
this.saying = saying;
this.tacos = 'taco express';
this.me = false;
}

Person.prototype.talk = function() {
console.log('I say: ' + this.saying);
}

var newPerson = new Person('Hello')

console.log(newPerson.talk());

Dillon Orr
@dillorr
What's the best way to add a headshot to my portfolio page? i have an image hosted on google images but none of the links work
I can't get a direct link to the image
had the same issue with imgur
Gulsvi
@gulsvi
@joshbeasley This section of the Bootstrap docs talks about aligning your nav components: https://v4-alpha.getbootstrap.com/components/navs/#horizontal-alignment
Adam
@adamakers
@ZaynMalloc it does similar thing here:
function Person(name, gender) {
  this.name = 5;
  this.gender = 5;
}
Person.prototype.lastname = 'marsh';
Person.prototype.introduce = function() {
  console.log('Hi my name is ' + this.name + ' and I am a ' + this.gender);
}

var stan = new Person('Stanley', 'male');

console.log(Person.prototype);
Gulsvi
@gulsvi
@mboesiger90 Hint - the URL you have should start with https:// your URL is:
'/wp-json/posts?filter[orderby]=rand&filter[posts_per_page]=1'
@dillorr Use a service like https://postimage.org, that's what most people use here without any issues.