crop_rotate
Run
<!DOCTYPE html> <html> <head> <style> .input { height:30px; width:30%; } .btn { padding:10px; background-color:#007bff; border:none; color:white; } </style> </head> <body> <h1>JavaScript on focus </h1> <p id="paragraph">border color will change , after focus</p> <form action="" method="post" onsubmit="alert('Data Sent successfully')"> <input type="text" class="input" placeholder="Enter Username"> <input class="btn" type="submit"> </form> </body> </html>
PCFET0NUWVBFIGh0bWw+DQo8aHRtbD4NCjxoZWFkPg0KPHN0eWxlPg0KIC5pbnB1dA0KIHsNCiAgIGhlaWdodDozMHB4Ow0KICAgd2lkdGg6MzAlOw0KIH0NCiAgLmJ0bg0KIHsNCiAgIHBhZGRpbmc6MTBweDsNCiAgIGJhY2tncm91bmQtY29sb3I6IzAwN2JmZjsNCiAgIGJvcmRlcjpub25lOw0KICAgY29sb3I6d2hpdGU7DQogfQ0KPC9zdHlsZT4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+IDo6LXdlYmtpdC1zY3JvbGxiYXJ7d2lkdGg6N3B4O2hlaWdodDo3cHg7fTo6LXdlYmtpdC1zY3JvbGxiYXItdHJhY2t7YmFja2dyb3VuZDojZmZmO306Oi13ZWJraXQtc2Nyb2xsYmFyLXRodW1ie2JvcmRlci1yYWRpdXM6NXB4O2JhY2tncm91bmQ6IzJmNDVmZjt9PC9zdHlsZT48L2hlYWQ+DQo8Ym9keT4NCjxoMT5KYXZhU2NyaXB0IG9uIGZvY3VzIDwvaDE+DQo8cCBpZD0icGFyYWdyYXBoIj5ib3JkZXIgY29sb3Igd2lsbCBjaGFuZ2UgLCBhZnRlciBmb2N1czwvcD4NCjxmb3JtIGFjdGlvbj0iIiBtZXRob2Q9InBvc3QiIG9uc3VibWl0PSJhbGVydCgnRGF0YSBTZW50IHN1Y2Nlc3NmdWxseScpIj4NCiAgPGlucHV0IHR5cGU9InRleHQiIGNsYXNzPSJpbnB1dCIgcGxhY2Vob2xkZXI9IkVudGVyIFVzZXJuYW1lIj4NCiAgPGlucHV0IGNsYXNzPSJidG4iIHR5cGU9InN1Ym1pdCI+DQo8L2Zvcm0+DQo8L2JvZHk+DQo8L2h0bWw+