Go Pro Sign Up Login
0 days 0 hrs 0 min 0 sec

Summer Sale

50% off Level Up Pro until you unsubscribe.
Get access to ALL 128 courses on Level Up Tutorials

This is your last chance to get Level Up Pro for $145/year.

or Learn More
Moon Moon

Buy Now and unlock this series

$

49

.99

$

29

.99

yours forever

Become a Pro and unlock everything

$

24

.99

per month

Reset Password UI

Here we will work on the UI for Reset Password before we dive into the functionality for it.

Downloads

Become a pro to download code and videos

Comments

User avatar

Raul

over 1 year ago [edited]

@Mark Volkmann I think you were meant to share another snippet, that one does use split 😄

Mark Volkmann

over 1 year ago

Alternative way to get data from path that doesn't use split:

const [, , email, expires, token] = window.location.pathname.split('/');

Want to join the conversation?

Become a Pro member today!