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
HansGrubername
@HansGrubername
@Marianissimus @dardandmr those two suggestions did the trick, cheers!
Abdullah
@AbdullahChaudhry
@HansGrubername When you use concat it will return a string but you are not adding that string to deciphered variable.
Unknown
@Unknownhezipaz
is this page for php help
Puneeth N
@puneethnviraat
hello friends..i have problem,,I.e . if i dislplay the data in html page from the js file,,it's closing immidiatly.. fractionof second json div is closing..i have to display the json data..please help me. 'code'

function details(i){
var details;
var obj = data.pokemon[i];
for (var key in obj){
var value = obj[key];
if(key=="next_evolution"){
details +=" <br><br>next_evolution";
for (var j = 0; j <= data.pokemon[i].next_evolution.length; j++){

var objj = data.pokemon[i].next_evolution[j-1];
for (var key in objj){
var value = objj[key];
details += "<br> " + key + ": " + value;}

}}
else if(key=="prev_evolution"){
details += "<br> <br>prev_evolution";
for (var j = 0; j <= data.pokemon[i].prev_evolution.length; j++){

var objj = data.pokemon[i].prev_evolution[j-1];
for (var key in objj){
var value = objj[key];

 details += "<br>  " + key + ": " + value;}

}}
details += "<br> " + key + ": " + value;
}
document.getElementById("details").innerHTML =details;
}

};

Kaz Baig
@kbaig
@puneethnviraat would be easier if you could provide a pen with the code or something
Puneeth N
@puneethnviraat
@kbaig ok..sure
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!