Last Lecture : Fetch API with Project | JavaScript Full Course

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024

Комментарии • 1,3 тыс.

  • @shradhaKD
    @shradhaKD  9 месяцев назад +1050

    This is the final chapter of our series. I hope you enjoyed & learnt from this series❤

    • @tariqahmed2526
      @tariqahmed2526 9 месяцев назад +24

      Plzz bring Shopify website project

    • @adarsh98215
      @adarsh98215 9 месяцев назад +27

      Didi pls ek video-set portfolio ka bhi ready kar do..

    • @ShaikhIrfan37
      @ShaikhIrfan37 9 месяцев назад +14

      Thank you for this awesome JavaScript tutorials. Please make more videos like this. Your videos are perfect and much easier than others.

    • @Kaif_Ansari_.
      @Kaif_Ansari_. 9 месяцев назад +13

      Didi mere college me kuch bhi nahi padhate hai jo bhi coding knowledge hai mere paas sab aap se hi sikha hai or seekhte rahenge. I really appreciate your work.

    • @ANIMALLOVERS-fh5np
      @ANIMALLOVERS-fh5np 9 месяцев назад +4

      Thank you soon much did ❤next frame works please didi front end developer complete hojia gha sab

  • @AmaanABGamer
    @AmaanABGamer 9 месяцев назад +1333

    NOW VOTE ✅ FOR REACT JS COURSE❤🎉

    • @nomatterff8918
      @nomatterff8918 7 месяцев назад +29

      bro react sikhna he to harry bhai ke channel pe jao vo banda 25000 logo ko full stack developer banane me laga he 😊

    • @AmaanABGamer
      @AmaanABGamer 7 месяцев назад

      @@nomatterff8918 that's good

    • @viralkiddo
      @viralkiddo 7 месяцев назад

      But she explains things in a different and very simple manners broo​@@nomatterff8918

    • @indianstreetfood9412
      @indianstreetfood9412 7 месяцев назад +6

      React Js/ Angular please

    • @clashwithaman6976
      @clashwithaman6976 6 месяцев назад +2

      Please react js tutorial dedo

  • @relatable.thingx
    @relatable.thingx 4 месяца назад +172

    Who else wants a full course of React.js by her?! ✋🏻

    • @kartikshukla5018
      @kartikshukla5018 2 месяца назад +2

      Why i am not able to change Api url by ${} variable

    • @ealinakundu
      @ealinakundu 2 месяца назад

      mee

    • @tusharchaube5187
      @tusharchaube5187 2 месяца назад

      @@kartikshukla5018 check if you are using back ticks (``)or not

    • @Arjun_parashar
      @Arjun_parashar 2 месяца назад

      @@kartikshukla5018 because that api stopped working

    • @MuhammadSulemanshafique
      @MuhammadSulemanshafique 24 дня назад

      yes yes...dil bat keh di....@ShradhaKD please make React series. plzzzzz

  • @kusumbs641
    @kusumbs641 Месяц назад +43

    Hi everyone, if you're having trouble with the API link, it is because the GitHub user has moved their repository. The new link is here: github.com/fawazahmed0/exchange-api.
    Follow these steps:
    -- Add this URL to the BASE_URL => cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@latest/v1/currencies
    -- Update this section of the code as below:
    const URL = `${BASE_URL}/${fromCurr.value.toLowerCase()}.json`;
    let response = await fetch(URL);
    let data = await response.json();
    let rate = data[fromCurr.value.toLowerCase()][toCurr.value.toLowerCase()];
    let finalAmount = amtVal * rate;
    msg.innerText = `${amtVal} ${fromCurr.value} = ${finalAmount} ${toCurr.value}`;
    Explanation:
    The API link has changed because the repository was migrated. The new URL structure is different; it no longer uses /currencies/{currencyCode}/{currencyCode}, but instead only /currencies/{currencyCode}. In the original code, both fromCurr and toCurr were part of the BASE_URL, and the exchange rate was derived directly. However, with the updated API, there isn't a direct endpoint for both currencies. Instead, you need to fetch the JSON for fromCurr, and then extract the rate for toCurr from that data to calculate the final amount.

  • @subhranilguharoy4684
    @subhranilguharoy4684 5 месяцев назад +39

    the api link is not working

    • @deepakvishwakarma8945
      @deepakvishwakarma8945 4 месяца назад

      const BASE_URL = "latest.currency-api.pages.dev/v1/currencies";
      const dropdowns = document.querySelectorAll(".dropdown select");
      const btn = document.querySelector("form button");
      const fromCurr = document.querySelector(".from select");
      const toCurr = document.querySelector(".to select");
      for (let select of dropdowns) {
      for (let currCode in countryList) {
      let newOption = document.createElement("option");
      newOption.innerText = currCode;
      newOption.value = currCode;
      if (select.name === "from" && currCode === "USD") {
      newOption.selected = "selected";
      } else if (select.name === "to" && currCode === "INR") {
      newOption.selected = "selected";
      }
      select.append(newOption);
      }
      select.addEventListener("change", (evt) => {
      updateFlag(evt.target);
      });
      }
      const updateFlag = (element) => {
      let currCode = element.value;
      let countryCode = countryList[currCode];
      let newSrc = `flagsapi.com/${countryCode}/shiny/64.png`;
      let img = element.parentElement.querySelector("img");
      img.src = newSrc;
      };
      btn.addEventListener("click", async (evt) => {
      evt.preventDefault();
      let amount = document.querySelector(".amount input");
      let amtVal = amount.value;
      if (amtVal === "" || amtVal < 1) {
      amtVal = 1;
      amount.value = "1";
      }
      const URL = `${BASE_URL}/${fromCurr.value.toLowerCase()}.json`;
      console.log(URL);

      let response = await fetch(URL);
      let data = await response.json();
      let rate = data[fromCurr.value.toLowerCase()][toCurr.value.toLowerCase()];
      console.log(rate);
      });

    • @aneeketvispute5063
      @aneeketvispute5063 3 месяца назад +4

      how did you solved this problem

    • @tarunchandra2465
      @tarunchandra2465 3 месяца назад

      @@aneeketvispute5063 i am also facing the same issue

    • @vaibhavsharma9318
      @vaibhavsharma9318 3 месяца назад

      @@aneeketvispute5063 how did youuuu solved this problem

    • @kartikshukla5018
      @kartikshukla5018 2 месяца назад +2

      Guys your api working?

  • @bhumur
    @bhumur 6 месяцев назад +17

    API is not Working Please recommend another API

    • @AhmadShah-wd3yy
      @AhmadShah-wd3yy 5 месяцев назад

      Dummy Api... Copy one of Theme and paste it after you will see the Data In Console to Render the data using map Method..

    • @shyamalthakur8366
      @shyamalthakur8366 3 месяца назад +1

      @@AhmadShah-wd3yy can you explain what exactly are we supposed to do?

    • @ranbirsinghmaan2534
      @ranbirsinghmaan2534 3 месяца назад

      @@shyamalthakur8366 I solved it bro, do you need the help to resolve it

  • @tooclose80
    @tooclose80 9 месяцев назад +82

    00:01 Introduction to Fetch API and its usage
    02:04 Understanding the purpose and function of APIs for making requests and getting responses.
    06:10 Understanding the Fetch API in JavaScript
    08:05 Using Fetch API to send and receive data
    12:09 Using Fetch API to send requests and handle responses
    14:03 Fetch API is used for making GET requests and receiving responses.
    17:41 Using Fetch API to make asynchronous network requests and handle the JSON response.
    19:36 Using Fetch API to retrieve and manipulate data in JavaScript
    23:42 Using fetch API with promise chaining for API calls in JavaScript
    25:37 Understanding Fetch API and its HTTP verbs
    30:03 Basics of API calling and HTTP headers
    31:45 Creating a currency converter in HTML5 and using the Fetch API
    36:04 Fetching country data and flags for a currency converter
    38:05 Creating a currency converter with Fetch API
    42:33 Styling and setting properties of form elements and containers.
    44:58 Styling and formatting elements using CSS
    49:17 Styling elements inside the dropdown and button
    51:34 Preparing a currency converter layout in JavaScript
    55:36 Access and print country list and codes
    57:48 Using Fetch API to retrieve country data and currency conversion logic.
    1:02:22 Using the Fetch API to convert currency and handle form submission
    1:04:57 Using the Fetch API and creating a URL for currency conversion.
    1:09:28 Understanding currency conversion and exchange rates
    1:11:45 Converting USD to IR using Fetch API
    1:16:23 Mini project using Fetch API and related concepts

    • @aatifkhan03
      @aatifkhan03 8 месяцев назад +2

      Thank you 🙏

    • @tooclose80
      @tooclose80 8 месяцев назад +2

      @@aatifkhan03 hey are you student or on the jobs

    • @aatifkhan03
      @aatifkhan03 8 месяцев назад

      @@tooclose80 Intern

    • @RSG.PB31
      @RSG.PB31 5 месяцев назад

      Thanks❤

    • @velmnate
      @velmnate 5 месяцев назад

      Thank you ❤

  • @SaalimQureshi-y5z
    @SaalimQureshi-y5z 2 месяца назад +3

    java script d.s.a we want d.s.a..........those who want d.s.a course like my comment.....

  • @mohithurmade1005
    @mohithurmade1005 9 месяцев назад +26

    Thank for this amazing content didi, plz make videos of "ReactJs" also, it can help many students. Please please ❤❤❤

  • @Anshulgupta-f7d
    @Anshulgupta-f7d 4 месяца назад +2

    can anybody share another API link , the link mam mention isn't responding

    • @Idontknowwhoami7
      @Idontknowwhoami7 3 месяца назад

      I have faced same problem. Now if you have found the any responding link, send me please..

  • @iqra817
    @iqra817 9 месяцев назад +11

    Ma'am, Can we start the React JS tutorial soon? Many of us are eager to begin.

  • @siddharthrathwa7062
    @siddharthrathwa7062 3 месяца назад +8

    mam api does not work because api's person change the api he's changed the link so currently can't convert to change only access the list of all country currency list could you please help me

    • @eternalflame2644
      @eternalflame2644 2 месяца назад +2

      same issue

    • @pritamdas7780
      @pritamdas7780 2 месяца назад

      @@eternalflame2644 what to do now ? same problem..

    • @pritamdas7780
      @pritamdas7780 2 месяца назад

      same problem..what can we do now?

    • @tushargaikwad5184
      @tushargaikwad5184 20 дней назад

      @@pritamdas7780 dusari website ki api use ki phir bhi same problem

  • @Virajpatole97
    @Virajpatole97 2 месяца назад +41

    The API is not working at least update the video with working API!!

    • @ishikatyagi2631
      @ishikatyagi2631 2 месяца назад +2

      Did you get working api

    • @IamAdityaDubey
      @IamAdityaDubey 2 месяца назад

      ​@@ishikatyagi2631 I have created this with a working api and uploaded to my GitHub.

    • @Virajpatole97
      @Virajpatole97 2 месяца назад

      @@ishikatyagi2631 i watched another tutorial

    • @VIBHUPRATAP23
      @VIBHUPRATAP23 2 месяца назад +1

      Sahi bol ra bhai tere pass hai to bhej da working api please

    • @RifatHossain-il9gu
      @RifatHossain-il9gu Месяц назад +1

      Yeah this api is not working. Did you get any working currency converter api....??

  • @Ninjacodes
    @Ninjacodes 9 месяцев назад +69

    Thanks Di , I started my development journey by you please don't stop this type course launch on youtube its help many students :)

  • @dineshdhaka2007
    @dineshdhaka2007 8 месяцев назад +37

    Mam aapki consistancy ko dil se salute, kuch youtuber course start ke bad m bich m 3-3 month tak video upload nahi karte h and aapne only 2 month m js ko done kar diya.
    Dil se thanku

    • @avijitgorai9087
      @avijitgorai9087 2 месяца назад +1

      jada mat dil de dena maam married hai

    • @jeffrinsamuel5358
      @jeffrinsamuel5358 2 месяца назад

      ​@@avijitgorai9087😂😂

    • @wbDev-23
      @wbDev-23 2 месяца назад

      @@avijitgorai9087 🤣🤣

    • @Praveen2002-e1k
      @Praveen2002-e1k 17 дней назад

      bro if you dont mind can you share api url i am getting error 404

    • @altamash_sayz
      @altamash_sayz 13 дней назад

      😂​@@avijitgorai9087

  • @informationhub8642
    @informationhub8642 21 день назад +2

    Can u please suggest new api because its not working properly mam any one who can found the correct link please suggest me i am facing trouble now😢

  • @galhotra_ravi
    @galhotra_ravi 5 месяцев назад +30

    Hey guys. I am seeing here that many of the people are having a error while using the api. It is because the endpoint of api has been changed by the developer.
    old format------>>
    json = fetchJSON(`/currencies/{fromCurrency}/{toCurrency}`)
    rate = json[toCurrency]
    new format ------->>>
    json = fetchJSON(`/currencies/{fromCurrency}`)
    rate = json[fromCurrency][toCurrency]

    • @SunnyThakur-z4f
      @SunnyThakur-z4f 5 месяцев назад +1

      how do we use and fix

    • @galhotra_ravi
      @galhotra_ravi 5 месяцев назад

      ​@@SunnyThakur-z4f I used the new format.... here is how you can do it ->>
      also change the base url
      const baseUrl = "cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@latest/v1/currencies";
      const url = `${baseUrl}/${fromCurr.value.toLowerCase()}.json`;
      let response = await fetch(url);
      // console.log(response);
      let data = await response.json();
      // console.log(data);
      let rate = data[fromCurr.value.toLowerCase()][toCurr.value.toLowerCase()];
      console.log(rate);
      let finalAmount = amtVal * rate;
      msg.innerText = `${amtVal} ${fromCurr.value} = ${finalAmount} ${toCurr.value}`;

    • @galhotra_ravi
      @galhotra_ravi 5 месяцев назад

      ​@@SunnyThakur-z4f ​ I used the new format.... here is how you can do it ->>
      also change the base url
      const baseUrl = "cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@latest/v1/currencies";
      const url = `${baseUrl}/${fromCurr.value.toLowerCase()}.json`;
      let response = await fetch(url);
      // console.log(response);
      let data = await response.json();
      // console.log(data);
      let rate = data[fromCurr.value.toLowerCase()][toCurr.value.toLowerCase()];
      console.log(rate);
      let finalAmount = amtVal * rate;
      msg.innerText = `${amtVal} ${fromCurr.value} = ${finalAmount} ${toCurr.value}`;

    • @azym_equinox
      @azym_equinox 5 месяцев назад +2

      @@galhotra_ravi Thank You So Much Dude!

    • @vk73788
      @vk73788 4 месяца назад

      Bro how to use this in this now

  • @vishalprajapati1932
    @vishalprajapati1932 7 месяцев назад +3

    There is problem with the currency api it has stopped working

    • @mohammadsami3734
      @mohammadsami3734 7 месяцев назад +1

      Yeah, same problem ..
      app.js:74 Error: Failed to fetch exchange rate. Status: 404
      at updateExchangeRate (app.js:66:19)
      How to resolve it now ?

    • @m_sahoo12
      @m_sahoo12 7 месяцев назад

      @@mohammadsami3734 USE ANOTHER API URL AND API KEY

    • @MuhammadAli-hh9td
      @MuhammadAli-hh9td 6 месяцев назад +1

      i can help you I just fix it

    • @mohammadsami3734
      @mohammadsami3734 6 месяцев назад +1

      @@MuhammadAli-hh9td yeah please

    • @m_sahoo12
      @m_sahoo12 6 месяцев назад

      @@MuhammadAli-hh9td can u share code

  • @ashishmahale1415
    @ashishmahale1415 9 месяцев назад +9

    Didi, now please start "React JS" series.we'll be so grateful. Thank you in advance.

  • @PankajP8L
    @PankajP8L 9 месяцев назад +13

    Please make 2 to 3 projects on all the concepts we have learnt here, please it will be very helpful for us to learn...:)

  • @Inayathasan1
    @Inayathasan1 4 месяца назад +5

    i am problem in api i think the guy has delete the api
    can someone sent any other api link which can replace this deleted one ??

    • @raunakgupta4356
      @raunakgupta4356 4 месяца назад +3

      I am also facing this problem... Did your problem get resolved?

    • @Inayathasan1
      @Inayathasan1 4 месяца назад

      @@raunakgupta4356 no, that guy Ahmed Nawaz has deleted that API so we can't do anything now
      And there no other api which can replace that API on internet

    • @Dheeraj_Prajapati_457
      @Dheeraj_Prajapati_457 3 месяца назад

      having the same issue....can someone help?

    • @ranbirsinghmaan2534
      @ranbirsinghmaan2534 3 месяца назад

      @@raunakgupta4356 I solved it bro, do you need the help to resolve it

  • @syber_zone
    @syber_zone 9 месяцев назад +1

    Please maa'm home login , Sign-up form project

  • @muhammadabbas-g3m
    @muhammadabbas-g3m 9 месяцев назад +13

    This was a dificult course but you made it easy and intresting , you are a execielent and great teacher wiith full of knowledge. thats why i started learning from your lectures..thank u so much for your efforts.........

  • @madhugangwar9879
    @madhugangwar9879 2 месяца назад +1

    This API link is not working ?

    • @nova-pk3rl
      @nova-pk3rl 2 месяца назад

      check my latest comment

  • @ShubhUSinha
    @ShubhUSinha 9 месяцев назад +17

    Thank you so much for this series ❤❤❤❤❤

  • @GALAT_FAHMIYA_ISLAM
    @GALAT_FAHMIYA_ISLAM 9 месяцев назад +1

    Didi please app DSA ka complete course banao na jisme sari programming language cover ho jaye please didi please otherwise I will be angry 😡 with you

  • @ravindrakumarmaurya7809
    @ravindrakumarmaurya7809 9 месяцев назад +15

    Thank you so much for your hard work....last two lectures gave me feeling as a coder.

  • @Sahil_svt_mv
    @Sahil_svt_mv 2 месяца назад +1

    Now that api of herokupp is not working

  • @raohammadraza7056
    @raohammadraza7056 8 месяцев назад +7

    Thank you so much Mam , please start the react-js tutorial ... I am eagerly waiting for the tutorial. Cause your explanation is too good ❤. It is very easy to understand and get the concept, explained by you. So, please start the react-js tutorial.

  • @sunitakapoor8172
    @sunitakapoor8172 9 месяцев назад +1

    Didi one full working website ki video benaya please

  • @khushimaurya88
    @khushimaurya88 3 месяца назад +4

    The beginning was mind-blowing yummy 😂 becoz of example of dishes ❤
    Btw thanku di for the complete course❤

  • @tusharmore4082
    @tusharmore4082 9 месяцев назад +8

    Thank you so much for great series...
    Please start with React js we eagerly waiting...

  • @247aakashpavar6
    @247aakashpavar6 9 месяцев назад +4

    Please Make Videos on Node Js to improve backend knowledge in Java Script

  • @technicalsupport1692
    @technicalsupport1692 16 дней назад +2

    hello Shradha Ma'm... thanks a lot for your videos and i have got better understanding of javascript through your videos

  • @Kaif_Ansari_.
    @Kaif_Ansari_. 9 месяцев назад +12

    Thanks Didi itna acha padhane ke liye. ❤

  • @abubakarzia774
    @abubakarzia774 19 дней назад +1

    that api key is currently not working
    it has been modified by the creator

  • @englishbetz6748
    @englishbetz6748 4 месяца назад +4

    Can you please provide the latest link for the API, old one is expired and not know how to use new API because there is some changes in new API.

    • @BECEOOPATELKHUSHJ
      @BECEOOPATELKHUSHJ 3 месяца назад

      Yes, please send currency api...

    • @shyamalthakur8366
      @shyamalthakur8366 3 месяца назад

      bro where you able to find any other alternative?

    • @ranbirsinghmaan2534
      @ranbirsinghmaan2534 3 месяца назад

      @@shyamalthakur8366 I solved it bro, do you need the help to resolve it

    • @ranbirsinghmaan2534
      @ranbirsinghmaan2534 3 месяца назад

      @@BECEOOPATELKHUSHJ I solved it bro, do you need the help to resolve it

  • @ank0it
    @ank0it 9 месяцев назад +1

    Next Nodejs didi plzzz(❁´◡`❁).

  • @roshansonone1276
    @roshansonone1276 8 месяцев назад +4

    Thank You so much Shradha Didi for this wonderful JavaScript series! 🚀 Your teaching is super clear and easy to follow. 👏 Can you do a series on React.js next? I'm sure it'll be awesome!

  • @StriveVoyage
    @StriveVoyage 9 месяцев назад +2

    didi linkedln ma tag kar kar k thak gaya hun. ek bar v response nahi aya apse BTW Awesome video Thank You

  • @kvkgamer9589
    @kvkgamer9589 2 месяца назад +3

    Api not working

    • @mohitchamyal4852
      @mohitchamyal4852 2 месяца назад

      Same bro !
      Solution Mila ?

    • @TahmidHossain-ot7zy
      @TahmidHossain-ot7zy 2 месяца назад

      ​@@mohitchamyal4852 learn to use axios, github last update has made fetch api so complex

    • @umarsaad4635
      @umarsaad4635 2 месяца назад

      @@mohitchamyal4852 have any solution?

    • @learnwithcode102
      @learnwithcode102 Месяц назад

      Bhai chal rahi hain internet on hain

  • @arunthakur494
    @arunthakur494 12 дней назад +2

    flag api was not working

  • @SachinPatil-x1q
    @SachinPatil-x1q 9 месяцев назад +4

    Didi please react js par bhi series banaoo naa😢

  • @SaikatSingha-kh7xu
    @SaikatSingha-kh7xu 3 месяца назад +1

    Please maam create a React JS full course video 🥺🙏

  • @sandeeptanjore1253
    @sandeeptanjore1253 8 месяцев назад +5

    Finally finished all the lectures in order. This project was a beast to me. Everything covered so well. Loved the entire series.
    In short this course was not bloated at all. Brief, short and crisp. Now will start Node.js from ZTM.
    Thanks Shradha and all the best!

  • @-Puligantimahendar
    @-Puligantimahendar Месяц назад +1

    don't know the reason the api is not working

  • @wok-10
    @wok-10 9 месяцев назад +3

    Please make a course about node js. Plz plz 😅😅

  • @sanjayyygurjarr
    @sanjayyygurjarr 3 месяца назад +1

    HELP:ERROR: maam the api has changed, and i cant work with the new api, could u help????????????????

  • @DevanshSubnani
    @DevanshSubnani Месяц назад +1

    Thanks Di, can you please make course on Spring boot(included in Full stack). Plus can you also make devOps course either on youtube or similar to delta batch you have

  • @MuzamilGraphics-j1m
    @MuzamilGraphics-j1m 9 месяцев назад +3

    this course is very amazing than code with harry and mam your teaching experince is more outstanding😍

  • @RanaharshSingh-tk7gd
    @RanaharshSingh-tk7gd 2 месяца назад +1

    Doing all these 13 lacture and practice should I think I have done js.course..was this enough to learn js..?

    • @harshrana3012
      @harshrana3012 2 месяца назад

      no bro, as these videos lack knowledge for interviews, and many importnat more concepts too

  • @ShaadSafder
    @ShaadSafder 9 месяцев назад +17

    Thanks Didi for launching this
    Javascript series.I am a DELTA
    student watching this video for
    an early edge

    • @lekhpalsingh792
      @lekhpalsingh792 7 месяцев назад +1

      How's the course in delta?

    • @tushargaikwad5184
      @tushargaikwad5184 20 дней назад

      bhai ek bat bta ki delta course me isi taraha padhate h ya kuch detaling me bhi hota h

  • @AshishMalhotra-tl9or
    @AshishMalhotra-tl9or 6 месяцев назад +2

    Mam, the api repo has migrated and the link in your code is not functioning, can you please suggest alternate APIs or a solution to this?

    • @sanmorya
      @sanmorya 6 месяцев назад

      Bhai mujhe vi koi solution btao 😢

    • @AshishMalhotra-tl9or
      @AshishMalhotra-tl9or 6 месяцев назад

      @@sanmorya abhi jo latest repo hai uspe jao, waha jaake latest currency list ko download karo, it might be in US base so remove that part and set it to the from country base, after that uss se data extract karke uss data se tocountry ka value derive karo and uss rate nikalo...

    • @deepakvishwakarma8945
      @deepakvishwakarma8945 4 месяца назад

      const BASE_URL = "latest.currency-api.pages.dev/v1/currencies";
      const dropdowns = document.querySelectorAll(".dropdown select");
      const btn = document.querySelector("form button");
      const fromCurr = document.querySelector(".from select");
      const toCurr = document.querySelector(".to select");
      for (let select of dropdowns) {
      for (let currCode in countryList) {
      let newOption = document.createElement("option");
      newOption.innerText = currCode;
      newOption.value = currCode;
      if (select.name === "from" && currCode === "USD") {
      newOption.selected = "selected";
      } else if (select.name === "to" && currCode === "INR") {
      newOption.selected = "selected";
      }
      select.append(newOption);
      }
      select.addEventListener("change", (evt) => {
      updateFlag(evt.target);
      });
      }
      const updateFlag = (element) => {
      let currCode = element.value;
      let countryCode = countryList[currCode];
      let newSrc = `flagsapi.com/${countryCode}/shiny/64.png`;
      let img = element.parentElement.querySelector("img");
      img.src = newSrc;
      };
      btn.addEventListener("click", async (evt) => {
      evt.preventDefault();
      let amount = document.querySelector(".amount input");
      let amtVal = amount.value;
      if (amtVal === "" || amtVal < 1) {
      amtVal = 1;
      amount.value = "1";
      }
      const URL = `${BASE_URL}/${fromCurr.value.toLowerCase()}.json`;
      console.log(URL);

      let response = await fetch(URL);
      let data = await response.json();
      let rate = data[fromCurr.value.toLowerCase()][toCurr.value.toLowerCase()];
      console.log(rate);
      });

  • @meetdream1167
    @meetdream1167 9 месяцев назад +8

    I already watch 2 js playlist but your playlist in on another level all important concepts in very simple language thanks 👍

  • @zeeshan1019
    @zeeshan1019 4 месяца назад +1

    Exchange rate Api link is not working. Can anyone help? It is showing the link has been changed

  • @103_kajaljadhao5
    @103_kajaljadhao5 9 месяцев назад +3

    Shraddha didi....JS series was woww..... Please make series on react and some projects on it

  • @v33r
    @v33r 18 дней назад +1

    can someone please share a BASE_URL link

  • @aadiltamboli3108
    @aadiltamboli3108 9 месяцев назад +3

    Waiting for node js playlist

  • @aboutworldinfo
    @aboutworldinfo 4 месяца назад +1

    Yeh api kam nhi ker rhi abhi please share new api🙏

  • @vinithak4569
    @vinithak4569 9 месяцев назад +4

    Thank you so much for such a great series ❤🥲you are a great teacher i've never seen before in my life 😭and also i would like to say you one thing mam ,you had health issues but still you made a video for us 🥲you are really great teacher and may I god bless you mam 🎉❤Once again thank you......

  • @Sumitsingh-9310
    @Sumitsingh-9310 Месяц назад +1

    Everything was good , just the API is currently not working . Can somebody explain , how to resolve this issue .

  • @poojachavhan-vt1hp
    @poojachavhan-vt1hp 3 месяца назад +4

    very nice went through whole series.....got good understanding ,thank you so much, there is so much effort seen to make it understand for beginners....the only thing in project is api doesnt work

    • @eternalflame2644
      @eternalflame2644 2 месяца назад

      same issue, that api is not working, i guess the owner has changed it

    • @shinchan876-s2y
      @shinchan876-s2y 2 месяца назад

      @@eternalflame2644 same issue!!

    • @tushargaikwad5184
      @tushargaikwad5184 20 дней назад

      @@eternalflame2644 i tried lot of api but not why in the vedeo 8 minn

  • @RahulBiswas-x4b
    @RahulBiswas-x4b 14 часов назад +1

    Shradha Di Ab React Padhna Hai Kab Se Start Ho Raha Hai?

  • @VaibhaviGaonkar-ic5rk
    @VaibhaviGaonkar-ic5rk 9 месяцев назад +5

    I appreciate you providing this fantastic, simple-to-follow JavaScript course with us, ma'am. I had a great time during the entire tutorial. I am very excited to study backend WebD under your guidance. Ma'am, you really made India fall in love with coding.

    • @ManojDas-uf1zk
      @ManojDas-uf1zk 6 месяцев назад

      have you try the project i have try the project but api link not working if you have the right link please give the api link

    • @ranbirsinghmaan2534
      @ranbirsinghmaan2534 3 месяца назад

      @@ManojDas-uf1zk I solved it bro, do you need the help to resolve it

  • @pratikzagade7808
    @pratikzagade7808 26 дней назад +1

    Thank you didi for your help.
    so next series make on React js.
    Vote for REACT JS Series...

  • @abhishekprem9556
    @abhishekprem9556 9 месяцев назад +8

    Thank you so much for this JS session, but please start a new session for ReactJS.

  • @kiruthika-jz4rs
    @kiruthika-jz4rs 9 месяцев назад +2

    pllsss do a reactjs lecture Thank you for js series

  • @Nature12349-
    @Nature12349- 9 месяцев назад +3

    Waiting for react js course

  • @manavshailesh274
    @manavshailesh274 6 месяцев назад +1

    this fawazahmed link is not working he migrated in the new one i cannot find the link can someone help me

    • @sipunkumarnanda3327
      @sipunkumarnanda3327 6 месяцев назад

      const BASE_URL = "2024-03-06.currency-api.pages.dev/v1/currencies" ;
      const dropdowns = document.querySelectorAll(".dropdown select");
      const btn = document.querySelector(".btn") ;
      const fromCurr = document.querySelector(".from select") ;
      const toCurr = document.querySelector(".to select") ;
      const msg = document.querySelector(".msg")
      for(let select of dropdowns){
      for(currCode in countryList){
      let newOption = document.createElement("option") ;
      newOption.innerText = currCode ;
      newOption.value = currCode ;
      if(select.name === "from" && currCode === "USD"){
      newOption.selected = "selected" ;
      }else if (select.name === "to" && currCode === "INR"){
      newOption.selected = "selected" ;
      }
      select.appendChild(newOption);
      }
      select.addEventListener("change" , (eve) =>{
      updateFlag(eve.target);
      })
      }
      const updateFlag = (element) =>{
      let currCode = element.value ;
      let countryCode = countryList[currCode];
      let newSrc = `flagsapi.com/${countryCode}/flat/64.png` ;
      let img = element.parentElement.querySelector("img") ;
      img.src = newSrc ;
      }
      btn,addEventListener("click" ,(eve) =>{
      eve.preventDefault();

      updateExchangeRate();
      })
      const updateExchangeRate = async () =>{
      let ammount = document.querySelector(".ammount input") ;
      let amtVal = ammount.value ;
      if(amtVal === "" || amtVal < 1 ){
      amtVal = 1 ;
      ammount.value = 1 ;
      }

      const currUrl = `${BASE_URL}/${fromCurr.value.toLowerCase()}.json` ;
      let response = await fetch(currUrl)
      const data = await response.json();
      let convertedData = (data[fromCurr.value.toLowerCase()][toCurr.value.toLowerCase()] ) ;
      // console.log(convertedData);
      let finalAmount = convertedData * amtVal ;
      // console.log(finalAmount);
      msg.innerText = `${amtVal} ${fromCurr.value} = ${finalAmount} ${toCurr.value}`
      }
      window.document.addEventListener('onload' , () => {
      updateExchangeRate() ;
      })

  • @DeepakThakur-me3op
    @DeepakThakur-me3op 6 месяцев назад +4

    API link is not working please check it once ...

    • @KewalTailor
      @KewalTailor 6 месяцев назад +2

      Same project kyu bana rha h, make a time converter similar concept but different api and you will get to learn how much "fun" dealing with date and time is

    • @ranbirsinghmaan2534
      @ranbirsinghmaan2534 3 месяца назад +1

      I solved it bro, do you need the help to resolve it

    • @KewalTailor
      @KewalTailor 3 месяца назад

      @@ranbirsinghmaan2534 how do you resolve it?

    • @tusharchaube5187
      @tusharchaube5187 2 месяца назад

      @@ranbirsinghmaan2534 help me bhai

    • @rachit6699
      @rachit6699 Месяц назад

      @@ranbirsinghmaan2534 bro help related to api please

  • @sanjaytripathi7892
    @sanjaytripathi7892 7 месяцев назад +1

    problem: app.js:13 Uncaught ReferenceError: countryList is not defined
    at app.js:13:20

    • @adamyasharma_0135
      @adamyasharma_0135 7 месяцев назад

      check whether you used properly and before the app.js

  • @poorvanshabaliyan5541
    @poorvanshabaliyan5541 4 месяца назад +7

    Shraddha mam taught very well but its really unfair that the API is mot working now .I built the whole project and wasted so much time only to come at the very last of the video and came to know that api is not there anymore

  • @faizanvlog9883
    @faizanvlog9883 9 месяцев назад +1

    please uploade final chapter notes

  • @da_batman
    @da_batman 9 месяцев назад +15

    I have watched a lot of tutorials to learn JavaScript, and I wish I found this playlist earlier, I started this playlist to brush up on the basics, even watching it at 2x speed, I understood all the concepts, especially Callbacks, callback hell, and promises. thank you for the free tutorial.

    • @ManojDas-uf1zk
      @ManojDas-uf1zk 6 месяцев назад

      have you try the project i have try the project but api link not working if you have the right link please give the api link

    • @ranbirsinghmaan2534
      @ranbirsinghmaan2534 3 месяца назад

      @@ManojDas-uf1zk I solved it bro, do you need the help to resolve it

    • @rajveersingh-kg1td
      @rajveersingh-kg1td 3 месяца назад

      @@ranbirsinghmaan2534 i am also facing same problem. could you please help me to get it resolved?

    • @kuldeepojha3056
      @kuldeepojha3056 3 месяца назад

      @@ranbirsinghmaan2534 yes

    • @tarunchandra2465
      @tarunchandra2465 3 месяца назад

      @@ranbirsinghmaan2534 yes i need help ...

  • @TanishqSingh-b6m
    @TanishqSingh-b6m 5 месяцев назад +2

    mam the api link you provided is not working now please help

  • @shivangrana2006
    @shivangrana2006 9 месяцев назад +3

    Yeah 🎉 Mam completed java script easily and understandably❤

  • @maheshkumar0907
    @maheshkumar0907 7 месяцев назад +1

    Can anyone tell me what are the advanced javascript concepts

  • @InnovationHunger
    @InnovationHunger 9 месяцев назад +5

    Thankyou so much mam! For your contribution to the learning enthusiastic people who really want to grow their career but can't take any financial risk. Thanks again.

  • @farhadhossen4548
    @farhadhossen4548 7 месяцев назад +2

    didi api repositry delete kar diye

  • @mastigaming74
    @mastigaming74 6 месяцев назад +6

    @shradhaKD the api link you have used for currency converter is not working. Can you provide any other api..

    • @ManojDas-uf1zk
      @ManojDas-uf1zk 6 месяцев назад

      yes not working now what should you do if you find any alternative please give me the link

    • @alokshukla3693
      @alokshukla3693 5 месяцев назад

      bro same problem is there any link you find or not and if you found plz tell me

    • @alokshukla3693
      @alokshukla3693 5 месяцев назад

      @@ManojDas-uf1zk if you find plz tell me

    • @deepakvishwakarma8945
      @deepakvishwakarma8945 4 месяца назад

      @@alokshukla3693
      const BASE_URL = "latest.currency-api.pages.dev/v1/currencies";
      const dropdowns = document.querySelectorAll(".dropdown select");
      const btn = document.querySelector("form button");
      const fromCurr = document.querySelector(".from select");
      const toCurr = document.querySelector(".to select");
      for (let select of dropdowns) {
      for (let currCode in countryList) {
      let newOption = document.createElement("option");
      newOption.innerText = currCode;
      newOption.value = currCode;
      if (select.name === "from" && currCode === "USD") {
      newOption.selected = "selected";
      } else if (select.name === "to" && currCode === "INR") {
      newOption.selected = "selected";
      }
      select.append(newOption);
      }
      select.addEventListener("change", (evt) => {
      updateFlag(evt.target);
      });
      }
      const updateFlag = (element) => {
      let currCode = element.value;
      let countryCode = countryList[currCode];
      let newSrc = `flagsapi.com/${countryCode}/shiny/64.png`;
      let img = element.parentElement.querySelector("img");
      img.src = newSrc;
      };
      btn.addEventListener("click", async (evt) => {
      evt.preventDefault();
      let amount = document.querySelector(".amount input");
      let amtVal = amount.value;
      if (amtVal === "" || amtVal < 1) {
      amtVal = 1;
      amount.value = "1";
      }
      const URL = `${BASE_URL}/${fromCurr.value.toLowerCase()}.json`;
      console.log(URL);

      let response = await fetch(URL);
      let data = await response.json();
      let rate = data[fromCurr.value.toLowerCase()][toCurr.value.toLowerCase()];
      console.log(rate);
      });

    • @ranbirsinghmaan2534
      @ranbirsinghmaan2534 3 месяца назад

      @@alokshukla3693 I solved it bro, do you need the help to resolve it

  • @sidharthsinh5350
    @sidharthsinh5350 3 месяца назад +1

    api mai problem aa rha hai fetch problem plz koi solution dedo

  • @zeeshan_sharif
    @zeeshan_sharif 9 месяцев назад +2

    Thanks respected shradha khapra for all your informative videos this videos maks easy to learn JavaScript and again thanks you so much

  • @arrow144
    @arrow144 9 месяцев назад +2

    I applied for Alpha batch and have been chasing their support team for months for an issue. Still no response. Haven't even got my completion certificate. Don't know what to do to grab their attention at this huge flaw of customer dissatisfaction after buying the course and not getting the certificate yet.
    I will comment on every video coz I don’t have any other option

  • @abdurrahmanfaisal4645
    @abdurrahmanfaisal4645 5 месяцев назад +5

    API link doesn't work😓

  • @sambangalore8291
    @sambangalore8291 9 месяцев назад +1

    Didi plz typescript bhe karadejeya na humble request

  • @nitingujar7938
    @nitingujar7938 9 месяцев назад +5

    I watched the whole series and am beginner , I understand all topics very well in my first turn.
    Thank you 💌

  • @sambangalore8291
    @sambangalore8291 9 месяцев назад +1

    Didi plz typescript bhe karadejeya na humble request

  • @RajSingh-be2uc
    @RajSingh-be2uc 2 месяца назад +1

    API link is not working .

  • @AmmanBilal
    @AmmanBilal 4 месяца назад +1

    this api is not working for currency converter @shardaKD please help

  • @saisubhank8011
    @saisubhank8011 5 месяцев назад

    Your way of teaching is so good. But I feel you are prolonging a bit. For example, if you are speaking about promises, you are telling things excessively than required.

  • @sanjayyygurjarr
    @sanjayyygurjarr 3 месяца назад

    HELP:ERROR: maam the api has changed, and i cant work with the new api, could u help????????????????

  • @youtube_reels..
    @youtube_reels.. 3 месяца назад +1

    didi localstorage video

  • @tushargedam8881
    @tushargedam8881 2 месяца назад +1

    enjoyed this full series, Thank You mam❤, PPLZ make a playlist on ReactJS, there is placement in my college in 2 months 🙏

  • @indarsain2734
    @indarsain2734 5 месяцев назад +1

    There is a problem in fetching the API, an error is being shown, please give any suggestions.🥺

  • @sanjayyygurjarr
    @sanjayyygurjarr 3 месяца назад

    HELP:ERROR: maam the api has changed, and i cant work with the new api, could u help????????????????

  • @AshwaniSaxena-pg8fs
    @AshwaniSaxena-pg8fs 4 месяца назад +1

    please provide different API , this API is not working.....

  • @pramodchintu36
    @pramodchintu36 3 месяца назад +1

    Api isn't working what should we do?

  • @MRYASH555
    @MRYASH555 8 месяцев назад +1

    thank you please ab node js par bana do

  • @CJ7-cybercafe-.
    @CJ7-cybercafe-. 4 месяца назад +2

    currency converter ki url fetch nhi ho raha hai

  • @agampandey2437
    @agampandey2437 6 месяцев назад +1

    is that api not working for me only or is there anyone else