Tuesday , 16 July 2019
Home / Tag Archives: fields

Tag Archives: fields

HTTP Headers – Advanced JavaScript Tutorial

HTTP headers are just pieces of information of the request and response. Browsers will automatically send this kind of information by default. Sometimes you’ll want to modify these HTTP headers so you can let servers know what to expect. Servers also send you back HTTP headers which allow you to know more information about the response itself. Sending Custom Headers …

Read More »

Keyboard Events – Advanced JavaScript Tutorial

Keyboard Events

It’s time to take a look at keyboard events. Another popular feature of JavaScript is the capability to detect which keys were pressed and how they were pressed. Let’s first update our document to this. [crayon-5d2e4e328f152718687973/] Sweet! Now, let’s clear up the script and add this bit of code. [crayon-5d2e4e328f162234293213/] The first kind of event is the keydown event. This …

Read More »