JavaScript and jQuery

Another logical step for front end developers is to learn JavaScript if you haven't done so already. With CSS, we can add interactivity through the hover and focus states, but we can't have the on-click or swipe feature or anything like that. Enter JavaScript and jQuery. I recommend that you learn the basics of JavaScript; however, if you want to get a springboard in it, you can start out by learning jQuery.

So let's say we want to do something like display a modal when we click on the Learn more >> link:

We could have a modal that shows:

So we have an animation that will fade in and out. Therefore, it is relatively ...

Get Mastering CSS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.