What is the main difference between font-weight and font-style?
I had got only italic one
Font-weight speficy the thickness of writing and font-style specify the shape and writing style like you said italic etc. Happy coding!
Font-weight is where you decide how thick the strokes of the letters are going to be. Font-style is where you decide whether the text is going to be italics, oblique (faux italics), or neither of these (i.e. roman or normal).