Developer Console must always be open during web development. HTTP protocol enables communication between browser and server. Traditional web applications have all logic on server
Google Translate API supports two endpoints: POST Detect and POST Translate. API is free up to 50 requests/day on RapidAPI. Additional requests cost $0.05 after first 50 calls
jQuery's $.getJSON() function retrieves JSON data from URLs. JSON data is enclosed in square brackets []. Example shows retrieving name and email from myjson.json
PHP's json_encode() function converts PHP objects to JSON format. JSON.parse() converts PHP response to JavaScript objects. AJAX requests can be used to exchange JSON data between client and server
Select2 v4 allows direct option/s appending. Initial value can be set using initSelection() function. Multiple values can be set using object with id and text properties
Status code 0 indicates an undefined error in network requests. Can occur due to firewall blocking or filtering. May result from cancelled AJAX requests. Can happen when user navigates to different page before AJAX completes