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
@majedmahmood27 no, try the main room or the backend room
Puneeth N
@puneethnviraat
@kbaig please
asmith1000
@asmith1000
hi! can you tell me why my button looks weird like a default button with a background and not like the styled button shown here https://www.w3schools.com/css/tryit.asp?filename=trycss_buttons_basic
https://codepen.io/asmith1000/pen/yKOYyq Thanks!
Marianissimus
@Marianissimus
@asmith1000 you're styling the parent of the button, not the button itself
replace .lowerbuttons with button and see the difference
asmith1000
@asmith1000
thanks!
dinesh
@1532j0004kg
@khaduch :+1:
@khaduch thanks
CamperBot
@camperbot
1532j0004kg sends brownie points to @khaduch :sparkles: :thumbsup: :sparkles:
:star2: 3795 | @khaduch |http://www.freecodecamp.org/khaduch
h1tag
@h1tag
@puneethnviraat where are you getting the data from?
Puneeth N
@puneethnviraat
@h1tag i had attached json file ..
h1tag
@h1tag
@puneethnviraat and the file is on your local storage?
Puneeth N
@puneethnviraat
the problem is the data is displaying and immidiatly got closed with in fraction of time. i mean it's like a flashing..
yes..
just i want it to be stay in div,..div should not close..help me..please
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/ ?