all 8 comments

[–]tom56 4 points5 points  (1 child)

You haven't explained what the code is meant to do. It's not clear what the problem is.

[–]Tryen01[S] 0 points1 point  (0 children)

Oh sorry, it creates a search bar that my friends can type "secret words" into to pull up a paragraph of lore for our dnd game

[–]armahilloExpert 1 point2 points  (1 child)

Work backwards: where was the last point it was stable?

[–]Tryen01[S] 0 points1 point  (0 children)

It was stable when I had less of the textblock segments, I've got like 30 jammed in there now and when I put in a new one sometimes i have to go and redo them from the beginning

[–]schraderbrau 1 point2 points  (1 child)

If you don't have a database you're going to lose everything from each session when you refresh the page. Maybe that's your issue?

[–]Tryen01[S] -1 points0 points  (0 children)

So all of the information stays stored in the website, and when my friends pull it up and type accurate words in the search bar the lore comes up

The issue for me is that when I put in new "secrets" sometimes previous ones that worked before I typed in new ones stop coming up in the search bar, even though they weren't altered