lieutenant_sanya: (Default)
Sanya ([personal profile] lieutenant_sanya) wrote in [community profile] fancoded 2023-07-07 09:25 pm (UTC)

Hello! I stumbled across your entry and thought I'd try a hand at it. Do you mean something like this? Very bare-bones example—but JS can filter and organize your works for you. In the first version I made, it needed you to edit the HTML and JS for new fics, but I rewrote it so that all you have to do is add more objects to an array; the JS will do the rest of the work in sorting and displaying it.

All of the fics' details (name, length, completion status, summary, etc.) are objects in an array I named "fics". The incomplete/complete checkboxes toggle {display: none} or {display: block} on the respective works depending on if they're checked. For the sorting functions, I made the parent main tag a flex box so JS can use the {order} property to organize the child sections according to word count/name/etc.

I can send the HTML and JS files to you if you'd like. :) Now I too want to start some sort of fannish fic archive, hahah.

Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting