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
Meet Mangukiya
@meetmangukiya
@labanch the code I pasted here, does the same things
labanch
@labanch
@meetmangukiya oh ok I'll give it a try
Meet Mangukiya
@meetmangukiya
The tweet message that you'd like to be already present in the tweet box should be the value of the data-text attribute
Norvin Burrus
@ndburrus
@bnelton can you post code? see, here: :point_up: July 22, 2016 5:31 PM and here: :point_up: July 22, 2016 5:31 PM
Meet Mangukiya
@meetmangukiya
which can be manipulated quite well with jQuery
try $(selector).attr('data-text', "<your tweet message here>") @labanch
And I'd suggest you to enclose this statement inside the onClick event handler of the Quote button, but I think you'd have figured almost all of this yourself :+1:
labanch
@labanch
@meetmangukiya I'm trying it now. Taking a deep breath because I have been looking at this for a few hours now lol
Brian Nelton
@bnelton
@ndburrus what are you needing ? i can post my whole code if you want me to
Norvin Burrus
@ndburrus
@bnelton that would be great!
Brian Nelton
@bnelton
blob
Norvin Burrus
@ndburrus
@bnelton place tags on seperate lines?
</a></div></div>
Brian Nelton
@bnelton
am i using the correct image for the topmost image?
finally got it to work
@ndburrus thanks
CamperBot
@camperbot
bnelton sends brownie points to @ndburrus :sparkles: :thumbsup: :sparkles:
:star2: 1081 | @ndburrus |http://www.freecodecamp.com/ndburrus
Norvin Burrus
@ndburrus
@bnelton excellent! nice job :palm_tree:
...you may want to practice posting code. it may come in handy! :)
luis4flames
@luis4flames
http://codepen.io/luis4flames/pen/grvvqx Can someone help me understand why my linear gradient will only reach as low as my last element rather than wrapping the entire background image I have it on
Ken Haduch
@khaduch
@luis4flames - you are doing some unusual things with your margins and I wonder if that isn't what's causing your problem? It seems that you are forcing a lot of your placement that way, I don't think that I've seen that before. But I cannot say for sure that it's a problem, it just sends up some red flags for me.
luis4flames
@luis4flames
Yea, the problem is i have no idea how to place my elements where i want them on the page. Which commands am i suppose to use to move things around? Appreciate any tips! It's been a pain to move them around and I knew i was doing something wrong. @khaduch
Ken Haduch
@khaduch
@luis4flames - other things that I see - you have a closing </div> tag at the top, with no opening. You should not have the <body> tag in your HTML panel - you can put that styling that you want directly on the body element in your CSS. You don't have a closing </div> tag for your <div class="row home-container">. You are using <center> tags, which are obsolete.
@luis4flames - in Bootstrap, there is a "text-center" class that should help with centering things. You might need some margins to help with adjustment, but as I said, you seem to have "too much." I'm seeing if I can get a handle on how to format your page in a different way... I don't have a lot of time, but maybe I can figure out something to help...
luis4flames
@luis4flames
@khaduch Appreciate it! I'm removing things now.
Ken Haduch
@khaduch
@luis4flames - oh, yeah, you should not have the <head> tag (and its closing partner) in there, either. That could be part of the problem... I spaced out on that one.
luis4flames
@luis4flames
@khaduch so what should i be using to align buttons and elements where i want them on a page?
Ken Haduch
@khaduch
@luis4flames - the text-center class usually seems to do that fairly well. I'm just trying to untangle some of the things that are there now, it's still looking a little jumbled in my edited version.
luis4flames
@luis4flames
I dont want you to finish it up completely, its okay. Ill figure it out I just want some what of an idea of how i should be doing things
@khaduch
will text-center work with the buttons also? I applied text-center to the first div tag to apply to all and it didnt affect it at all
Ken Haduch
@khaduch
@luis4flames - I'm not going to finish it completely, for sure! But I just took some stuff out of the CSS, your .services class with that negative top margin was just breaking the flow of the <h1> and <h2>. That should have been a lot smoother to just put them in order. I'll see if I can stop after I give you some ideas of what I did... :)
luis4flames
@luis4flames
haha gotcha! Thanks again!
@khaduch
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 :worried:
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 :worried:
Ken Haduch
@khaduch

@luis4flames - I think that the fastest way to share this is by forking your project, here is my URL for it - I added asecond div to see if the gradient is working, and I think it looks better. You can compare to yours, and make changes as you see fit. Let me know and I can remove my forked copy when you're done.

Good luck!

@luis4flames - I just made one minor tweak to add background-size: cover; in thebody` element CSS rules. In case you started looking...
luis4flames
@luis4flames
@khaduch Got it! thanks again really appreciate it.
CamperBot
@camperbot
luis4flames sends brownie points to @khaduch :sparkles: :thumbsup: :sparkles:
:star2: 1473 | @khaduch |http://www.freecodecamp.com/khaduch
Thiago Isaias
@thiagoisaias
Hey guys. I just did the quote generator. Could you give me a feedback?
Ken Haduch
@khaduch
@luis4flames - great! You're welcome. One thing about positioning things like that, normally you don't have to work too hard to get things to flow on a page in a straightforward way. There are always exceptions, of course, but that type of page should be pretty much block-oriented, and the bootstrap grid (or other similar use of CSS) should handle most things fairly easily. I've also seen folks on here advocate the flexbox CSS styles for layout - it does handle some things nicely, but I haven't used it for anything yet, still learning about it. Have fun!
Chris Katzmann
@cwkatzmann
why does that keep returning the same quote
(you have to refresh the page to try again, havent set it up to be able to run more than once)
hmm, id doesnt even run in the chat
it*
Allen Pittard
@donaldpittard
@cwkatzmann there is a problem with your if statement in your call back
Luke
@lukenetti3
Can anyone help me with my twitch.tv stream? Here's my code. I can't figure out why my text and descriptions are not directly across their images. http://codepen.io/lukenetti3/pen/oLEmYK