Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
  • 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
@AlexxMart - oh, I see what you're doing. You do not need to use JSON.stringify to access the data - you should just be able to access it directly from the JSON object - for example $(".country").html(json.sys.country); and so forth for all of the JSON data. Do that and it will not have the quotation marks, the strings will be handled as they normally are in JavaScript and the values will be written to your DOM elements as you have specified.
Alexx Martínez
@khaduch cool. I'll try that
Ken Haduch
@AlexxMart - happy to help you and check your project... good luck!
hey everyone
Olawale Akinseye
Hello @incognitonerd :)
Ken Haduch
@incognitonerd @brainyfarm - hello to both of you!
Hi everyone, I am creating a project similar to Hashnode.com but not for developers(for another target audience)and I was wondering which is better BS or MDL. I heard that MDL has a better performance since it relies on HTML and CSS only while BS relies on both HTML, CSS and JS. Any suggestions?
hey guys
Dušan Todorović
Can anyone suggest any CSS3 templates I can use to clone as practice? Mostly what I find online has some JS and I just wanna practice CSS3.
I mean, if you guys have a website that you occasionally go to when you want to clone something or something like that. Need a good source myself, not something random. Thank you!
// Setup
var collection = {
    2548: {
      album: "Slippery When Wet",
      artist: "Bon Jovi",
      tracks: [ 
        "Let It Rock", 
        "You Give Love a Bad Name" 
    2468: {
      album: "1999",
      artist: "Prince",
      tracks: [ 
        "Little Red Corvette" 
    1245: {
      artist: "Robert Palmer",
      tracks: [ ]
    5439: {
      album: "ABBA Gold"
// Keep a copy of the collection for tests
var collectionCopy = JSON.parse(JSON.stringify(collection));

// Only change code below this line
function updateRecords(id, prop, value) {
  if(value !== "" && prop !== "tracks"){
    collection.id.prop = value;

  return collection;

// Alter values below to test your code
updateRecords(5439, "artist", "ABBA");
why isnt my function working?
Jan Shah
@wnghero use brackets instead of dots when using variables to call an object
ahh ok thankyou
Hey, anyone knows about react-router-v4? I dont know how can I pass some props to a <Route/> element
@GabriRa use render instead of component https://reacttraining.com/react-router/web/api/Route/render-func
@alpox I have tried, but I couldn't make it work, will check the docs and try again
@alpox Okey, I think I got it now, thanks for making me look at it again!
gabrira sends brownie points to @alpox :sparkles: :thumbsup: :sparkles:
:star2: 1333 | @alpox |http://www.freecodecamp.com/alpox
@GabriRa np :-)
Renato Francia Castillo
Hello Everyone :)
Is anyone here familiar with SMACSS?
I'm trying to find a similar architecture to organize JS files
Cheers :smile:
Does anyone know why I just can't change the width and height of a form of a table label?
the width and height of a form or a table label?
@Amandaan height and width should work on <form> elements. <label> is for <input> elements though. Maybe we need to see your code to know what's going on.
屏幕快照 2017-09-25 下午3.53.53.png
屏幕快照 2017-09-25 下午3.54.54.png
@Amandaan That should result in an orange square 393px wide with 65px height
You are missing a closing </table> though
<div class="rfloat">
  <form action="https://www.facebook.com/login.php?login_attempt=1&lwv=110">
    <table cellspacing="0">
I folded the table
Here's what I see - maybe you need to put everything in a codepen to see if something else is causing a conflict. https://codepen.io/anon/pen/vegmNq
would help to debug if it's in codepen/jsfiddle/etc
Thank you! I'll check that later
You're right. The table element should be 393px for width and 65px for height. But then I checked that in the browser
The values still didn't change. They remained the same as they were.
still 393px for width, and 83px for height....
Hey guys check out my website I need criticism It's the last one I promise (I used SCSS this time) https://codepen.io/Mr_Evers/pen/eGgWKj thanks in advance
its not finished yet btw
@Koderkid1936 looks good. at smaller screen sizes, the icons and text in the footer overlap
@gothamknight yeah I need to fix that, I usually dont run into these problems but I build the footer and nav ul's with flexbox this time around I'm not exactly sure how to go about fixing it yet but I'll manage it eventually
@Koderkid1936 have you considered using vw unit for your font size ?
@Gersho is vw short for viewport? if it is then I'm sorry but I hve never heard of giving a font a value of 'vh'
I thought they only take 'em' 'rem' '%'and 'px' @Gersho
yes that's viewport (https://www.w3schools.com/cssref/css_units.asp) i don't know if it's good practice or not, but it works on fonts
thanks I'll check it out