DEV Community

Cover image for Day-78 Training At Ryaz
mahin651
mahin651

Posted on

Day-78 Training At Ryaz

  • Date:2/05/2022
  • Day:Monday

Today, I started at about 10:50 am as I was in progress to complete the java script course and today I stared with the left course firstly I started with promise and fetch api as the Fetch API provides a JavaScript interface for accessing and manipulating parts of the HTTP pipeline, such as requests and responses. It also provides a global fetch() method that provides an easy, logical way to fetch resources asynchronously across the network and The Promise object represents the eventual completion or failure of an asynchronous operation and its resulting value.after this I started with consuming promises We consume a promise by calling then() and catch() methods on the promise. For example, requesting data from an API using fetch which returns a promise. The successCallback is called when a promise is resolved. and after this as my project was not initiated with the basics i.e the bidding project build in node.js so, in rest half of day I started with it as it was not able to build it and run on the server so, I made the necessary changes and now it is working and being run on local host and now problem with it is left that the categories it have i.e the list of items did not get display otherwise it is registering the user and login and logout is working perfectly fine so, this way my day ended up and I get to learn many new things.

Top comments (0)