React JS Interview Questions ( Drag and Drop Notes ) - Frontend Machine Coding Interview Experience

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

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

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

    Roadside to Dream Job - Frontend Interview Prep Course 🔥🔥
    roadsidecoder.com/course-details (50% Discount for limited time)

  • @techsavy5669
    @techsavy5669 4 дня назад

    This way of accessing also works, as note-Refs is an array type.
    note-Ref = note-Refs[id].current;

  • @Solo_playz
    @Solo_playz 7 месяцев назад +19

    Your videos becoming calculation-heavy 💀day by day which proves that FE is not limited to only HTML

  • @PradeepKumar-jp8py
    @PradeepKumar-jp8py 7 месяцев назад +2

    Problem Statement: Weekday date range picker component
    Create a date range picker component in React and TypeScript that allows users to select
    weekdays (Monday through Friday) and prevents them from selecting weekends (Saturday and
    Sunday). The component should include the following features:
    ● The component should allow users to select a date range defined by a start date and an
    end date. Remember that a start date and an end date must be a weekday and should
    not be a weekend.
    ● The selected date range should highlight only weekdays and weekends should not be
    highlighted.
    ● The user should be able to change the year displayed in the date picker.
    ● The user should be able to change the month displayed in the date picker.
    ● The component should include a change handler that returns the selected date range
    and any weekend dates within that range. As an example, if the range selected is
    December 1st, 2022, to December 15th, 2022, the returned values should be an array
    containing the date range as the first element (e.g. [2022-12-01, 2022-12-15]) and an
    array of weekend dates within that range as the second element (e.g. [2022-12-03,
    2022-12-04, 2022-12-10, 2022-12-11]).
    ● The component should include a prop that allows the user to input predefined ranges,
    such as the last 7 days or last 30 days. These predefined ranges should be displayed
    below the calendars.
    Please refer to the date range picker linked below as an example:
    rsuitejs.com/components/date-range-picker/#predefined-date-ranges
    The use of date picker libraries (e.g. react-datepicker) or date libraries (e.g. date-fns,
    Moment.js, Day.js) is strictly prohibited.
    sir please solve this problem and make a tutorial video ,,

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

    Could you create a video on how to host your portfolio website in github pages?

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

      Sure

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

      Hi

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

      @@RoadsideCoder Thanks a lot brother

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

      I don't think it takes much effort to host. Just push all your files in a repo and go to settings and go to pages. Then enable the pages and you are done with it.

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

    thank you sir that was a great video it refreshed my react skills, taught me some new lessons, and my collection got another project.
    Consider your HW to be done by my side.

  • @OnePiece_Fandom
    @OnePiece_Fandom 29 дней назад

    One of the best explanation video i have even seen, thanks brother💖

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

    Thanks for sharing this knowledge-packed video on React machine coding! 🚀 Learned a lot and would love to see more content like this 😇

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

      Thanks! You can find more questions here - roadsidecoder.com/course-details

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

    Bhai agr aap code ko explain krte chalo then it's good for people like me who is new to react

    • @CppGod-kn3fy
      @CppGod-kn3fy 5 месяцев назад

      Khud samjhle bhai ya fir apna level badha aur fir yeh video

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

      @@CppGod-kn3fy yeh aap kisko bol rhe ho samjh nhi ayaa

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

      @@CppGod-kn3fy I am viewers mujhe Jo samjh aaiga boloonga TM code likh rahe ho code likho zyda wakeel Mt bno ok.... tumko samajh aa rha h ok Nhi Aaya ok hai

    • @CppGod-kn3fy
      @CppGod-kn3fy 4 месяца назад

      @@jazibbashar3332 tum logo k kaaran hi youtubers easy content banate hai aur easy content ko tum hi log promote karte ho. Easy seekhna h toh freecodecamp par jaa. Idhar timepass mat kar. Level badha aur wapas aa.

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

    Hi Piyush, this is really good, thanks for sharing

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

    Is it possible to attach events without making use addeventlister and outside the onmousedown function?

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

    Such machine coding questions asked for experienced ones or freshers?

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

    I have an idea to build up the floor planner web app using react and drf but I don't know how to execute it. First user can edit floor plane in 2D environment and then have a visualisation in 3D after he done editing and something like that. Here I need drag n drop to put objects in floor plane with canvas and user can draw walls in canvas

  • @CppGod-kn3fy
    @CppGod-kn3fy 5 месяцев назад

    People asking Piyush to explain things in 'detail' should first get their basics right and then watch this video

  • @saiphaneeshk.h.5482
    @saiphaneeshk.h.5482 7 месяцев назад

    Awesome video as always.
    These kind of real world project examples really help.
    There was a video where when a person is searched and clicked then the name will be added to the text field and the cursor will move.
    Had a similar requirement but different UI, but the concept really helped to work on it.

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

    Hey Piyush, loving your videos keep it up brother❤

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

    thank you, it is very interesting task

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

    Great content 👏

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

    Great content bro....

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

    In my recent interview,I have been asked to create a Kanban Board in react JS

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

    What is the difference between your course and your RUclips playlist? You have all the topics in the RUclips playlist also....
    Can you give some information about your course contents?

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

      This has 4 new JS topics, react topic wise questions, lot of new machine coding questions and performance optimisation questions. All these are not on my YT channel
      Few topics of JS are common between the course and my channel, The reason for including them in this is so that this becomes one stop for Frontend Interview preparation. You check the detailed curriculum in the website.
      I have mentioned it in this video as well - ruclips.net/video/8SgWqKosMIM/видео.html
      PS. You get the access to our premium discord community

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

    Hi Peeyush, Which monitor & keyboard/ mouse do you use with Mac?

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

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

    Can someone tell which vs code theme he is using😊

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

    Copied most of the logic from stack over flow😂.
    Don't blindly use this in production. There are lots of performance problems with this code.

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

      This is an interview question, obviously no one is going to use it in production 😂

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

    can you upload long videos with slow explaination it was fast ! Drag n Drop logic

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

      you can switch the video speed to 0.75 or 0.50, will be helpful

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

      @@RoadsideCoder Bro drag and drop logic was not explained in detail. By slow explanation means explaining it in depth as well as the reason of applying some logic.
      Why mouse event?
      Why that particular mouse event?

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

      I think using those mouse event was self explanatiory, I would recommend making more HTML,CSS and JS project to improve basics then u will be able to form these logic better.
      More questions here - roadsidecoder.com/course-details

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

    bhai app sirf react per video banate ho please angular per bhi banao

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

      bro react is asked much more than angular

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

    15:05

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

    emojis in linux ?

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

      This worked for me Installed :emojisense: extension press Ctrl + i for opening the extension search bar

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

    RIP for those who watching after react 19

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

      haha, react 19 is not out yet. its just beta

    • @CppGod-kn3fy
      @CppGod-kn3fy 5 месяцев назад

      Basics don't change bro

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

    This is not an interview question

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

    Hey we can make it only in javascript??

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

    Too fast and no explanation. So its difficult to catch as a beginner.

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

      You can start with basics first, so start with this playlist from beginning - ruclips.net/p/PLKhlp2qtUcSZiWKJTi5-5r6IRdHhxP9ZU

  • @Akshat-vp5sg
    @Akshat-vp5sg 5 месяцев назад

    tere ko ye sab smajh kaise aa rha hai :)
    i want to learn all this things

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

      I have covered all the basics to advance here - roadsidecoder.com/course-details