Skip to content

Bug : Clock text styling not applying due to CSS selector mismatch #142

@aditya48-q

Description

@aditya48-q

Bug:
The timer clock is not receiving its intended styling (font size, weight, letter-spacing).
In style.css, the clock is styled using the #timer selector. However, in the HTML, the actual time element uses id="time", while its container uses class="timer". Because of this mismatch, the styles are not being applied to the text.

Steps to Reproduce

  1. Open the application.
  2. Inspect the timer text element.
  3. Notice that the specific CSS rules for #timer are not applied to the id="time" element.

Proposed Fix:
Update style.css to change the #timer selector to #time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions