Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 19 2020 20:09
    @krisb1220 banned @Gastony
  • May 14 2020 22:39
    @bjorno43 banned @minitechtips_twitter
  • May 14 2020 22:38
    @bjorno43 banned @real-action
  • Feb 01 2020 00:27
    @bjorno43 banned @Ndoua
  • Jan 07 2020 03:10
    @bjorno43 banned @doctor-sam
  • Aug 17 2019 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 2019 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 2019 17:13
    @mstellaluna banned @cmal
  • Jan 08 2019 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
CamperBot
@camperbot
:star2: 2289 | @khaduch |http://www.freecodecamp.com/khaduch
mazury
@mazury
Any idea why I can't get the ajax response on my tablet or phone in this? http://codepen.io/Adam92/pen/GrjzYQ?editors=1010
Ken Haduch
@khaduch
@MohammadHasham - I don't set setInterval in the version that I'm looking at? Should I?
Muhammad Hasham
@MuhammadHasham23
actually i am using fadeIn and fadeOut instead of setting intervals
@khaduch
Sorin Ruse
@sorinr
@adamgithub92 normally you will have to see on tablet or phone the html as you defined it keeping in mind the bootstrap grid you have used
Ken Haduch
@khaduch
@MohammadHasham - oh, I'll have to look at that more closely then... I don't know if that will work very well, I would think that you would have to use the completeoption in some way to make sure that the flashing sequenced in some reasonable way? Not sure because I haven't really tried this type of thing. It did seem that the flashing of the different colors went rather quickly? Like multiple buttons flashed at once.
mazury
@mazury
@sorinr I don't understand, what does it mean?
Muhammad Hasham
@MuhammadHasham23
@khaduch yeah actually i need to set the milliseconds precisely
to avoid that
Clifton Hackett
@KingRedeye
anyone available to assist me with understanding one of the challenges?
Make Object Properties Private this challenge to be exact.
Sorin Ruse
@sorinr
@adamgithub92 if u used the bootstrap grid in a correct manner you should expect to see the page on tablet or mobile the way you want otherwise you should recheck your grid
mazury
@mazury
@sorinr I didn't use any grid elements...
MaxLAB
@Max-LAB
@KingRedeye sure, what have you done so far?
Sorin Ruse
@sorinr
@adamgithub92 then why in your pen settings->css part you have loaded bootstrap?
mazury
@mazury
hmmm... so far I've done it for defult fonts I guess
Sorin Ruse
@sorinr
@adamgithub92 almost any element on your page has a stiling dictated by bootstrap. so if you want something on your own you should ether get rid of bootstrap or override it
mazury
@mazury
@sorinr so I should put these elements inside grid elements like span, etc ?
Muhammad Hasham
@MuhammadHasham23
@khaduch any idea?
Sorin Ruse
@sorinr
@adamgithub92 just read the http://getbootstrap.com/ documentaion and decide for yourself what you want from the framework and what you need to override
Ken Haduch
@khaduch
I think that I would try to devise a loop using setInterval and a count to control it. I think that trying to time this with jquery is fraught with pitfalls...
abhijith shenoy
@shenoyabhijith
css break-down
icon duplicate
Sorin Ruse
@sorinr
@shenoyabhijith witch icon is duplicated?
mazury
@mazury
@sorinr ok, thx
CamperBot
@camperbot
adamgithub92 sends brownie points to @sorinr :sparkles: :thumbsup: :sparkles:
:star2: 1094 | @sorinr |http://www.freecodecamp.com/sorinr
playingwithinfinity
@playingwithinfinity
Somebody please tell me what's wrong with my code? Nothing is changing on button click
Sorin Ruse
@sorinr
@playingwithinfinity you have to define an event to take care of your button clik like: example
Reggie
@Reggie01
@playingwithinfinity Also, your click event should wrap around your ajax call.
// sorinr's example 
$('#click').on('click', function(){
alert('click btn was cliked');
  // insert ajax here
});
abhijith shenoy
@shenoyabhijith
background image change not working
Addison Dalton
@Addison-Dalton

Hopefully someone can help me with this. I've been searching a few hours and can't find a solution. I'm working on the weather app and I want a weather icon to change based on the current weather condition. The following code is without checking for the current weather condition, as I can't get my JS to change the icon even on page load.I can get the class to work if I add it directly in my HTML, so I believe I'm doing something wrong in JS. Thanks!

HTML:

<div class="weather-icon wi">
  <i id="#weather-icon"class=""></i>
</div>

JS:

$("#weather-icon").removeClass().addClass("wi-day-sunny");
Reggie
@Reggie01
@shenoyabhijith background image is currently on html and body elment. Change to just body element.
body {
  background-image:url("https://s27.postimg.org/c1ifb47f7/pexels_photo.jpg");
}
Addison Dalton
@Addison-Dalton
I found my problem, nevermind!
Reggie
@Reggie01
@Addison-Dalton do you have a link to codepen page for the project?
@Addison-Dalton nvm
glad you found your problem
Addison Dalton
@Addison-Dalton
I accidentally included a "#" in my id name in the HTML. Hours of searching just for that, lol!
Reggie
@Reggie01
Yeah, it happens to everyone. :smile:
Sorin Ruse
@sorinr
@Addison-Dalton are u using openweather api for retrieving weather data?
Addison Dalton
@Addison-Dalton
@sorinr Yes.
Sorin Ruse
@sorinr
@Addison-Dalton weather icons library have special mappings for this lib. read here: https://erikflowers.github.io/weather-icons/api-list.html. so you can use the weather code in rder to compose your icon
Addison Dalton
@Addison-Dalton
@sorinr I got my icons working now, though. It was a typo error. Thanks nonetheless.
CamperBot
@camperbot
:star2: 1095 | @sorinr |http://www.freecodecamp.com/sorinr
addison-dalton sends brownie points to @sorinr :sparkles: :thumbsup: :sparkles:
Sorin Ruse
@sorinr
@Addison-Dalton :+1:
Stoica Valentin
@stoicavali91
Hi! I am trying to do the TwitchTcv Json API and i don't know how to make the name of the game to appear near the ok user. Can someone please help me? http://codepen.io/stoicavali91/pen/ZLONPb