I am new to web development. need help with this query

hi you,
i was practicing on FCC and i came across some challenge on basic css. i want to know what exactly is the difference between

  1. { line-height :25px ; } and 2. {line-height: 25; }

your help is much appreciated. thank you

1 Like

Well, on freecodecamp it means the same things but on some programs it isn’t. px is a measurement and there is more then one measurement on css.(in, em, %, px)

1 Like