Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
There may be times when you'll need to programmatically change the path in the URL. A common example is changing the path in response to a form submission. In this video, you'll learn how to navigate users to a URL created by the values they type into a form.
Form snippet
<form>
<input type="text" placeholder="Name"/>
<input type="text" placeholder="Topic"/>
<button type="submit">Go!</button>
</form>
VS Code Shortcuts Used
-
Format Document - VS Code
- Mac:
Option
+Shift
+F
- Windows:
Alt
+Shift
+F
- Linux:
Ctrl
+Shift
+I
- Mac:
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up