In this video we show you two methods of redirecting a user to another web page
using vanilla JS.
The first approach has similar behaviour to a link click, with the second approach having similar behaviour to an HTTP redirect.
The Blog post to this video can be found here: https://www.moduate.com/blog/redirect...
location.assign(): https://developer.mozilla.org/en-US/d...
location.replace(): https://developer.mozilla.org/en-US/d...
#jsredirect #javascriptredirect #redirectjavascript