Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

Participants don't know how to pass data to macros in task 3's stretch task #23

Open
36degrees opened this issue Feb 28, 2020 · 0 comments

Comments

@36degrees
Copy link
Member

This issue was observed whilst facilitating Prototype Kit training in Manchester on 20 February 2020.

The task 3 stretch task (using Nunjucks macros) does not tell the user how to pass the answer the answer gave to the macro (i.e. the use of value: data['foo'])

We had lots of participants asking how to do this when we reached this step.

### Use some nunjucks macros in your prototype
In task 2 you added some questions to your pages. To do that you copied and pasted HTML code from the [GOV.UK Design System](https://design-system.service.gov.uk/).
Now we've talked a bit about Nunjucks macros, try replacing some HTML elements with the equivalent Nunjucks code.
A good place to start would be the radio buttons on your `juggling-balls.html` page.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant