Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • May 14 22:38
    @bjorno43 banned @minitechtips_twitter
  • May 14 22:37
    @bjorno43 banned @real-action
  • Feb 01 00:26
    @bjorno43 banned @Ndoua
  • Jan 07 03:10
    @bjorno43 banned @doctor-sam
  • Aug 17 2019 09:33
    User @bjorno43 unbanned @linkin-park
  • Jun 20 2019 21:19
    @bjorno43 banned @shenerd140
  • May 10 2019 09:13
    @bjorno43 banned @zhaokunhaoa
  • Apr 27 2019 19:46
    @mstellaluna banned @zhonghuacx
  • Apr 25 2019 17:12
    @mstellaluna banned @cmal
  • Apr 01 2019 18:11
    thecodingaviator labeled #31179
  • Apr 01 2019 18:11
    thecodingaviator labeled #31179
  • Apr 01 2019 18:09
    thecodingaviator commented #31179
  • Apr 01 2019 18:09
    thecodingaviator labeled #31182
  • Apr 01 2019 18:09
    thecodingaviator labeled #31182
  • Apr 01 2019 18:07
    thecodingaviator commented #31182
  • Apr 01 2019 18:07
    thecodingaviator labeled #31190
  • Apr 01 2019 18:07
    thecodingaviator labeled #31190
  • Apr 01 2019 18:07
    thecodingaviator commented #31190
  • Apr 01 2019 18:05
    thecodingaviator commented #31157
  • Apr 01 2019 18:04

    thecodingaviator on master

    remove A (#31157) (compare)

Stephen James
@sjames1958gm
@gishy1 But why are you using [i] with first or second - [i] is for indexing lower
gishy1
@gishy1
@GCa you mean without the []?
Stephen James
@sjames1958gm
first is the first letter and second is the rest of the word
first + second
is the reconstructed word
gishy1
@gishy1
@sjames1958gm yes but i thought if i dont run a loop through it will not complete all of the strings
Stephen James
@sjames1958gm
@gishy1 The loop is fine, but you have build up the result from each pass through the loop.
Giancarlo
@GCa

@gishy1 in the picture I see
var completeWord=0;
but if you are trying to build a string, it would be better to use
var completeWord=''; (two ' )

Then in the for loop you can add the capitalized words to the variable completeWord using the += operator

Tiago Correia
@tiagocorreiaalmeida
plus this wont do anything at all mate
slice().chartAt();
pls try what I just sent you use it platy with it you only need one of the methods but neither of them work this way
gishy1
@gishy1
@tiagocorreiaalmeida i tried charAt () without the loop it sliced the first word and capititalised
copy and try and run it
without the loop
Marc
@MWBauer
@sjames1958gm You only used those 3 pics?
Stephen James
@sjames1958gm
@MWBauer Yeah. Design is not my forte'
Marc
@MWBauer
That's fine. I have pics for fog, rain, cool, cold, hot, clear....
lol
I just need to learn how to work it all in.
that image { that you setup was in CSS?
Stephen James
@sjames1958gm
@MWBauer No, it was a 'global' object in my js
Marc
@MWBauer
js. thanks
Chris
@bestintown23
how can i resize my email logo in my row of icons? https://codepen.io/bestintown23/pen/VMRgqY
Jake
@JakeDVirus
Is there anything wrong in this snippet?? just wana confirm
@mixin background-2x($path, $ext: "png", $w: auto, $h: auto, $pos: left top, $repeat: no-repeat) {

  $at1x_path: "#{$path}.#{$ext}";
  $at2x_path: "#{$path}@2x.#{$ext}";

  background-image: url("#{$at1x_path}");
  background-size: $w $h;
  background-position: $pos;
  background-repeat: $repeat;

  @media only screen and (-webkit-min-device-pixel-ratio : 1.5),
   only screen and (-o-min-device-pixel-ratio: 3/2),
   only screen and (min--moz-device-pixel-ratio: 1.5),
   only screen and (min-device-pixel-ratio: 1.5),
   only screen and (min-resolution: 144dpi) {
    background-image: url("#{$at2x_path}"); 
  }

  @media only screen and (-webkit-min-device-pixel-ratio : 2.5),
   only screen and (-o-min-device-pixel-ratio: 5/2),
   only screen and (min--moz-device-pixel-ratio: 2.5),
   only screen and (min-device-pixel-ratio: 2.5),
   only screen and (min-resolution: 216dpi) {
    background-image: url("#{$at2x_path}"); 
  }
}
Chris
@bestintown23
How can i place the text to be center underneath each image? https://codepen.io/bestintown23/pen/VMRgqY
Marc
@MWBauer
What's the point of telling Firefox what page I want as my homepage if it isn't going to go there when I open a tab?
Sorin Ruse
@sorinr
@bestintown23 if you are using figcaption tag why not use the semantic tag: figure
Marc
@MWBauer
@sjames1958gm I was just looking at the challenge in FCC and it gives the weather api.
I open it and I'm not absolutely sure what I'm looking at.
Do I copy that whole thing into JS?
Stephen James
@sjames1958gm
Marc
@MWBauer
I saw that.
Stephen James
@sjames1958gm
@MWBauer You'll want to use the browser api for getting location
Then you can plug the lat/lon into the URL https://fcc-weather-api.glitch.me/api/current?lat=35&lon=139
Then using AJAX, either native browser API or jquery you can request the data.
That page shows the same json/js object returned
@MWBauer You can plug that URL above into your browser address bar and see the data that will be returned.
Marc
@MWBauer
oh...goody. Ok....
lol
Stephen James
@sjames1958gm
@MWBauer You can do it. :)
Chris
@bestintown23
why is my h2 element looking kookoo? https://codepen.io/bestintown23/pen/VMRgqY
Sorin Ruse
@sorinr
@bestintown23 example
Chris
@bestintown23
@sorinr you took out my h2 element
Sorin Ruse
@sorinr
@bestintown23 nope. just transformed your <div class="icons1" id="phone"> into <figure> and the example its just a fork of your original
@bestintown23 and added some css
@bestintown23 thats all i've done
@bestintown23 my post above was intended to complete with an example the other post :point_up: October 23, 2017 8:33 PM
Chris
@bestintown23
@sorinr well i was looking to move my h2 element under my icons, any suggestions?
Sorin Ruse
@sorinr
@bestintown23 try reload the example :point_up: October 23, 2017 8:52 PM
clinton wambugu
@kwambugu
hi guy having a problem with google home page project
guys
kwambugu/googl-homepage
in GH
the "about and store" links keep moving to the rigth instead of left
Josh Arnett
@josha5
Can anyone help me with my tic tac toe AI?