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
Elbert Cortez
@trip16661
brownies are just points from the comunity
it dont worth nothing
its a reputation system withing the comunity
it's given everytime you get or give a thanks
Mark
@vinarius
thanks @trip16661
CamperBot
@camperbot
vinarius sends brownie points to @trip16661 :sparkles: :thumbsup: :sparkles:
:cookie: 427 | @trip16661 |http://www.freecodecamp.com/trip16661
Jonathan Wieben
@JonathanWbn
thanks @trip16661 love it
CamperBot
@camperbot
jonathanwbn sends brownie points to @trip16661 :sparkles: :thumbsup: :sparkles:
:cookie: 428 | @trip16661 |http://www.freecodecamp.com/trip16661
Elbert Cortez
@trip16661
This message was deleted
This message was deleted
  $('.scrollToAbout').click(function() {
    $('html, body').animate({
      scrollTop: 0
    }, 800);
    return false;
  });

  $('.scrollToAbout .scrollToPortfolio').click(function() {
    $('html, body').animate({
      scrollTop: 400
    }, 800);
    return false;
  });

  $('.scrollToContact').click(function() {
    $('html, body').animate({
      scrollTop: 1185
    }, 800);
    return false;
  });
can be done by simply doing this
  $('.scrollToAbout .scrollToPortfolio, .scrollToContact').click(function() {
    $('html, body').animate({
      scrollTop: 1185
    }, 800);
    return false;
  });
    $('a[href*="#"]:not([href="#"])').click(function() {
        if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
            var target = $(this.hash);
            target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
            if (target.length) {
                $('html, body').animate({
                    scrollTop: target.offset().top
                }, 1000);
                return false;
            }
        }
    });
Ken Haduch
@khaduch

@vinarius - I tried adding a few settings to your #contactMe div - it made a difference, not sure if it is what you are trying to achieve:

    background-size: contain;
    background-repeat: no-repeat;

It is aligned to the left, but I kind of like it that way?

Elbert Cortez
@trip16661
you can put it on pixels too to set the position

and set it inline

background: url() no-repeat contain;

etc

Mark
@vinarius
nice, that looks much better
Meet Mangukiya
@meetmangukiya
http://codepen.io/meetmangukiya/pen/vKjYvZ Why would the background image not render ?
Elbert Cortez
@trip16661
    const setShowcaseImg = function() {
        const thisProject = project[$(this).data("project")];
        //gets the name of the project to later use it to fetch properties from that project
        $showcaseImg.find("img").attr("src", thisProject.img);
        //gets the url of the imagen and set it
        $showcaseImg.find("p").text(thisProject.description);
        //gets the description 
        $showcaseImg.find("a").attr("href", thisProject.url);
        //gets the url 
        $showcaseImg.addClass("showcase-open");
        // then it opens a div containing this info 
    }
I have something like this to showcase some images with text and a link but when i close the showcase div and activates it again with a different images it just takes like 30ms to actually change the image it work, but i can still see the previous image for like 20ms and that's not good :(
any idea of why, or how to work around it? I guess i can just simplely add a conditional or a setTime function to delay it but if you ask me it sound cheap :(
Meet Mangukiya
@meetmangukiya
It did render now :confused:
Elbert Cortez
@trip16661
@meetmangukiya what do you exactly want it to look like?
Ken Haduch
@khaduch
@meetmangukiya - looks like you are using an image from imgur - that doesn't work (unless you are logged into an imgur account, I think?) They have a policy against cross-linking of images, if you check their terms & conditions. You have to get your image from some other site.
Meet Mangukiya
@meetmangukiya
ok @khaduch
@trip16661 a ocean like background image is supposed to be in the background.
Elbert Cortez
@trip16661
@meetmangukiya sorry late reply, like ken said its a cors problem
"http://imgur.com/HTf7ylN.jpg
the link is in http and you are calling from https
so it causes troubles
if u want to see(just for testing)
try to deprecate the codepen link to http
you will see how it will work
labanch
@labanch
can anyone help me with my random quote machine? I'm trying to use the twitter web intent but I'm not sure how to add the quote and author. I'm having a scope issue
http://codepen.io/labanch/pen/oLEVGW?editors=0010
Meet Mangukiya
@meetmangukiya
its stunning @labanch
labanch
@labanch
@meetmangukiya thank you! took me forever and I had to look at the example code :( for a small part but I'm pretty proud of it
CamperBot
@camperbot
labanch sends brownie points to @meetmangukiya :sparkles: :thumbsup: :sparkles:
:cookie: 258 | @meetmangukiya |http://www.freecodecamp.com/meetmangukiya
Meet Mangukiya
@meetmangukiya
btw thanks for leading me to this API @labanch
CamperBot
@camperbot
meetmangukiya sends brownie points to @labanch :sparkles: :thumbsup: :sparkles:
:cookie: 269 | @labanch |http://www.freecodecamp.com/labanch
labanch
@labanch
@meetmangukiya which api?
Meet Mangukiya
@meetmangukiya
labanch
@labanch
ohh! lol yeah :)
I really like it!
do you know how to use the twitter web intent?
Meet Mangukiya
@meetmangukiya
This is what my tweet button code is
<a href="https://twitter.com/share" class="twitter-share-button" data-text="hi whats up" data-show-count="false" data-size="large" id="tweet">Tweet</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
@labanch you gotta edit the data-text attribute to whatever message it should look like by default
Brian Nelton
@bnelton
hello all!
Meet Mangukiya
@meetmangukiya
That could be done by jQuery
@labanch not sure if this is what you were looking for, but anyways here it is :point_up:
Brian Nelton
@bnelton
blob
Keep getting error saying that my topmost img doesnt have the required element..am i missing something?