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
Ken Haduch
@khaduch
@sorinr - neat site!
Sorin Ruse
@sorinr
@khaduch just fulling around today with html tags, css and a little jq. thank you
CamperBot
@camperbot
sorinr sends brownie points to @khaduch :sparkles: :thumbsup: :sparkles:
:star2: 1494 | @khaduch |http://www.freecodecamp.com/khaduch
Ken Haduch
@khaduch
@sorinr - one thing that is a little disturbing is that if you go from, say, the "ABOUT" page to the "PORTFOLIO" page, a scroll bar pops up and shifts the background. Everything else is so clean. A great little project!
Sorin Ruse
@sorinr
@khaduch i've seen that. but my idea was to make all the project (still unfinished) using just two html tags (an inline <span> and <input> that i cannot recreate otherwise :) i didn't paid attention to rest of aspects
Ken Haduch
@khaduch
@sorinr - I just thought you might have some way to fix it... it's a very cool concept.
Sorin Ruse
@sorinr
@khaduch i think its all about the background img. i'll fix it. even i will make some other versions using only tags like <a>
Ken Haduch
@khaduch
@droidvoider - they use one of the Bootstrap classes on a div to enclose the whole page content - <div class="jumbotron">. It doesn't look like you have balanced tags to close all of your divs that you currently have. But this jumbotron div should be the next in the hierarchy after your "container" div.
@droidvoider - oh, I see that you are not using Bootstrap, or are not including it in your CSS settings. If you are trying to use Boostrap classes, then you have to include it. If you are not using bootstrap classes, then you need to mimic the setup for the "jumbotron" div, which sets the background-color to a light gray value.
backspaceit
@backspaceit
Hello, could I get a pointer please, I'm trying to check for a property in an object, if its not there I need to then create it. But the new property is an array, this is what I have so far - else if (prop === "tracks" && collection[id].hasOwnProperty("tracks") === false) {
var newArray = [];
collection[id].push(newArray);
So the object is called correction and I want to push the "tracks" value into it as an empty array
Collection!
Nathaniel
@DeathStarGnR
Hello, I am working on the random quote machine project. I am attempting to do it using an api, and I got my function working that pulls in the quote, but it will only work once. clicking the button a second time doesn't do anything, or if i call the function when the page loads, the button will not work at all. any pointers would be much appreciated. http://codepen.io/nsbailey2010/pen/bZrgEY
Luke
@lukenetti3
Hi guys, I am working on the twitch.tv project. Can anyone help me get started on how I would do a live search? Read some stuff online but still don't quite understand it. http://codepen.io/lukenetti3/pen/oLEmYK?editors=1000
Luke
@lukenetti3
@DeathStarGnR You need a random number generator after your api call. So in your function just make a random number variable and make it roughly like 30 numbers(not sure how big your son object is) and then concatenate that with the end of the url call.
@DeathStarGnR I would also advise taking your function out of the document ready call. So just have your function first, then add your document.ready call with the function name inside of it. Then after that, have your click event. Does that make sense?
Troy
@Socrates714
I need help getting my buttons to scroll to various divs on my web page with jquery. I am on the personal portfolio page challenge. I copied and edited some code from stack overflow to the best of my abilities but it isn't working. Here is my codepen: https://codepen.io/Socrates714/pen/EybzRV
How do I get the buttons to scroll?
_
Luke
@lukenetti3
@DeathStarGnR So ".....callback=" + randNum. This will concatenate a random quote each time.
@Socrates714 So for each section I would label it. So for your About Me I would id="section1" and so on for as many sections as you want. Then in your navbar element make an "<a>" element inside your <li> for your different headers, and put an href="#section1" in that. So when that is clicked it will take you to that section. Does that make sense?
Nathaniel
@DeathStarGnR
@lukenetti3 Thanks. I will give a shot. I had it outside the document.ready at one point but have been moving it around trying different things. I will give the randNum thing a try, but it confuses me because the function generates a different quote each time I refresh the page, or if I call the function multiple times, but not when I click the button.
CamperBot
@camperbot
deathstargnr sends brownie points to @lukenetti3 :sparkles: :thumbsup: :sparkles:
:cookie: 282 | @lukenetti3 |http://www.freecodecamp.com/lukenetti3
Troy
@Socrates714
@lukenetti3 Not remotely. Can you explain more? I feel like the front end stuff didn't teach me how to do this yet.
Luke
@lukenetti3
@DeathStarGnR Yeah because when you click the button its running the same number through each time. If you just manually enter numbers in after "callback=1" and save and refresh the page and keep changing that number. That is using a different quote. So when you refresh the page its changing the number but when you click and the function runs again its using the same number thus not changing the quote.
@Socrates714 http://v4-alpha.getbootstrap.com/components/navbar/ This explains a little better than I do. If you scroll down a little the first section of code has different lists for the headers. In each "a" element it also has an href="#" after that pounds sign, put your section id.
Troy
@Socrates714
@lukenetti3 Thank you. I will take a look.
CamperBot
@camperbot
socrates714 sends brownie points to @lukenetti3 :sparkles: :thumbsup: :sparkles:
:cookie: 283 | @lukenetti3 |http://www.freecodecamp.com/lukenetti3
Luke
@lukenetti3
@Socrates714 Yeah Free Code Camp is awesome and I love it, but it does require a lot of outside reading and asking for help ha! Just learning to google things and ideas and weeding through articles will help
@Socrates714 If you really get stuck, you can look at mine a little to help you out. http://codepen.io/lukenetti3/pen/ZOzEvb
Troy
@Socrates714
@lukenetti3 Thanks. I opened your page in a tab as well
CamperBot
@camperbot
socrates714 sends brownie points to @lukenetti3 :sparkles: :thumbsup: :sparkles:
:warning: socrates714 already gave lukenetti3 points
Luke
@lukenetti3
@Socrates714 No problem! Good luck!
hakimnasir
@hakimnasir
does anyone here have experience with amazon api?
Mikail Bayram
@mikail1998
No but maybe we can help
@hakimnasir
It cant be that different from the others :P
Troy
@Socrates714
@lukenetti3 Ok that worked but it's scrolling to the middle of my about section rather than the top. How do I get it to scroll to the top of the about section?
hakimnasir
@hakimnasir
@mikail1998 thanks. I just want to practice with different api's. I know a lot of api's are available publicly to use right away like yahoo weather and others. My main questions is how do you get access to amazon api. For example, if i want to use that api to look up price by UPC?
CamperBot
@camperbot
hakimnasir sends brownie points to @mikail1998 :sparkles: :thumbsup: :sparkles:
:cookie: 230 | @mikail1998 |http://www.freecodecamp.com/mikail1998
Luke
@lukenetti3
@Socrates714 Make sure your id to reference the section is the first thing in that sections. So the id for that section is first and then everything else in the section comes after.
Troy
@Socrates714
@lukenetti3 Does my code not do that? I put the id in the div for the section. Should I put it for the h2?
Sorin Ruse
@sorinr
hi there. here is a variation on using html tags. any feedback will be appreciated.: http://codepen.io/sorinr/pen/KrBmBg
Mikail Bayram
@mikail1998
@hakimnasir http://docs.aws.amazon.com/AWSECommerceService/latest/DG/EX_LookupbyUPC.html here is some documentation about that you can check it out
Troy
@Socrates714
@lukenetti3 Also, I just tried setting it as the h2 and it still only scrolls to the middle of the section...
Mikail Bayram
@mikail1998
@hakimnasir there is an example of the api call and all needed info