Random Flip Cards from File

Tuesday 22 February 2022

Where I am

I am now modifying the php code to make it work for flip cards

  1. first I simplified the old code by taking out various state variables. So the resulting code will assume a file is in the same directory, and not have options for giving it titles or putting things before or after.
  2. I should also go ahead and take out the code that allows multiple random items to be put up — but I don’t understand the code well enough yet. I will defer that until I get the basic things I want working
  3. What I will try next is to just get text from a line of a file onto one side of the card
  4. Then I will try parsing the line, so I can get stuff on the front and back.
  5. then we’ll see…

Next Steps

At this point I’ve gotten stuck on #3. So I am going to go back to #2, simply the code as much as possible, and make sure I understand everything that it is doing. Then I will return to #3.

  • Repeated an earlier error: uploaded a file to the wrong directory, and spent nearly an hour trying things and not getting any result — so always make sure that I can see a change when I upload a file.

Views: 7