how to move from css classname to html code example
Example: html get class property
let element = document.querySelector('.preset');
let style = getComputedStyle(element);
let bg = style.backgroundColor;
let element = document.querySelector('.preset');
let style = getComputedStyle(element);
let bg = style.backgroundColor;