My swift structures not linking to one another using a navigation link

I am creating a swift app, and it requires a button the connects to structure views but it is not working, I have used a navigationLink:
enter image description here
Here is my project:

I tried asking AI but it did not give any answers, what should I do?


Is your view in a NavigationStack or NavigationView?

When dropping a Dropbox link be sure to tell people what file you’re talking about and what isn’t working

I am talking about the navigation link in the exercise detail view

This answers your question. Also next time mention what view you are starting in and what view you’re trying to go to.