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
newmoon
@newmoon
In general, try to avoid specific widths in pixels, large margins, and watch for word wrapping properties, but most of the time, overflow issues are kind of unique depending on the code.
Christopher
@bradley1492

@newmoon ooh yes thats right I thought I was smart using grid to line up those too :D

okok so I guess I'll have to learn to deal with them

@newmoon thanks for the help
newmoon
@newmoon
Any time @bradley1492 This is an alternate approach with inline-block elements. No grid, flex, or absolute + relative positioning: https://codepen.io/anon/pen/JaYRqb?editors=1100
Christopher
@bradley1492
@newmoon oh very interesting
@newmoon so it's not always the best to use grid or flexbox, but as least as possible?!
newmoon
@newmoon
They're great tools, nothing wrong with using them, but they do add more stuff to learn and know how to use on top of the basics. Sometimes the basics are all that's needed. @bradley1492
Christopher
@bradley1492
@newmoon Alright makes sense
@newmoon Would you consider the example to be more advanced than a flexbox grid method?
AJ Brommy
@AJ-Brommy
I just added Normalize to my pen thinking it would help me space things as I want... nope.. still getting problems with these collapsing margins. I just don't get it. nor why others don't seem to be having this problem!? lol
AJ Brommy
@AJ-Brommy
So it turns out Normalize doesn't default heading margins to 0px; because as soon as I put margin :0; on my h3 poof the problem has gone. tho also i need to do it on hr to get things exact. but i think i've no come up with a better page layout which will remove hr so lets see how that goes.
Bharath Kumar Reddy
@reddy-bharathkumar
guys, can someone please check my code and help me. I am not able to select the radio buttons properly, not sure what I'm missing
https://codepen.io/reddy-bharathkumar/full/xawxbJ
Thorbjørn Bruarøy
@The2rB
I'm able to select them (as in click on them - and they get selected)
Bharath Kumar Reddy
@reddy-bharathkumar
in correct order?
like, if I select the first radio button it's highlighting the 3rd one in my case
Michael
@Jumbledwords
Hi. I'm working on the Product Landing Page Project, and I was wondering if anybody could give me any ideas about a product that has plenty of not copyrighted material to work with
nevermind, I've got an idea
newmoon
@newmoon
@bradley1492 There may be more CSS depending on the layout required, but not necessarily more advanced. Knowing how to work with inline vs block elements is important whether you use flexbox/grid or not.
AJ Brommy
@AJ-Brommy
@reddy-bharathkumar I can't see the problem :/
Bharath Kumar Reddy
@reddy-bharathkumar
Hi, it's working fine now..
thanks
Gianpaolo
@gianpaolodatu
Guys I have a question about the Survey Project. one of the test suit's requirements is "13. Inside the form element, I can select a field from one or more groups of radio buttons. Each group should be grouped using the name attribute." so I wrote this piece of HTML
<label for="definitely">
<input id="definitely" type="radio" name="recommend"> Definitely
</label>
<label for="maybe">
<input id="maybe" type="radio" name="recommend">Maybe
</label>
<label for="not-sure">
<input id="not-sure" type="radio" name="recommend">Not sure
</label>
Yet it still doesn't pass as right, any idea why?
Christopher McCormack
@cmccormack
@gianpaolodatu you can usually click on the failed test and get a more specific reason why it failed
@gianpaolodatu also don't wrap your inputs in a label
the text should go within the label element but the input does not
hmm scratch that, I guess you can do it either way
if you nest it like that you don't need the for attribute however
Gianpaolo
@gianpaolodatu
I'm following the example from the Basic HTML lessons...
What is the other way?
Christopher McCormack
@cmccormack
<label for="not-sure">Not sure</label>
<input id="not-sure" type="radio" name="recommend">
Gianpaolo
@gianpaolodatu
Got it, thanks
Christopher McCormack
@cmccormack
I believe for allows you to click the text to select the input
but if you wrap it you don't need it
newmoon
@newmoon
It's valid either way - pros and cons to each approach
Christopher McCormack
@cmccormack
This probably wont resolve your issue, just noticed it
newmoon
@newmoon
If you want the label somewhere else on the page, don't wrap it around the input. Otherwise, it's perfectly valid.
Christopher McCormack
@cmccormack
@newmoon yeah I did correct myself above
newmoon
@newmoon
Yep, clarifying for @gianpaolodatu not you @cmccormack :p
Christopher McCormack
@cmccormack
I always thought it was weird having a text and an input sibling
newmoon
@newmoon
The text does feel orphaned that way
Like, I need a span around the text or something lol
Christopher McCormack
@cmccormack
right? That's what the label is for!
that's why I don't nest personally
also makes it easier to add margins/etc...
newmoon
@newmoon
I think Materialize requires it nested for their label effects, but I may be wrong. That's where I first saw it that way
No, I'm wrong. Not sure where I saw it that way.
Gianpaolo
@gianpaolodatu
Ah got it, "All your radio-buttons must have a value attribute : expected 3 to equal 0 "