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
CamperBot
@camperbot
:star2: 1135 | @sorinr |http://www.freecodecamp.com/sorinr
Jarvis1247
@Jarvis1247
i am working on my text editor @dgriffin123
Sorin Ruse
@sorinr
@dgriffin123 yes but now you have the same problem of height with dexter img. try to find another one bigger then that
David Griffin
@dgriffin123
@sorin I actually decided to change it to 2 rows instead of 3, and all the images seem to look good
Muhammad Hasham
@MohammadHasham
which one is better document.getElementById('') or document.quereySelector()
@sorinr
Sorin Ruse
@sorinr
@dgriffin123 nope . they are all same width but on 2nd row the first and the last are shorter in height
@MohammadHasham getbyid if the tag has an id.
David Griffin
@dgriffin123
jeez. you're right. How do you avoid these problems? Should I crop images before I even use them?
Sorin Ruse
@sorinr
@dgriffin123 yep. better to have them same dimensions
David Griffin
@dgriffin123
@sorinr I see. 'll have to do that, this is too much of a hassle. Thank you so much for the help and for being patient.
CamperBot
@camperbot
dgriffin123 sends brownie points to @sorinr :sparkles: :thumbsup: :sparkles:
:warning: dgriffin123 already gave sorinr points
Sorin Ruse
@sorinr
@dgriffin123 np
Muhammad Hasham
@MohammadHasham
<p onclick = "name()" id="para">
Hello
</p>
$(document).ready(function(){
 function name(){
  document.getElementById("para").innerHTML = "wow";
  }
});
why is it not working?
@sorinr
Sander Berntsen
@sbxn14
I know this is cheating but can someone answer something for me? I got super lost on what to do so I took a look at the example but in the example it refers to data alot in the js/angular. I dont see Data defined anywhere? what is it referring to? http://codepen.io/freeCodeCamp/pen/bELRjV
Sorin Ruse
@sorinr
@MohammadHasham you don't need the doc.ready just function name(){}
Muhammad Hasham
@MohammadHasham
@sorinr Thanks
CamperBot
@camperbot
mohammadhasham sends brownie points to @sorinr :sparkles: :thumbsup: :sparkles:
:star2: 1136 | @sorinr |http://www.freecodecamp.com/sorinr
Sander Berntsen
@sbxn14
as I now know how to actually refer to my ip api and my weather api I still dont know what its doing exactly, and I'd like to know that so I can learn from it
Sorin Ruse
@sorinr
@sbxn14 the ip api callreturns you the city that you are using later in constructing the url for the weather api to retrieve thge weather for that city
Sander Berntsen
@sbxn14
so the $scope.data refers to the api's?
Sorin Ruse
@sorinr
@sbxn14 the $scope.data its like defining local variables available only for ng-app. this is the way you refer variables in an angular app
Sander Berntsen
@sbxn14
yea I knew that but I was just wondering as it referred to data.something and I didnt see data defined anywhere
Sorin Ruse
@sorinr
@sbxn14 with this $scope.Data = {}; its like var myvarr = {}; then you add keys and values to it like myvarr.city = responsefromapi.city and so on
Sander Berntsen
@sbxn14
thanks @sorinr
CamperBot
@camperbot
:star2: 1137 | @sorinr |http://www.freecodecamp.com/sorinr
sbxn14 sends brownie points to @sorinr :sparkles: :thumbsup: :sparkles:
Sander Berntsen
@sbxn14
oo im dumb
Sorin Ruse
@sorinr
@sbxn14 welcome
Bikal Khawas
@bikalkhawas
Hello, I'am working in local weather app and in calling weather API I found both min and max temperature the same, here is my codepen link http://codepen.io/bikal/pen/OWmJMj?editors=1010 Any help will be appreciated, thank you.
bwongcodes
@bwongcodes
Hello, just wondering if anyone knew how i could make my text non transparent
https://codepen.io/bwongcodes/pen/egROdR
appreciate the help, thankyou!
Sorin Ruse
@sorinr
@bikalkhawas if you console.table(apiData) you will see they are slightly different but because of the mathround function you see same values
Bikal Khawas
@bikalkhawas
@sorinr on calling API directly in browser also raw data looks the same.Looks like there is no need to mention min and max temperature.
Sorin Ruse
@sorinr
@bikalkhawas for me there is only 0.6 degree of difference
Bikal Khawas
@bikalkhawas
:smile:
Sorin Ruse
@sorinr
@bwongcodes use background: rgba(0,0,0,.5); instead of opacity: 0.5
bwongcodes
@bwongcodes
Thankyou @sorinr
CamperBot
@camperbot
:star2: 1138 | @sorinr |http://www.freecodecamp.com/sorinr
bwongcodes sends brownie points to @sorinr :sparkles: :thumbsup: :sparkles:
Sorin Ruse
@sorinr
@bwongcodes welcome
Muhammad Hasham
@MohammadHasham
var key = document.querySelector("audio[data-key=${x}]");
why is this not working my html is
<audio data-key="65" src="E:\Web Development\Javascript 30\Drumkit Challenge\boom.wav"></audio>
@sorinr
anyone there?
Clyde Lobo
@oppiniated
@MohammadHasham is x a variable?