Use One Dropdown to Filter Another Dropdown

I have 2 dropdown fields - the first field is a list of U.S. states, and the second field is a list of values corresponding to specific U.S. states.

How can I set up the second dropdown to only show values based on the value selected in the first dropdown?

You can dynamically set field options via logic as well. You can have the rule run when the first dropdown value is changed, then use the resulting field value to run some logic

I’m new to Javascript - can you suggest any help articles or examples I can review?

Here are some logic code examples you can reference!: