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)

Francisco Pena
@daiky00
hi anybody here
?
$('.main3').on('click', '.show', function() {
var id = $(this).attr('data-panel-id');
$('.project').hide(100);
$('.project').filter('#' + id).show(100);
})
i want to be able to close it on click and open on click
anyone?
bruglesco
@bruglesco
help format
CamperBot
@camperbot

:point_right: code formatting [wiki]

Inline code

alt text

This an inline `<paste code here>` code formatting with a single backtick(`) at start and end around the code.

Code Block

``` ⇦ Type 3 backticks and then press [shift + enter ⏎]

<paste your code here>,
then press [shift + enter ⏎]

``` ⇦ Type 3 backticks, then press [enter ⏎]

See also: ☛ How to type Backticks | ☯ Compose Mode | ❄ Gitter Formatting Basics

:pencil: read more about code formatting on the FCC Wiki

Edward Udelle
@EdwardUdelle
Strange, I place that within the style element and it still does not pass.
Here's what I have now.
adtpdn
@adtpdn
@EdwardUdelle can u gimme WayPoint links ?
bruglesco
@bruglesco
show it again
OverTheNeptune
@OverTheNeptune
@EdwardUdelle Did you apply the class to the <div> element in your html? If not, look at how the red-text class is used in the <h2> element for an example.
Edward Udelle
@EdwardUdelle

Here's the style element so far.. <style>
.red-text {
color: red;
}

h2 {
font-family: Lobster, Monospace;
}

p {
font-size: 16px;
font-family: Monospace;
}

.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;
}

.smaller-image {
width: 100px;
}
div .gray-background {background-color:gray;}
</style>

DJ
@qualitymanifest
@EdwardUdelle you don't need the "div" before .gray-background. you apply the .gray-background class to your div in your HTML
@EdwardUdelle similar to what you did with .thick-green-border
adtpdn
@adtpdn
Put class in HTML to link ur CSS
<div class="grey-background”> ……..</div>
Abhisek Pattnaik
@abhisekp
@daiky00 :point_up: October 18, 2015 9:23 AM
Francisco Pena
@daiky00
ok
$('.main3').on('click', '.show', function() {
var id = $(this).attr('data-panel-id');
$('.project').hide(100);
$('#' + id).toggle(100);
})
i want to do this
Abhisek Pattnaik
@abhisekp
@daiky00 :point_up: October 18, 2015 9:23 AM
Francisco Pena
@daiky00
check the link for reference
bruglesco
@bruglesco
help format
CamperBot
@camperbot

:point_right: code formatting [wiki]

Inline code

alt text

This an inline `<paste code here>` code formatting with a single backtick(`) at start and end around the code.

Code Block

``` ⇦ Type 3 backticks and then press [shift + enter ⏎]

<paste your code here>,
then press [shift + enter ⏎]

``` ⇦ Type 3 backticks, then press [enter ⏎]

See also: ☛ How to type Backticks | ☯ Compose Mode | ❄ Gitter Formatting Basics

:pencil: read more about code formatting on the FCC Wiki

Abhisek Pattnaik
@abhisekp
@daiky00 :point_up: October 18, 2015 9:43 AM
bruglesco
@bruglesco
make your code more readable plz
easier to help you
Francisco Pena
@daiky00
ok
Abhisek Pattnaik
@abhisekp
@daiky00 making the code readable will make us easier to read and help you
Francisco Pena
@daiky00
$('.main3').on('click', '.show', function() { var id = $(this).attr('data-panel-id'); $('.project').hide(100); $('#' + id).toggle(100); })
Abhisek Pattnaik
@abhisekp
@daiky00 multiline pls. You're pasting a codeblock
Francisco Pena
@daiky00
how do i do that
adtpdn
@adtpdn
use shift + enter
Abhisek Pattnaik
@abhisekp
:point_up: October 18, 2015 9:43 AM @daiky00
Francisco Pena
@daiky00
$('.main3').on('click', '.show', function() {
var id = $(this).attr('data-panel-id');
$('.project').hide(100);
$('#' + id).toggle(100);
})
now i egt it
hahaha
and this what im trying to do
Abhisek Pattnaik
@abhisekp
@daiky00 so what's the issue?
bruglesco
@bruglesco
well your variable isnt doing what you want it to
Jason
@jimillett
Can someone help me figure out what I am doing wrong on Bonfire: Reverse a String
CamperBot
@camperbot
type bonfire name to get some info on that bonfire. And check HelpBonfires chatroom
Francisco Pena
@daiky00
well
the problem is
everything is working but after you open it once it doesnt want to hide again
bruglesco
@bruglesco
(#$(this).attr('data-panel-id')).toggle(100); isnt functioning code
Abhisek Pattnaik
@abhisekp
@daiky00 yes. It does when you click it again
Francisco Pena
@daiky00
nono it doesnt
Jason
@jimillett
function reverseString(str) {
  array = str;
  array = array.reverse();
  str = array;
  return str;
}

reverseString("hello");
Francisco Pena
@daiky00
what is that
?
DJ
@qualitymanifest
@jimillett you need to use all the methods in the "helpful links"