Codelab Editor
Free Online HTML Editor
Run
Learn jQuery
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>fadeIn() — slow / fast</title> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <style> body { font-family: Arial; padding:20px; } .controls { margin-bottom:10px; } .box { width:150px; height:100px; background:#4caf50; color:#fff; display:none; display:none; text-align: center; line-height: 100px; margin-bottom:10px; } button { padding:8px 12px; background:#007acc; color:#fff; border:none; border-radius:4px; cursor:pointer; } </style> </head> <body> <h2>fadeIn() — slow / fast</h2> <p>Click “Slow” (~600 ms) or “Fast” (~200 ms) to reveal.</p> <div class="controls"> <button id="btn3a">Slow</button> <button id="btn3b">Fast</button> </div> <div class="box" id="box3">Fade me in</div> <script> $('#btn3a').click(()=>$('#box3').fadeIn('slow')); $('#btn3b').click(()=>$('#box3').fadeIn('fast')); </script> </body> </html>
Editor Commands
Ctrl
F
Find
Ctrl
G
Find Next
Ctrl
⇧
G
Find Previous
Ctrl
⇧
F
Find & Replace
Ctrl
]
Indent Code Right
Ctrl
[
Indent Code Left
⇧
Tab
Auto Indent Code
Ctrl
/
Line Comment
Ctrl
Alt
/
Block Comment
TutsInsider Actions
Alt
S
Run Code
Ctrl
C
Copy Editor Code
Ctrl
A
Select All Editor Code
Ctrl
S
Save/Download
Ctrl
Alt
X
Rotate
Ctrl
Alt
T
Switch Theme
Ctrl
⇧
C
Open Console
Esc
Close Console