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
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
Stoica Valentin
@stoicavali91
if only an user is active, the result is good(because is a single answear), but if there are many users online, the code will display the name of the games in the same place, not for every user. Can someone give me a hint or something?
Ken Haduch
@khaduch
@stoicavali91 - probably a closure problem. Look up the javascriptissexy.com article about closures and look for the "pitfalls" section
Stoica Valentin
@stoicavali91
@khaduch i understand that it is a problem with my code, but i don't know how to solve it unfortunately. I don't know how to display the stream variable, one value each time. I looks that a for loop doesn't help me
Zeljko Marinkovic
@zeljkomarinkovic
Hello guys. I have a task to convert my design with fixed dimensions to fluid? What is the easiest way to do that? Im using scss to do this. Is there any easy way to do this?
Tyler Moeller
@TylerMoeller
@zeljkomarinkovic It depends on the design, but typically you use % instead of pixels for your width, height, margins, padding, etc...
Sam Griffen
@ssgriffen
working on a FCC lesson in Codepen. Anyone know why I'm getting undefined as my last value. Run the pen and look at the console. http://codepen.io/ssgriffen/pen/vgLjYX?editors=0002
Rommon
@r0mmon
Guys, where is i can find whether api based on https for Show the Local Weather task? If i use http, the error is getCurrentPosition() and watchPosition() no longer work on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.
alpox
@alpox
@r0mmon Specifically: http://ip-api.com/docs/api:json
Rommon
@r0mmon
@alpox it is geo by ip/ Its cool, but what about wether data?
alpox
@alpox
@r0mmon Most people here use this ip api for determining the location instead of getCurrentPosition due to the error you got.
Not switch the weather api.
I don't know of any other good and free weather api which would be easy to use
Rommon
@r0mmon
ok, thnks )
Ritvars
@RitvarsZ
Hi, I have this wordpress site that I need to make responsive. What would be the best approach in this case? Here's a link: http://petrovka15.ru
alpox
@alpox
@RitvarsZ Break the horizontal aligned parts into vertical parts on smaller screens (The boxes etc.), probably remove the slider or make a specific one for the small screens.
Pack the navigation bar into a breadcrumb menu.
Alexis
@alexisgcn
help to my random quote
CamperBot
@camperbot
no wiki entry for: to my random quote
Alexis
@alexisgcn
help with my little project
CamperBot
@camperbot
no wiki entry for: with my little project
Alexis
@alexisgcn
help
Richard Viskovic
@DrMerkwurdigliebe
help wikipedia viewer