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
Yahia
@y-zaky
<style>
  .red-text {

    color: red;
    class="red.text";
  }
</style>

<h2>CatPhotoApp</h2>

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
@roxroy still wrong? surely now its o
k
Roxroy
@roxroy
@bowssy88 , no no.. You cannot put it there. you would use it like <h2 class= "red-text">CatPhotoApp</h2>, or what ever class the instructions says
@bowssy88 , what is the name of the challenge you are on?
Yahia
@y-zaky
@roxroy thank you !
CamperBot
@camperbot
bowssy88 sends brownie points to @roxroy :sparkles: :thumbsup: :sparkles:
:cookie: 801 | @roxroy |http://www.freecodecamp.com/roxroy
Yahia
@y-zaky
done :)
Roxroy
@roxroy
@bowssy88 , good work.
Yahia
@y-zaky
it was Use a CSS Class to Style an Element
Roxroy
@roxroy
@bowssy88 , Cool. Carry on and ping me if you have questions.
Yahia
@y-zaky
@roxroy know whats wrong here bro?
<style>
  .red-text {
    color: red;

  }

  .p {
    font-size: 16px;
  }
</style>

<h2 class="red-text">CatPhotoApp</h2>

<p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>

<p> Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched. </p>
Change the don't size of an element
is the task
font*
$(document).ready(function() {
    $('.channels').children().each(function () {
        var name = $(this).children("h2.channel-name").text();
        console.log(name);
        var jsonData = setTwitchStreams(name); //
        var status = "Offline";
        if (jsonData.status != null && typeof jsonData.status != 'undefined') {
          status = jsonData.status;
        } 
        $(this).children("h2.channel-status").text(status);
    });
});
Roxroy
@roxroy
@bowssy88 , `<p class="red-text">' will make it red, to change the font size you want to edit p { font-size: 16px; }.
Tegh
@teghmehta
I want to get the status and set it, but its saying that the status is undefined
colourmein13
@colourmein13
@roxroy Build a tribute challenge
I've added a class to the img element that has border radius: 50% but it doesn't make the image circular
Roxroy
@roxroy
@colourmein13 , what is the link to the pen?
Yahia
@y-zaky
@roxroy
<style>
  .red-text {
    color: red;
    font-size: 16px;

  }


</style>

<h2 class="red-text">CatPhotoApp</h2>

<p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>

<p> Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched. </p>
whats wrong? still not working
Roxroy
@roxroy
@bowssy88 , can you remind me of the name of the challenge you are on?
Yahia
@y-zaky
Change the font size of an element
@roxroy
Roxroy
@roxroy
@bowssy88 , add back the p { font-size: 16px; } to the styles and remove font-size: 16px; from the .red-text style
Gabriel
@xGabey
quick question all; I made my twitch app in january of this year, and it worked. Now all of a sudden, the code stopped working and only my markup and design executes. Was there an api update?!?!
Yahia
@y-zaky
@roxroy still no joy !!
<style>
  .red-text {
    color: red;

  }

  .p {
     font-size: 16px; 
  }


</style>

<h2 class="red-text">CatPhotoApp</h2>

<p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>

<p> Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched. </p>
Roxroy
@roxroy
@xGabey , there was no API change. i have to adjust mine as well.
Gabriel
@xGabey
@roxroy ok and how did you adjust yours?
sry just a bit confused.
Yahia
@y-zaky
@roxroy this task is so easy but why is it not letting me pass
Roxroy
@roxroy
@bowssy88 , I seem change .p { top {` you dont need the . in this case.
Yahia
@y-zaky
@roxroy yay thank you !
CamperBot
@camperbot
bowssy88 sends brownie points to @roxroy :sparkles: :thumbsup: :sparkles:
:warning: bowssy88 already gave roxroy points
Yahia
@y-zaky
@roxroy why don't you need the . ?
i thought all style you need . ?
Roxroy
@roxroy
@bowssy88 .p would be a class named p, p is the <p> tag
@xGabey , I don't specifically remember. What is the link to your code?
Yahia
@y-zaky
thanks got it
Roxroy
@roxroy
@bowssy88 , np. :+1:
Gabriel
@xGabey
it used to work fine.