Here is an example of the object I have:
let myObject = {
0: {id:'1001',name:'john'},
1: {id:'1002',name:'johnson'},
2: {id:'1001',name:'jack'},
3: {id:'1021',name:'mark'},
}
I am looking to search for key-value pairs in the object where id is '1001' and then apply specific CSS properties, such as background color.
In my HTML table, there will be two columns - ID and Name. Based on the value found, I want to apply CSS styling to the entire row in the table.