React Accordion | React Interview Questions | Machine Coding Round

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

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

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

    Your explanations are incredibly clear and helpful. I appreciate the effort you put into making complex topics understandable. Looking forward to more of your videos! 👏
    Are there any opportunities for frontend developers Please let me know.

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

    Checked ✅

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

    HI just as question , what if I want other accordion to close when I click on any particular one ?How can we do that?

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

      in that case you can maintain a state in FAQ component which will store index of qna for which you have to show ans and to show ans check if the index === state which you maintained. on click of + icon just set the state to particular index. hope it helps

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

      @@FrontendAman thanks aman, great content and keep posting!

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

    good explanation brother i have one doubt i understand every concept . in my job im only dependent on gpt is that ok or i have to develop by my self I'm fresher with 6 month experience

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

      I assume you are using gpt to get work done it's fine as long as you are also understanding in and out of the solution and not just copy paste. you can use gpt to understand why's.

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

      @@FrontendAman thanks buddy keep posting daily video really helpful watching your video and trying to do by myself really appreciate your work 💯

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

      @@shubhamkanaskar2660 bro tu startup madhe ahe kay

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

    Code :- codesandbox.io/p/sandbox/accordion-mtpkdn?file=%2Fsrc%2FComponents%2FFaq.jsx%3A5%2C11

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

    bhai FAQ and Accordion toh same hi hua na?

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

      @@jagdishjena9058 hnji, lekin dono video me alg way se approach hai. Dono video dekhlo ek baar