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
Kevin
@KevinBruland
@mor1990 im 90% sure its the form
@mor1990 and form control
@mor1990 delete the form element entirely and then try :)
@mor1990 just leave the inputs there
mor1990
@mor1990
@Benalron thanks for the response, I'll give it a try
CamperBot
@camperbot
mor1990 sends brownie points to @benalron :sparkles: :thumbsup: :sparkles:
:cookie: 393 | @benalron |http://www.freecodecamp.com/benalron
Kevin
@KevinBruland
@mor1990 you are lucky that I specifically dealt with <form> screwing up a wikipedia viewer page... took me a while to figure it out the first time
@mor1990 since I was so used to starting at the JS
Luke
@lukenetti3
@mor1990 Yeah if you just change that form element to a div element it gets the results
mor1990
@mor1990
@Benalron It worked, thanks again.
CamperBot
@camperbot
mor1990 sends brownie points to @benalron :sparkles: :thumbsup: :sparkles:
:warning: mor1990 already gave benalron points
Kevin
@KevinBruland
@mor1990 NP
Luke
@lukenetti3
Can anyone help me with my Wikipedia Viewer. The code works fine, but my Javascript is a little messy. Any tips on how to clean up the .append section?http://codepen.io/lukenetti3/pen/akwEQk?editors=0010
Taras Yaremkiv
@Y-Taras

Hello everyone. I was trying to make my background change on button click but it changes only one time. Any suggestions what it wrong in my JS code?

function removeBackground() {
    "use strict";

    var newColor = document.getElementsByTagName('p');
    var url1 = "url('http://saunders1865.com/wp-content/uploads/2014/10/poppy.jpg')";
    var url2 = "url('http://wallpapercave.com/wp/w9yJH4s.jpg')";

    function changeImage() {
        var temp = document.getElementsByClassName('demo-layout-transparent')[0];
        var newImage = temp.style.backgroundImage;
        if (newImage == url1) {
            newImage = url2;

        } else {

            newImage = url1;
            console.log('url1 ', url1);
            console.log('newImage = ', newImage);
        }

        temp.style.backgroundImage = newImage;
    }
    changeImage();

    for (let i = 0; i < newColor.length; i += 1) {
        newColor[i].style.color = "blue";
    }

}

a link to the page on the codepen is http://codepen.io/Y-Taras/pen/rLJPxd

Bhushan933
@Bhushan933
Hi
Replace these two lines
the double quote is the diference
use outside single quote and inside single quote
I hope you got it ... are you?
Taras Yaremkiv
@Y-Taras
Nope
as far as I concerned
One can't use inside and outside doublequotes ore singlequotes
Bhushan933
@Bhushan933
no it will not create a problem, believe me it will work :)
blob
check out this image
click on it ... it will open in new tab
Taras Yaremkiv
@Y-Taras
@Bhushan933 thanks) its unbelievable but it works
CamperBot
@camperbot
:warning: could not find receiver for bhushan933
y-taras sends brownie points to @bhushan933 :sparkles: :thumbsup: :sparkles:
Bhushan933
@Bhushan933
you welcome :)
Taras Yaremkiv
@Y-Taras
@Bhushan933 it happend because in the url we must use double quotes?
Bhushan933
@Bhushan933
yes, when you access the background property ... by default it wrap it in double quote
but I think you should use a flag rather than checking a background Image property
Marc Vesper
@marcvesper
for the twitch api project, is it possible to make a single call for multiple stream objects, or will i have to iterate calls for each streamer in my array?
Kevin
@KevinBruland
@marcvesper as far as I know, iterate for each streamer
@marcvesper same for channel info, no way to combine them unfortunately
Marc Vesper
@marcvesper
@Benalron cheers, thought as much
Muhammad Hasham
@MohammadHasham
how can i get geo location and use it in my local wweather machine??
Stephen James
@sjames1958gm
@MohammadHasham If you are not using chrome (or are able to use https) - then use the geolocation api in the browser. Else, you can use something like http://ip-api.com/jsonwhich is by IP address an less accurate but enough so for the project
Daniel Sousa
@dgsousa
Hey guys, does anyone know why font-size might be unresponsive inside the scope of a controller in angularjs?
Luke
@lhovee
There isn't anyone in the HelpDataViz chatroom today so I'm here. Can anyone tell me why the React I put in the JS window isn't creating an h2 elem at the top center of my pen? I'm just learning React
http://codepen.io/lhovee/pen/zBpXXm
blackhat144
@blackhat144
Can someone please help me with my tribute page? Why isn't the CSS border:none; for the quote class getting rid of the white smear on the left end of the green border for the first quote? Yesterday, I had the same problem, and fixed it with the aforementioned CSS- what am I doing this time that makes it not work?
Chris Rutherford
@cjrutherford
question.... I'm re-vamping my portfolio and I want to have it go through an JSON object that houses all the information for my sections under Social media and Projects, and I'm not sure why it's not adding stuff to the appropriate sections..... http://codepen.io/christopherrutherford/pen/LkZANY
Stephen James
@sjames1958gm
@cjrutherford $('social-content') this needs a . or # for class or id -
Chris Rutherford
@cjrutherford
@sjames1958gm thanks again, blond moment....
CamperBot
@camperbot
cjrutherford sends brownie points to @sjames1958gm :sparkles: :thumbsup: :sparkles:
:star2: 2018 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
Stephen James
@sjames1958gm
@camperbot :)
Bhushan933
@Bhushan933
@blackhat144 place border: none; at line no 8 in your index.css