@malin@linuxrocks.online Yes; though it'd require some browser-side JS to update the page contents as the number of people is adjusted.
There are some approaches that come to mind:
1. Insert the ingredient data as structured JSON somewhere into the page (eg. in an embedded <script> tag) and re-generate the page contents every time the amount of people is adjusted, this requires some form of templating (eg. with React)
2. Use specially-tagged tags like so: "Add <span data-amount='2'>2</span> teaspoons of sugar" and upon the number of people being changed, have a bit of code that finds all the `data-amount`-having tags in the page, takes the value from the attribute, multiplies it, and puts the result as the new *contents* of that tag.
Option 1 is probably better if you want to expand the site over time with more (dynamic) functionality like optional ingredients, option 2 is probably better for a "quick and dirty" implementation if this is all the dynamic stuff you'll need.