tutorials function action(endpoint_name) { window.location.replace('/' + endpoint_name); } function redirect_to_demo(code) { window.location.replace('/demo'); } !Its is noteable to add that the tutorials is solely for practice