0

I can't explain why there is an error at line 15 when there is no such error at line 21. Clean and rebuilding doesn't help.

my css file :

#i-will-do-it
{
    -fx-fill: #3AA8C1; /* moonstone */
  /*  -fx-fill: #6F2DA8; /* Grape */
}

#background
{
    -fx-background-color: #353839; /* Onyx */
}

#minute
{
    -fx-stroke: #3F26BF /* Ultramarine Blue */
    -fx-stroke-width : 3; /* THIS IS LINE 15 */
}

#seconds
{
    -fx-stroke: #FD0E35; /* scarlet */
    -fx-stroke-width : 0.8; /* THIS IS LINE 21 */
}

#hour
{
    -fx-stroke: #3F26BF; /* Ultramarine Blue */
    -fx-stroke-width : 5;
}

You can see that my line 15 hasn't turned blue : enter image description here

3
  • you are missing a ;. should have been #3F26BF; Commented Jul 19, 2017 at 11:10
  • @Tushortz really sorry. i will be deleting this question and thanks. been here for an hour Commented Jul 19, 2017 at 11:12
  • The [15, 21] means line 15, position 21. Commented Jul 19, 2017 at 11:21

1 Answer 1

2

There is a semicolon missing at the end of line 14. The error you're seeing may be related to that.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.