@shraddha_patel
Software Developer @iFour Technolab Pvt Ltd
.NET Developer at iFour Technolab Pvt. Ltd.
Nothing here yet.
No blogs yet.
window.onload = function(){ // When the page has finished loading. $(".nested").each(function(){ // Check every "nested" class if($(this).children().length == 0){ // If this nested class has no children $(this).hide(); // This will hide it, but not alter the layout // $(this).css("display", "none"); // This will alter the layout } else{ $(this).show(); //$(this).css("display", "none"); // This will alter the layout } }
JWT stands for JSON Web Token is a standard used to create access tokens for an application. It works this way: the server generates a token that certifies the user identity, and sends it to the client. The client will send the token back to the server for every subsequent request, so the server knows the request comes from a particular identity. This architecture proves to be very effective in modern Web Apps, where after the user is authenticated we perform API requests either to a REST or a GraphQL API.