elixirschool / school_house

The new era of Elixir School now powered by @phoenixframework
https://elixirschool.com/
Apache License 2.0
152 stars 48 forks source link

Each section header link gets a unique id #171

Closed vclayton closed 2 years ago

vclayton commented 2 years ago

This is an attempt to fix bug #99

IDs all get a number appended to them, starting at 0 and counting up. I'm still new to elixir so I'm sure it could be done more cleanly, am happy to receive feedback.

jaimeiniesta commented 2 years ago

I think this can be a working solution, adding a unique number will ensure the generated IDs are unique.