https://stackoverflow.com/questions/3232943/update-value-of-a-nested-dictionary-of-varying-depth p.p1 { margin: 0; font: 10px Helvetica; color: rgba(169, 183, 198, 1); background-color: rgba(43, 43, 43, 1) } span.s1 { color: rgba(204, 120, 50, 1) } s…