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
Dimitrios Kouveris
@dimkouv
Can someone help with random quote task?
https://codepen.io/dimkouv/pen/aBQMEN
Abhishek Kumar
@Mr-Kumar-Abhishek
GabriRa
@GabriRa
Hey!, I did this https://codepen.io/GabriRa/pen/NbEvGK but i dont realy know if I have to do it in a more optimal way
Henz
@pilotwhiterabbit
Abhishek Kumar
@Mr-Kumar-Abhishek
@amidzicigor @forkerino thanks ,got it :)
CamperBot
@camperbot
mr-kumar-abhishek sends brownie points to @amidzicigor and @forkerino :sparkles: :thumbsup: :sparkles:
:cookie: 56 | @amidzicigor |http://www.freecodecamp.com/amidzicigor
:cookie: 374 | @forkerino |http://www.freecodecamp.com/forkerino
Jason Luboff
@JLuboff
@GabriRa Looks good. You should move your CSS portion into the CSS pane of Codepen though
Igor Amidzic
@igoramidzic
@Mr-Kumar-Abhishek How did you do it?
Abhishek Kumar
@Mr-Kumar-Abhishek
Callum Ward
@callumquick
@dimkouv What do you need help with?
Jonathan Marx Domah
@marxcom
@Ayvlis you profile page site is cool
thescotty125
@thescotty125
for the front end challenge do I do it on anyone or what?
Zaurbek Zhakupov
@zzhakupov
Hello guys, I just finished my Recipe Box project, I'll appreciate very much if you can afford me any feedback that you want. http://codepen.io/Zooll/pen/eBjqox
Jason Luboff
@JLuboff
@thescotty125 Yes do it on anyone you'd like
Tom
@moT01
@Zooll8 looks good
@Zooll8 needs a pointer on the recipe, so i know its clickable
Callum Ward
@callumquick
@Zooll8 Works great! Just a few typos here or there which is easy to fix :) Ingridient -> ingredient for example :)
Tom
@moT01
@Zooll8 when i add some things with spaces it put them on new lines
@Zooll8 i guess maybe i didn't read the directions well enough
'separated by spaces'
i added one thing then hit enter and added another
so i can't add ingredients with spaces in them i guess
Abhishek Kumar
@Mr-Kumar-Abhishek
I need a quick help , anyone ?
https://mr-kumar-abhishek.github.io/wikipedia-viewer/ <-- I need to add a class to .text-center from result_display(wiki_data) function , but I am unable to do it ~
Callum Ward
@callumquick
@Mr-Kumar-Abhishek I can't see your code on that view
Abhishek Kumar
@Mr-Kumar-Abhishek
@callumquick press CTRL + U in browser ?
@callumquick or right click on website and choose view source
@callumquick code pen is too heavy for my system , my apologies
Callum Ward
@callumquick
@Mr-Kumar-Abhishek What are you trying to add the .text-center class to?
Abhishek Kumar
@Mr-Kumar-Abhishek
@callumquick I want a class name searched to division tag having class text-center
Callum Ward
@callumquick
@Mr-Kumar-Abhishek You want to add the class .search to the div which already has class .text-center?
Abhishek Kumar
@Mr-Kumar-Abhishek
@callumquick $(".text-center").addClass("searched"); is not working ~
Jacob
@jdc101214
Hey guys.
Why is this code not working?
function truncateString(str, num) {
  // Clear out that junk in your trunk

  return str.slice(0, num) + "...";
}

truncateString("A-tisket a-tasket A green and yellow basket", 11);
Abhishek Kumar
@Mr-Kumar-Abhishek
@callumquick yes
Callum Ward
@callumquick
@Mr-Kumar-Abhishek Really? You're applying that in the result_display function?
Abhishek Kumar
@Mr-Kumar-Abhishek
@callumquick yes
Callum Ward
@callumquick
@Mr-Kumar-Abhishek Try making a more specific selector by giving it an ID like #content and then calling $("div.text-center#content")
Abhishek Kumar
@Mr-Kumar-Abhishek
@callumquick thanks :) I am trying it
CamperBot
@camperbot
mr-kumar-abhishek sends brownie points to @callumquick :sparkles: :thumbsup: :sparkles:
:cookie: 295 | @callumquick |http://www.freecodecamp.com/callumquick
Callum Ward
@callumquick
@jdc101214 It works for some of the case but you'll need some conditionals for special cases, for example if the string length is shorter than num then your "..." is being applied anyway which you don't want.
@jdc101214 Try some console.log()s to see what is being outputted, this helps greatly with debugging.
@jdc101214 For almost all the algorithms, what you think will happen won't happen, and only by seeing what does happen can you find the bug in your code.
Jacob
@jdc101214
@callumquick Thanks for the help, but the consol.log doesnt work on the lessons.
CamperBot
@camperbot
jdc101214 sends brownie points to @callumquick :sparkles: :thumbsup: :sparkles:
:cookie: 296 | @callumquick |http://www.freecodecamp.com/callumquick
Abhishek Kumar
@Mr-Kumar-Abhishek
@callumquick it worked :D thanks