Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript jQuery Basics (2014) Creating a Password Confirmation Form Perform: Part 1

Sonja Tomcic
Sonja Tomcic
6,590 Points

i don't understand what 'keyup' means

i can't figure it out

Hi Sonja,

When the user releases the key, the keyup event is sent.

Source: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent

3 Answers

Özgür Ozan Çakmak
Özgür Ozan Çakmak
11,451 Points

A keyup is the opposite event of a keydown. See, when the user presses a button on the keyboard you trigger the keydown event (because the button/letter is down) when she releases the button it triggers the keyup event (because the key jumps up to its natural cute state, if we are not talking about a sad keyboard).

A crappy image made by yours truly is included: finger

Sonja Tomcic
Sonja Tomcic
6,590 Points

thanks a lot, this is really helpfull

Hello, basically what that means is that an event will occur when you stop pressing the keyboard.