Hello, in this jQuery video I'm going to show you how to set multiple CSS properties and the previous video I showed you how to set a single CSS property. Again, the selected the Mara whenever you're doing something like getting this particular element that has been has triggered this event or just something like this doesn't matter at all. And I'll get rid of this to apply or modify multiple properties, or your multiple CSS properties, you just enclose it in curly braces after the regular parentheses. And now, what you do is put you put the property name, like so, for a comma, the property value then afterwards, you put, actually Sorry, I made a mistake. Instead of a comma, you put a colon. When you are modifying the next property, you put commas in the lesson modify one more, the students background Hello, and Conan.
And for this we are going to put what background color to keep it simple. And if you want in the one comma, and you can put the property name, colon, and then the property value, but I was going to keep it simple as to where you can add as many as you want. Then what we're going to do is reload the file, click it. As you can see, it's changed both properties, sort of hard to see the colors on the changes to white. There we go is changed both properties. So that is how you set multiple CSS properties using one selector.
That's it. If you have any questions, feel free to drop me a message and as usual, I look forward to seeing you in the next video.