Getting Started With The Fetch API

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2020
  • Today we'll starting off with the Fetch API. We'll fetch data from an external location and render that into our website, we'll also handle any errors that may occur
    💛 Be sure to comment like and subscribe to the channel! I have plenty more videos: / @thetechteam

Комментарии • 1

  • @lawaver
    @lawaver 2 года назад

    Hi, thanks for the video. I've also watched your ajax video and still struggling to grasp them. I've actually watched quite a lot of ajax videos as I am looking for a solution for my own state of mind. Can you say if either ajax or fetch or both will work with the following scenario. A user has clicked on a web page (player 1, pone.php) to say he has finished his go and I want control passed to a second user (player 2, ptwo.php ) and so on for players 3 and 4. My thinking is that when player 1 has finished by clicking on the finish button (pone.php), ajax takes over and displays a click button box on player 2 (ptwo.php) and then player2 can continue and again when finished pass over the player 3's go. This is for a card game for my own use. Is ajax or fetch the answer and if it is I can start to learn ajax. Thank you for my ramblings....