Simple jQuery Text Animation

Simple jQuery Animation with .animate: to show and hide a text for a little moment.

HTML

<div id="toDisplayContainer">
        <p>Welcome to the Portal</p>
    </div>

CSS

#toDisplayContainer {display: none;}

JavaScript

$(document).ready(function() { 
    $("#toDisplayContainer").animate({
        height: 'toggle'
    }, 10000, function() {
        $(this).animate({
           
        });
    });
});