@broberg thanks, it helps a lot. Just the basic question I still don’t get - How do I identify “individual class name” in JS file? Is there any key word? I went through code clock.js and there is nothing (for me) like “this is Span named date”. Actually, I want to have time (hours + : + minutes) green. There is timeString, which is I guess variable. There is div
named digital
, but I don’t want to have the whole div
in green. There is also child named timeWrapper
- this is ht right element? but
.clock.time {
color: green;
}
Doesn’t work. Also
.clock.digital {
color: green;
}
and also
.clock.timeWrapper {
color: green;
}
doesn’t do anything.
Thanks for help