You are browsing as a guest. Sign up (or log in) to start making projects!

28m 14s logged

Devlog 8 — Organizing My Subjects

Today I worked on the ‘data/subjects.json’ file of my TaskForge study planner.

I wanted to keep my subject information separate from my HTML and JavaScript code, so I created a JSON file for storing the subject data.

What I added

  • Created the ‘data’ folder for project data.
  • Added the ‘subjects.json’ file.
  • Added Mathematics, Physics, Chemistry, English, and Computer.
  • Added an icon for each subject.
  • Added a short description for every subject.
  • Added a simple color value for each subject.
  • Organized all the subjects inside a JSON array.

What I learned

This was my first time making a separate JSON data file for this project.

I learned how JSON can be used to store information in a clean way.

I also practiced using:

  • ‘JSON’ objects
  • ‘JSON arrays’
  • Key-value pairs
  • ‘Strings’
  • Emojis inside JSON

Testing

I checked the file carefully to make sure the JSON syntax was correct.

I checked the quotation marks, commas, brackets, and all the subject information.

The “subjects.json” file is now completed. ✅

Now my project has a separate place for storing subject information.

0
62

Comments 0

No comments yet. Be the first!