JavaScript jQuery Basics Introducing jQuery jQuery Syntax and Animation Effects

Sorin Chircu
Sorin Chircu
38,289 Points

what's wrong with my code?

I can't really figure out what I am doing wrong

<!DOCTYPE html>
<html lang="en">
    <h1 class="profile-header">Student <span>Profile</span></h1>

    <script src="app.js"></script>
//document.querySelector('.profile-header').style.display = 'none';

1 Answer

Steven Parker
Steven Parker
204,004 Points

The jQuery animation functions are normally synchronous. To make them asynchronous (performed in order), you can chain them: