Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
<!DOCTYPE html> <title>My Example</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> <script> $( function() { $( "button" ).click( function() { $( ".warning p" ).text( "Hey! I thought I warned you not to do that!" ); }); }); </script> <button>Click me!</button> <div class="warning"> <p>Don't do it!</p> </div>