Progress bar for task completion

Sample form data

const details = {
    name: "Jefferson",
    age: 12,
    weight: 70,
    level: 30,
    relationship: "",
    contact: "",
    email: "",
    friends: 459
}

Each filled field has a mark attached to it. The total mark is equal to the total length of the progress bar [100%].

Each field is equal to - 100% / Length of object(converted to array)