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
h1tag
@h1tag
@puneethnviraat I can't test it like this, because the data is on you local storage
Puneeth N
@puneethnviraat
k
h1tag
@h1tag
@puneethnviraat can you paste the content of the json file in the js section on codepen?
store it in a variable
Puneeth N
@puneethnviraat
yes i added
LydaTech
@lydatech
anyone work with styling html5 video ?
Stephen James
@sjames1958gm
@puneethnviraat You need to disable default behavior of forms
Kaz Baig
@kbaig
@puneethnviraat when you submit a form, the page refreshes
Stephen James
@sjames1958gm
@puneethnviraat use preventDefault function
Puneeth N
@puneethnviraat
oh sorry..
i refreshed it
@sjames1958gm how can o do that .
dinesh
@1532j0004kg
I explored on o auth (google+) but i need to know , how to use multiple strategies ?
and how to interrelate all
like if i signedup with fb , I can also able to login with google+.
and also how to use both local and oauth strategies .
h1tag
@h1tag
@puneethnviraat or try this
dinesh
@1532j0004kg
@sjames1958gm
Stephen James
@sjames1958gm
@1532j0004kg I have not delved into the auth topic
dinesh
@1532j0004kg
ohh ok
Stephen James
@sjames1958gm
@1532j0004kg I would assume for an individual user you would only use one strategy
dinesh
@1532j0004kg
ya but some of the websites using multiple strategy
as well as local strategy
Stephen James
@sjames1958gm

@puneethnviraat You can do something like this

    <button onclick=" namesDetails(document.getElementById('name').value);return false;">Enter name</button>

if your onclick returns false then the default behavior is blocked

h1tag
@h1tag
@puneethnviraat sorry, disregard my answer, it doesn't work
DarkxPunk
@DarkxPunk
Good day everyone!
h1tag
@h1tag
@puneethnviraat nvm, the answer from stackoverflow works or what Stephen said
@DarkxPunk hello!
LydaTech
@lydatech
so i have a div with a <video> in it. The div takes up 60vh and 100vw.i cant get the video to go full width and clip the bottom to contain in the div. Any ideas? Is that clear?
Sorin Ruse
@sorinr
@lydatech so you need the video to be both 100vw and 60vh no matter the aspect ratio of the video?did i got it right?
Kaz Baig
@kbaig
@lydatech any chance you could stick it in a pen? might help to visualize it
LydaTech
@lydatech
@sorinr yes to the 100vw it can clip the bottom or top ect but has to fill the parent div
@kbaig problem is the size of the video
Sorin Ruse
@sorinr
@lydatech can you help us with an external video link as an example?
LydaTech
@lydatech
yep give me a minute ill set it up
Sorin Ruse
@sorinr
ok. want to achive something similar to https://videos.pexels.com/ ?
LydaTech
@lydatech
@sorinr YES! lol
Sorin Ruse
@sorinr
take a look at http://www.coverr.co/
@lydatech especially the "How to use" part on the bottom of the page
LydaTech
@lydatech
@sorinr awesome. Ill check it out. Thank you
CamperBot
@camperbot
lydatech sends brownie points to @sorinr :sparkles: :thumbsup: :sparkles:
:star2: 1403 | @sorinr |http://www.freecodecamp.org/sorinr
Sorin Ruse
@sorinr
@lydatech :+1:
LydaTech
@lydatech
@sorinr That was exactly what I needed
Sorin Ruse
@sorinr
@lydatech glad i could help.
DarkxPunk
@DarkxPunk
So community I was working last night on a pure css system for hide and show and have been trying to overcome some hurdles. Anyone wanna have a look and provide some feedback?
Sorin Ruse
@sorinr
share the link
There are two systems here, one using radio and :checked the other :target
I am leaning more on the target system because it lets me link anywhere in the page quite easily.
First issue I overcame (kinda) was having the first input data to appear when the page loads and disappear when the other data is targeted
Though I had to flip the data order XD