Pass field value of original node in webform
I'm answering this with how I solved it in case anyone else has the same question. Maybe my question could be worded better though...

I was able to get this working with the Webform Node module.

I installed webform node. Then, I added a webform field to my content type. I selected the form I wanted as the default field settings. I selected the "Use this field's Content entity as the webform submission's source entity." checkbox.

I added my form to the display of the nodes I wanted it to be on in the content type's twig:

{% if node.field_name.entity.label == "My condition label" %}
  {{ content.field_name_of_webform_field }}
{% endif %}


Now, on my course page the same form appears for each section and I get the code for the section that the person filled-out the form on in the [webform_submission:source-entity:field_code:value] token!!

A couple of the resources that helped me:
https://www.youtube.com/watch?v=B_ZyCOVKPqA
https://www.webwash.net/moving-forward-webform-drupal-8/#attaching-a-webform-to-a-node