Treehouse is currently experiencing service disruptions due to an ongoing Amazon Web Services outage. Some account features may be temporarily unavailable.

You found it first ⚡ 50% off any plan for 6 months, exclusive to new subscribers for a limited time only.

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

Join the Treehouse affiliate program and earn 25% recurring commission!

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • Pavel Makeev
    Pavel Makeev
    6,207 Points

    jQuery Basics. Please, Help

    Posted April 26, 2017 8:25am by Pavel Makeev
    Pavel Makeev
    6,207 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Spoiler Revealer
    • Perform: Part 2

    1 Answer

  • TIAGO SANTOS
    TIAGO SANTOS
    2,450 Points

    Why can't I add event to the appended button?

    Posted January 20, 2017 6:17pm by TIAGO SANTOS
    TIAGO SANTOS
    2,450 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Spoiler Revealer
    • Perform: Part 2

    1 Answer

  • Ignacio Uriz
    Ignacio Uriz
    5,042 Points

    Help please

    Posted December 6, 2016 7:15pm by Ignacio Uriz
    Ignacio Uriz
    5,042 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Spoiler Revealer
    • Perform: Part 2

    1 Answer

  • Dare Adelugba
    Dare Adelugba
    6,563 Points

    My code did not hide span text

    Posted December 5, 2016 3:47am by Dare Adelugba
    Dare Adelugba
    6,563 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Spoiler Revealer
    • Perform: Part 2

    1 Answer

  • Jon Feldman
    Jon Feldman
    5,339 Points

    When I load the page, only half of the button is visible. Similarly, when the button does not hide, it only moves down.

    Posted October 19, 2016 10:57pm by Jon Feldman
    Jon Feldman
    5,339 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Spoiler Revealer
    • Perform: Part 2

    0 Answers

  • Christoph Walpert
    Christoph Walpert
    3,752 Points

    Hi my code doesn't give the desired outcome. Please review!

    Posted September 9, 2016 5:09pm by Christoph Walpert
    Christoph Walpert
    3,752 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Spoiler Revealer
    • Perform: Part 2

    2 Answers

  • Syed Abdul Hafiz Bin Syed Hussain
    Syed Abdul Hafiz Bin Syed Hussain
    1,559 Points

    Getting an error when I try to open workspace

    Posted June 3, 2016 4:23am by Syed Abdul Hafiz Bin Syed Hussain
    Syed Abdul Hafiz Bin Syed Hussain
    1,559 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Spoiler Revealer
    • Perform: Part 2

    1 Answer

  • Syed Abdul Hafiz Bin Syed Hussain
    Syed Abdul Hafiz Bin Syed Hussain
    1,559 Points

    Getting an error when I try to open workspace

    Posted June 3, 2016 4:23am by Syed Abdul Hafiz Bin Syed Hussain
    Syed Abdul Hafiz Bin Syed Hussain
    1,559 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Spoiler Revealer
    • Perform: Part 2

    1 Answer

  • Sebastian Hewelt
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Sebastian Hewelt
    Front End Web Development Techdegree Student 1,254 Points

    Why do you need to insert a function inside .click() to manipulate elements

    Posted June 1, 2016 10:34pm by Sebastian Hewelt
    .a{fill-rule:evenodd;}techdegree
    Sebastian Hewelt
    Front End Web Development Techdegree Student 1,254 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Spoiler Revealer
    • Perform: Part 2

    2 Answers

  • sondreg
    sondreg
    5,515 Points

    Review my code

    Posted May 30, 2016 12:37pm by sondreg
    sondreg
    5,515 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Spoiler Revealer
    • Perform: Part 2

    2 Answers

  • maria ramirez
    maria ramirez
    12,068 Points

    spoiler span takes a couple of seconds before it hides

    Posted April 27, 2016 4:33pm by maria ramirez
    maria ramirez
    12,068 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Spoiler Revealer
    • Perform: Part 2

    1 Answer

  • Thomas Katalenas
    Thomas Katalenas
    11,033 Points

    mine is cool!!

    Posted March 30, 2016 6:22pm by Thomas Katalenas
    Thomas Katalenas
    11,033 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Spoiler Revealer
    • Perform: Part 2

    2 Answers

  • Javid Abbasov
    Javid Abbasov
    9,243 Points

    I didn't got, why we use $(".spoiler span") instead of $(" span")?

    Posted March 8, 2016 12:10pm by Javid Abbasov
    Javid Abbasov
    9,243 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Spoiler Revealer
    • Perform: Part 2

    1 Answer

  • lionelsurmont
    lionelsurmont
    7,092 Points

    Why can't this work properly with a named function?

    Posted February 21, 2016 1:15pm by lionelsurmont
    lionelsurmont
    7,092 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Spoiler Revealer
    • Perform: Part 2

    2 Answers

  • Jim McQuarrie
    Jim McQuarrie
    10,597 Points

    Button question

    Posted August 11, 2015 11:43am by Jim McQuarrie
    Jim McQuarrie
    10,597 Points
    • CSS
    • jQuery Basics (2014)
    • Creating a Spoiler Revealer
    • Perform: Part 2

    1 Answer

  • Ying Liang
    Ying Liang
    2,403 Points

    why it doesn't work on my browser? it doesn't show the button.

    Posted May 27, 2015 9:55pm by Ying Liang
    Ying Liang
    2,403 Points
    • CSS
    • jQuery Basics (2014)
    • Creating a Spoiler Revealer
    • Perform: Part 2

    1 Answer

  • Sven Huff
    PLUS
    Sven Huff
    Courses Plus Student 4,355 Points

    Cant's understand function syntax jquery…

    Posted May 22, 2015 4:36pm by Sven Huff
    Sven Huff
    Courses Plus Student 4,355 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Spoiler Revealer
    • Perform: Part 2

    3 Answers

  • Jaime Garay
    Jaime Garay
    2,998 Points

    Adding a class or ID to an append element

    Posted April 11, 2014 11:42pm by Jaime Garay
    Jaime Garay
    2,998 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Spoiler Revealer
    • Perform: Part 2

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.