JavaScript Questions on Synchronous and Asynchronous

  1. How Error handling is done in JS ?
2. API calls in JavaScript are
  • Synchronous
  • Asynchronous

0 voters

  1. Read about synchronous and asynchronous nature of javascript
    Synchronous vs Asynchronous JavaScript – Call Stack, Promises, and More
  2. Learn about a CSS framework.
    Tailwind : Installation - Tailwind CSS

if(status==200 && readystate==4){
execute task
}
else{
error
}

1 Like