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
Sorin Ruse
@sorinr
@silentarrowz just add jquery and bootstrap.js to your settings and read http://getbootstrap.com/components/#navbar
faraz
@silentarrowz
@sorinr yeah, I have read it but I dont know which part I am missing. could you tell?? I have been racking my brains at it for too long now
Sorin Ruse
@sorinr
@jenishm thats because u probably have validate on it. its a normal behaviour
@silentarrowz as i said. add to your settings first jquery then bootstrap.js
Jenish
@jenishm
@sorinr I wish to store the signup form details in local storage, is it possible?
Islam Ibakaev
@dagman
why to use pseudo-classical style in javascript if we can do something like this https://repl.it/C8Q7. I am not saying this looks excellent but you get the point, ain't u?
faraz
@silentarrowz
@sorinr ok, bootstrap was already added, but i still added the latest version and then I added both jquery and jquery ui to the settings. but it still doesnt work
Sorin Ruse
@sorinr
@jenishm yep. u can use something like: localStorage.setItem('myCat', 'Tom'); in your js where 'myCat is the key and 'Tom' is the value
@silentarrowz its working. just try to make your window smaller to be triggered
Jenish
@jenishm
@sorinr Is this correct: function store() {
localstorage.setItem('username', username.value);
localstorage.setItem('password', password.value);
faraz
@silentarrowz
yeah, but when I click on the hamburger toggle button it doesnt do anything. @sorinr
and my boxes and images in portfolio are becoming too small still. @sorinr
Sorin Ruse
@sorinr
@jenishm it is setItem or getItem. function should be camel case
@silentarrowz then use a @media query and setup your css to behave the way you want .
Jenish
@jenishm
@sorinr I have put it in camel case itself, however, I am unable to make it work somehow...
Sorin Ruse
@sorinr
@jenishm how do you know its not working?
faraz
@silentarrowz
@sorinr hmm, I was thinking the same. could you tell me if we are supposed to put the media queries at the end of our css i.e after we have already done the styles
at the end of the styles page that is?? @sorinr
Jenish
@jenishm
@sorinr When I fill up the sign up page.
Ralph Nahra
@Rallph
Hey guys for the personal portfolio page, does it actually have to look good?
Sorin Ruse
@sorinr
@silentarrowz u can put it wherever u want butbe aware that every pice of styling made inline like <div style="mu f..king style here" will take precedence
faraz
@silentarrowz
@sorinr ok, got it. thanks
CamperBot
@camperbot
silentarrowz sends brownie points to @sorinr :sparkles: :thumbsup: :sparkles:
:cookie: 417 | @sorinr |http://www.freecodecamp.com/sorinr
Sorin Ruse
@sorinr
@jenishm i mean where do you look to see if the values are in the local storage or not?
Dylan
@dhcodes
@sorinr right
Jenish
@jenishm
@sorinr it should be in js file itself right?
Sorin Ruse
@sorinr
@jenishm nope. the js function its just writing to your client storage that info. to test on your computer just go F12->resources and open local storage there and see whats in there
@dhcodes do it tomorrow morning at the coffee time :)
Damian Collier
@damianpcollier
Hello
Jenish
@jenishm
@sorinr thank you so much
CamperBot
@camperbot
jenishm sends brownie points to @sorinr :sparkles: :thumbsup: :sparkles:
:cookie: 418 | @sorinr |http://www.freecodecamp.com/sorinr
Damian Collier
@damianpcollier

I'm trying to create a page with a fixed header and seem to be having an issue getting started. See code below. This just seems to fill a page and does not allow scrolling.
Any thoughts on where I am going wrong please?

http://codepen.io/collierd/pen/vKmqkO

Sorin Ruse
@sorinr
@jenishm welcome.
@damianpcollier u r opening 3 <div> tags but closing only 2 </div>.
Damian Collier
@damianpcollier
@sorinr the header class opens and closes on the same line
Sorin Ruse
@sorinr
@damianpcollier yep. sorry but you nested your <div class="content"> within ur <div class="header-cont"> that have a fixed position. so all inside class=header-cont will not move
Damian Collier
@damianpcollier
Perfect, go it - thanks!
Thanks @sorinr
CamperBot
@camperbot
damianpcollier sends brownie points to @sorinr :sparkles: :thumbsup: :sparkles:
:cookie: 419 | @sorinr |http://www.freecodecamp.com/sorinr
MarkHR
@MarkH16
Hey guys,how do i make the "Check out his inventions" respond on smaller devices so it scales?Tried using @media but didn't quite work,don't know how to use it.Also when I'm editing in Atom the font isn't applied but in codepen it is?What's up with that?http://codepen.io/MarkHCP/pen/OXWoeJ
Sorin Ruse
@sorinr
@MarkHgit in your @media (max-width: lets say 600px;) { make your h1{ font size: 0.8rem;} you can play with 0.8rem value to suit ur needs
MarkHR
@MarkH16
@sorinr Ahh thanks worked like a charm.Any idea for the font problem?
CamperBot
@camperbot
:cookie: 420 | @sorinr |http://www.freecodecamp.com/sorinr
markhgit sends brownie points to @sorinr :sparkles: :thumbsup: :sparkles:
Sorin Ruse
@sorinr
@MarkHgit whats the font problem?
MarkHR
@MarkH16
@sorinr I edit all of my code in Atom then paste it in codepen.In atom when i preview the code in a browser the font isn't applied but in codepen it is?
Blake Geraci
@bgeraci714
Wait, so it doesn't work outside of codepen and then works when you copy and paste it in?