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
@incognitonerd @brainyfarm - hello to both of you!
JulienZiadeh
@JulienZiadeh
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?
Jorge
@flawedLogic506
hey guys
Dušan Todorović
@krckyboy
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!
wnghero
@wnghero
// 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: [ 
        "1999", 
        "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
@JanShah
@wnghero use brackets instead of dots when using variables to call an object
collection[id][prop]
wnghero
@wnghero
ahh ok thankyou
GabriRa
@GabriRa
Hey, anyone knows about react-router-v4? I dont know how can I pass some props to a <Route/> element
alpox
@alpox
@GabriRa use render instead of component https://reacttraining.com/react-router/web/api/Route/render-func
GabriRa
@GabriRa
@alpox I have tried, but I couldn't make it work, will check the docs and try again
GabriRa
@GabriRa
@alpox Okey, I think I got it now, thanks for making me look at it again!
CamperBot
@camperbot
gabrira sends brownie points to @alpox :sparkles: :thumbsup: :sparkles:
:star2: 1333 | @alpox |http://www.freecodecamp.com/alpox
alpox
@alpox
@GabriRa np :-)
Renato Francia Castillo
@rmfranciacastillo
Hello Everyone :)
Is anyone here familiar with SMACSS?
I'm trying to find a similar architecture to organize JS files
Cheers :smile:
Amanda
@Amandaan
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?
piteto
@piteto
@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.
Amanda
@Amandaan
屏幕快照 2017-09-25 下午3.53.53.png
屏幕快照 2017-09-25 下午3.54.54.png
piteto
@piteto
@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">
    </table>
  </form>
</div>
Amanda
@Amandaan
I folded the table
piteto
@piteto
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
Amanda
@Amandaan
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....
Koderkid1936
@Koderkid1936
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
iso
@iso1048
@Koderkid1936 looks good. at smaller screen sizes, the icons and text in the footer overlap
image.png
Koderkid1936
@Koderkid1936
@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
Gersho
@Gersho
@Koderkid1936 have you considered using vw unit for your font size ?
Koderkid1936
@Koderkid1936
@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'
'*vw'
I thought they only take 'em' 'rem' '%'and 'px' @Gersho
Gersho
@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
Koderkid1936
@Koderkid1936
thanks I'll check it out
Gersho
@Gersho
you can try it on my pen https://codepen.io/Gersho/pen/qPqRMj?editors=0110
(the maintitle class)
sometimes cloud appear out of nowhere, but it's really cool looking
Koderkid1936
@Koderkid1936
I've been dabbling with CSS animations recently (but this was just so I could add hover effects on some elements ) just wanted to share https://codepen.io/Mr_Evers/pen/XepdjY