React Movie App Tutorial

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

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

  • @Abogida11
    @Abogida11 4 года назад +9

    Its quite a nice Tutorial, easy, simple and I Learn a lot, Now time to redoing it without watching the video

  • @RachidaBNYC
    @RachidaBNYC 4 года назад +14

    Hi Chris, thanks for your tutorials and articles ! I am a freshly graduated engineer in electrical engineering from France and self-taught full-stack web developer, now focusing on front-end to start a new job as a junior FE developer :-) !
    I just wanted to let you know that what you are doing really help me to better understand front-end development and grasp the different concepts ! Thanks again 💪👏

    • @ChrisBlakely
      @ChrisBlakely  4 года назад +2

      Awesome, thanks for watching and good luck with your journey into front-end development!

    • @zerqPROSPIELER
      @zerqPROSPIELER Год назад

      Did you made it?

  • @leobardopineda102
    @leobardopineda102 2 года назад +3

    Your code and explanation is so clear and readable that as a beginner I hope to one day be able to write and explain as well as you! Please, keep it up! :)

  • @altravels7426
    @altravels7426 2 года назад +1

    great vid, as a beginner in react this answered so many of my questions. keep it up

  • @rashenfernando539
    @rashenfernando539 Год назад

    Your explanations are very clear. As a beginner to react I get to learn how the useState and useEffect hooks are used in a real application. Thank you so much for this video. Keep making good stuff. ❤‍🔥

  • @kirilltrubin4847
    @kirilltrubin4847 3 года назад

    Thanks for such an IDEAL tutorial. I have a task to do for my job and it's very similar to this one. I learned a lot of new technologies and gained a huge amount of knowledge thanks to you, Chris. I wish you Health and Happiness!

  • @shakirasalazar6872
    @shakirasalazar6872 3 года назад +3

    I needed this, thank you for explaining so well!

  • @kacperkurek1947
    @kacperkurek1947 4 года назад +1

    Hello Chris! Thanks for your tutorials, you are doing a great job, keep it up, I know your yt channel will be huge someday.

    • @ChrisBlakely
      @ChrisBlakely  4 года назад +1

      Thanks for the kind words and for the support 🙌

  • @MightyKingKala
    @MightyKingKala 3 года назад

    Thank you bro! I really like your content. Keep it up !

  • @renangaldino6538
    @renangaldino6538 Год назад

    Thankyou bro You are the best, please keep up the good job

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

    Thanks sir, i learnt a lot of things from this project 🙏

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

    This is the best react project and you explained it very well. As a beginner I really enjoyed doing this, you have cleared most of my doubts Thank you so much🙌. Love from India❤
    :We can use a if statement in addtofavourites to avoid duplicate entries of movies.

  • @dankorse
    @dankorse 3 года назад

    Love the video! I've learnt a lot! Thank you very much for that. You've got a new subscriber now. Great content! Please, keep it up! :)

  • @dariusandone3636
    @dariusandone3636 Год назад +1

    Hey Chris, when trying to add favorites (especially the part at 33:08) i get this error: "Cannot read properties of undefined (reading 'Poster')", and it points me to MovieList.js line 10 , if i put "movie?.Poster" i can avoid the error but the favorites category has no images, it somehow can't find the path to the images, even though the images appear in the normal movie list, can you help me? P.s this happens when i click the add to favorites overlay.

    • @ChrisBlakely
      @ChrisBlakely  Год назад

      it could be that your favourites state value is null/empty etc, you can check this by using react dev tools or logging the state value out. If it is you'll have to fix the logic around the areas that set the state (sorry I can't remember the code for this one too well)

  • @mahesh2me
    @mahesh2me 4 года назад +2

    Waiting for the next video! please upload one more video like shopping cart kind of application... Thanks!!!

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

    Amazing project thankyou so much for this

  • @myytkn8526
    @myytkn8526 Год назад

    Great Chris!

  • @wintanmi
    @wintanmi 3 года назад

    hy Chris, thanks for this tutorial, very helpful, though the pace was something. great job

  • @nwakakizito4572
    @nwakakizito4572 4 года назад

    Nice 😎
    600th Subscriber ✌️

  • @WillSmith-qt7me
    @WillSmith-qt7me 2 года назад

    Great tut, thanks!

  • @PavanSibal
    @PavanSibal Год назад

    Great tutorial!! Please do a tutorial which includes routing/ multi page application? Thanks in advance

  • @chafikthewarrior
    @chafikthewarrior 4 года назад +1

    You are the best bro! Please a tutorial about NodeJS Web Scraping would be awesome!

    • @prajwalkv1175
      @prajwalkv1175 3 года назад +1

      use puppeteer

    • @chafikthewarrior
      @chafikthewarrior 3 года назад

      @@prajwalkv1175 yeah I started with python much easier but thank you bro!

  • @r0ck3th76
    @r0ck3th76 3 года назад

    Thanks alot just what i was searching

  • @sergiob3698
    @sergiob3698 4 года назад

    Nice tutorial. Very useful.
    Thank you

    • @ChrisBlakely
      @ChrisBlakely  4 года назад

      Thank you for watching as always Sergio!

  • @abhaykamath2988
    @abhaykamath2988 Год назад

    This was awesome 👏🏻 Thank you

  • @ismoil5750
    @ismoil5750 4 года назад

    good content for beginners I liked it bro!!

    • @ChrisBlakely
      @ChrisBlakely  4 года назад

      Thanks for watching ! I appreciate the comment 😄

  • @michealboluwatife7195
    @michealboluwatife7195 3 года назад

    Thank you Chris the tutorial is overwhelming

  • @woofcode3383
    @woofcode3383 3 года назад

    this is great! thanks so much

  • @vamshikrishnareddy76
    @vamshikrishnareddy76 2 года назад +3

    Hi Chris at 7:55 you added 2 bootstrap classes which aligned the movie posters by row className:'container-fluid'
    className:'row'
    It didn't work for me movies are still being displayed column wise
    I checked if bootstrap is working by adding few sample className it worked ...

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

      Hi Vamshi,
      Same is the case for me. Did you get the solution ?

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

      @@lakshna2410 instead of using bootstrap i just used css

    • @vamshikrishnareddy76
      @vamshikrishnareddy76 2 года назад +1

      @@lakshna2410 replicate the css code written after 7:55 for like 30-40 seconds and run the code it should work but it gave me some different styles and scrollbar which was not in the video.

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

      @@vamshikrishnareddy76 let me also try

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

      @@vamshikrishnareddy76 I replicated but still no changes 🙄

  • @mazwrld
    @mazwrld 3 года назад +1

    this is so cool!!!! What tips do have you if I wanted to add a description of each movie somewhere on the app?

  • @luisdomingues3469
    @luisdomingues3469 4 года назад +5

    Great video, just one suggestion, maybe it's better you slow down in some parts. But it's amazing what you have to share. Thank you :)

    • @ChrisBlakely
      @ChrisBlakely  4 года назад

      Thanks for watching and for the feedback! very much appreciated :)

  • @danilsviridenko6565
    @danilsviridenko6565 3 года назад +3

    Hi!I enjoyed your video 'React movie app tutorial' but can u make a video regarding how to make the same thing but without API please : )

  • @axeldrax007
    @axeldrax007 3 года назад

    Great tuto. tanks Chirs for share

  • @kristianwilley7289
    @kristianwilley7289 11 месяцев назад +2

    Having trouble with the movie posters in a row next to each other. They are too far apart in my project

  • @seemaprasad2915
    @seemaprasad2915 3 года назад

    that really helpfull please make more video

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

    Very good release, crack work, without problems

  • @sonalkhapre5716
    @sonalkhapre5716 Год назад

    It's absolutely very interesting tutorial. It would be nice if you tell how to deploy it because the same movie search app is throwing error in my case.

  • @mounisri9797
    @mounisri9797 3 года назад

    Awesome sir

  • @sylvesterjengwa7941
    @sylvesterjengwa7941 4 года назад +3

    hi Chris im having a problem with this piece of css code
    .movie-app > .row {
    overflow-x: auto;
    flex-wrap: nowrap;
    }
    it's not rendering
    any idea whats going on

    • @jld41
      @jld41 3 года назад +1

      I had the same problem and for me the answer was this - in MovieList.js, inside the return statement, the outermost JSX elements should be not (because it is a React fragment) - when you look at Chris's MovieList.js in video just after we add this bit of CSS you can see what I mean. I had just missed this bit earlier in the video and set it up wrong, oops

  • @digigoliath
    @digigoliath 3 года назад

    Awesome!!! TQVM!!

  • @georgesword2012
    @georgesword2012 Год назад

    It would be nice to add error handling as well and also a function to remove favorite movie from localstorage to get updated list fav movies after refreshing the page, for a better UX
    Thanks for a video!

    • @J-mk1cg
      @J-mk1cg Год назад

      he did include this it is at the end of the video 41:50

  • @rosarioscarlata4178
    @rosarioscarlata4178 3 года назад

    Amazing, thanks

  • @danilsviridenko6565
    @danilsviridenko6565 3 года назад +1

    How to make more restrictions in inuput there? Because if i write something not regarding the name of movie application give me the next error ' Unhandled Rejection (TypeError): props.contries.map is not a function'! Chris can u help me to fix this error?

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

    hey i love this video.
    just one question:
    right after you started displaying the movie posters they were side by side with no margins.
    when i wrote the same code as you are theey were really far one from each other.
    is there a solution for that?
    thanks

  • @kfc7968
    @kfc7968 4 года назад

    Thanks for the great content! I

    • @ChrisBlakely
      @ChrisBlakely  4 года назад +1

      Thanks for watching!

    • @kfc7968
      @kfc7968 4 года назад

      @@ChrisBlakely Sure thing. I emailed you hello@jschris.com about an issue I am having 20 minutes into the video with updating state onchange. If you have a moment, can you look at my screen shots?

  • @Cocolo_TV
    @Cocolo_TV Год назад

    Would this also work if I wanted to create a film noir movie list app?

  • @rockrock2587
    @rockrock2587 4 года назад +1

    Please make a tutorial about using NODE JS
    with React (Not class comp)

    • @ChrisBlakely
      @ChrisBlakely  4 года назад +1

      Yep its on the list - keep an eye on my channel :)

    • @rockrock2587
      @rockrock2587 4 года назад

      @@ChrisBlakely
      Of course! I will 🙂

  • @dktran7799
    @dktran7799 3 года назад +1

    Hi Chris, what IDE you're using, Could you please share + some useful plugins

    • @LINQI
      @LINQI 3 года назад

      Vs code

  • @rishilahoti
    @rishilahoti Год назад +2

    bro in the sliding menu of movie there's too much gap in my movie posters I cant sort it out.

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

      me too
      did you managed to fix that since?

  • @samfallowfield3000
    @samfallowfield3000 2 года назад +2

    im about 15 minute through, following exactly as you have done but for some reason i'm getting this error, has anyone come up against this,
    Warning: Each child in a list should have a unique "key" prop.
    it then says
    check the render method of 'MovieList'

    • @masfooks35
      @masfooks35 2 года назад +2

      add key={index} in main div of return method to prevent warning

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

    Please is there a latest project you are working on?

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

    Hey Chris, thanks for the great tutorial! Is there a way to display only one movie? Instead of all the movies that the api brings back?

  • @adityagangurde2511
    @adityagangurde2511 Год назад

    I'm facing an issue while running this on VS Code. Could you please guide me step by step for running this project?

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

    When i run 1st time this app it is not working it gives me error... because when u run 1st time in your browser it has no favourites movie in the local storage...so favourite component gives an error because map can't use on null or undefined...plz fix this

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

    Hi Chris, I am a complete begginer and I know you said you don't remember this project so good, but I would love for some guidance. When adding the 'container-fluid movie-app'
    The movies get sorted in a row- but there is a huge gap between them. Could it be due to bootstrap version? Or something else?
    Thanks!

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

      Hey, you’re right this is an old ass video and it’s probably a bit out of date. The bootstrap docs might have some examples on how to arrange things. Alternatively, if you ask ChatGPT it might be able to tell you how it’s done using latest bootstrap. Good luck !

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

    Any tips? I’m a newbie learning

  • @Street_Food_Adventuress
    @Street_Food_Adventuress 3 года назад

    Hi Chris, why you did not use the bootstrap d-flex flex-nowrap inside the element tag, instead of using CSS?
    Another question, why you did not use display:flex in css before using flex-wrap:nowrap?
    Thanks

    • @ChrisBlakely
      @ChrisBlakely  3 года назад +2

      1) Didn't think of it at the time :)
      2) Didn't need it - probably because the element was already a flexbox container. Can't exactly remember its been a while since I coded this lol

  • @atefbenbelgacem402
    @atefbenbelgacem402 3 года назад +1

    why the application is not showing anything !? is it perhaps the javascript files are not loaded correctly !?

  • @prithabanerjee4705
    @prithabanerjee4705 3 года назад

    superb !

    • @ChrisBlakely
      @ChrisBlakely  3 года назад +1

      Thank you so much for watching 🙌

    • @prithabanerjee4705
      @prithabanerjee4705 3 года назад

      @@ChrisBlakely next time expecting something with react routes

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

    but we can add same into favourites again and again, it must be added only once. What can I do to not add to favourites if it's already added. Thank you

  • @carlosl-f2433
    @carlosl-f2433 2 года назад

    Im hitting a completely different problem with Bootstrap 5...struggling to get it to work (new to bootstrap)

  • @ilhamsamudra1281
    @ilhamsamudra1281 2 года назад +1

    how can i run on mobile apps?thx

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

    The project is working fine in local host but when i deployed it using vercel or netlify the api is not working , when i am searching any movie it is not showing any movie, can anyone tell me what is the problem?

  • @muskanmittal9158
    @muskanmittal9158 2 года назад +2

    Sir I'm facing one issue during making that movie app.....when i put all the images in a single row then there will be a gap between two images...So how can i remove that gap

    • @muskanmittal9158
      @muskanmittal9158 2 года назад +1

      sir plzz help me out on this issue.......

    • @aravindlingala6474
      @aravindlingala6474 2 года назад +5

      .row * {
      width: auto;
      }

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

      @@aravindlingala6474 I know it's been a year since you wrote this but THANK YOU

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

    what do you do if you want to display the favorite movies on a separate page

  • @shauryathakur8802
    @shauryathakur8802 Год назад

    I am not able to add a scroll effect. I have written the same code but it's still not working. Some are saying it is because of the version of the bootstrap. Can Someone please help me with this.

  • @kauanmocelin
    @kauanmocelin 4 года назад

    Nice tutorial! Why don't use one movie List and check by attribute if this movie is favourite? I want to know because you used two lists separately.

    • @ChrisBlakely
      @ChrisBlakely  4 года назад +1

      When you do a search the list gets updated and you would lose the attribute that was added. You would have to merge the next search list with your current search list, filtering out any duplicates. And it’s not performant
      In a ‘real app’ you would Save the favourite IDS on the server , the server would then go and get all the movies and return that list in an api
      But that’s too much for this simple react tutorial 😀

  • @jovialiste
    @jovialiste 4 года назад

    Great video ! Thanks !

  • @skandermahfoudh1838
    @skandermahfoudh1838 Год назад

    Don't skip steps pls ^^ like cleaning the app.js file after its creation

  • @ImamNurArifinHA
    @ImamNurArifinHA 3 года назад

    very nice

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

    PLEASE HELP !!!!!!!
    I am getting this warning with compiling "autoprefixer: Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated.
    webpack compiled with 1 warning"

  • @tamjidhossain64
    @tamjidhossain64 2 года назад +1

    Whenever I install bootstrap and add in the bootstrap class names, it doesn't work, and the posters still display vertically rather than scrolling horizontally. Does anyone know why?

    • @tomasburian6550
      @tomasburian6550 2 года назад +1

      Check the boostrap grid documentation. It has been changed since then.

    • @je2587
      @je2587 2 года назад +1

      Code for it to work also adding "col": function MovieList(props) {
      return (



      {props.movies.map((movie, index) => {
      return (

      )
      })}



      )
      }

  • @saurabhrana8040
    @saurabhrana8040 3 года назад

    Hey Chris ! My all movie Poster is not showing . Can anyone tell me how can i fix it?

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

    I would love some help. I did this tutorial and for some reason reason all my movies are really far apart... I have want through my CSS and don't understand what i did wrong...

    • @mithiljogi05
      @mithiljogi05 Год назад +1

      Hello @Katherine Scott you will be having the latest version of bootstrap (may be >5), so just follow the command "npm i bootstrap@4.5.3" and it will work well. I was facing the same issue and it worked for me

  • @rosarioscarlata4178
    @rosarioscarlata4178 3 года назад

    do you have overflow: hidden? I can't get it out and scrolling with the mouse

    • @ChrisBlakely
      @ChrisBlakely  3 года назад

      I can't remember the CSS off hand, but I think you're right yes. Shouldn't be too much work to add a scroll bar to the row

  • @whicencer8819
    @whicencer8819 3 года назад

    but.. what if I click on movie twice? It will be add twice to the favourites??

  • @Ashwini243
    @Ashwini243 4 года назад +1

    how to handle null for MoviesList.js
    ERROR: TypeError: Cannot read property 'map' of null

    • @ChrisBlakely
      @ChrisBlakely  4 года назад +3

      see fix : github.com/chrisblakely01/react-movie-app/commit/14874dc2459caf7ead403e0048e8e2cd61d9d4f5

    • @Ashwini243
      @Ashwini243 4 года назад

      @@ChrisBlakely thanks Chris for the solution and the app..It worked!

    • @MonikaSingh-ee6yv
      @MonikaSingh-ee6yv 3 года назад

      Sir , solutions didn't work

  • @emanueltejadacoste2250
    @emanueltejadacoste2250 3 года назад

    Can you please let me know how the hell when you put overflow auto the scroll bars doesnt show up ? but you can still scroll to the side PLEAAASE LET ME KNOW

    • @ChrisBlakely
      @ChrisBlakely  3 года назад

      if you look at the finished source code on GitHub you can see how its done. I also show it in the video

    • @emanueltejadacoste2250
      @emanueltejadacoste2250 3 года назад

      @@ChrisBlakely thanks for your answer but on full screen (desktop) it shows the ugly chrome scroll bar... but when choose like mobile device on chrome it shows nicely like yours

    • @ChrisBlakely
      @ChrisBlakely  3 года назад

      Maybe it’s the browser/OS dude, they all have they’re own way of handling scrolling

  • @jumbo999614
    @jumbo999614 3 года назад

    Does it play the movie if you click on the poster?

  • @Street_Food_Adventuress
    @Street_Food_Adventuress 3 года назад

    Hi Chris, when you added Toy Story in favourites, and refresh the page, the movies disappear which is fine.
    But if you research Toy story (which is now in favourite), will toy story button be diabled because we already clicked on it or it is a brand new Toy story to add ?

    • @ChrisBlakely
      @ChrisBlakely  3 года назад +2

      Hey Aata,
      With the current setup, we are just taking a "copy" of the movie object that comes back from the search response and saving it ourselves.
      In a perfect world, the API would let us have an "isFavourited" property or something in the response for a given movie, which would help us identify if the movie is a favourite or not.
      Since we do not have control over the API, your only option is:
      - When rendering the list of movies that comes back from the search, check if the movie exists in the favourites
      - is YES, then disable the button, don't render it etc
      - if NO, go ahead and render the movie as usual
      Hope this helps!

    • @Street_Food_Adventuress
      @Street_Food_Adventuress 3 года назад

      @@ChrisBlakely Okay great thank you.

    • @santhoshsudhaan7957
      @santhoshsudhaan7957 3 года назад

      @@ChrisBlakely How to check whether a movie is already present in the favourites or not...please help me with code snippet or exact idea!

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

      @@ChrisBlakely This is exactly the problem I'm facing right now. Instead of favorites, I'm actually giving each movie a rating, so that means that when dowloading the results, I need to check if the movie's been rated (based on the movie's ID and rating value that I stored in an array) and what that rating was, so I can render it along with the results. Right?

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

    well yeah if you wanna do it primarily

  • @azuboof
    @azuboof Год назад

    Wait... Can i a guide on the postman tho

  • @ishwarshelke128
    @ishwarshelke128 3 года назад

    thank u so much

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

      bhai project barabar chal rha hai kya

  • @animeshjain634
    @animeshjain634 3 года назад +1

    i installed bootstrap but there css classes are not working, what should i do??

    • @ChrisBlakely
      @ChrisBlakely  3 года назад

      did you import the bootstrap stylesheet into your app? Its not enough to just install bootstrap

    • @animeshjain634
      @animeshjain634 3 года назад +1

      @@ChrisBlakely Yes I did but still it didn't work.

  • @sonavijapure
    @sonavijapure 3 года назад

    nonIterableSpread.js:2 Uncaught TypeError: Invalid attempt to spread non-iterable instance.
    In order to be iterable, non-array objects must have a [Symbol.iterator]() method.
    i am getting this error when adding to favorites ..code is exact

    • @ChrisBlakely
      @ChrisBlakely  3 года назад

      Looks like you're trying to spread something thats not an object/array. Can't help anymore unfortunately without seeing the code!

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

    after using your github code. the project is not working. please help

  • @juanmaluzzi5423
    @juanmaluzzi5423 3 года назад

    hi chris, i have a problem, when i tried to start the proyect, i have an error, i run the npm start command for that
    npm ERR! code ENOENT
    npm ERR! syscall open
    npm ERR! path C:\Users\Juanma\Desktop\AppMoviless\package.json
    npm ERR! errno -4058
    npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\Juanma\Desktop\AppMoviless\package.json'
    npm ERR! enoent This is related to npm not being able to find a file.
    npm ERR! enoent
    u can help me ? thank you!!

    • @ChrisBlakely
      @ChrisBlakely  3 года назад +1

      you mightt need to do npm install first. And make sure you are in the root directory of the project :)

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

    Can the movies be played?

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

    hi i am facing problem is setting up react on my laptop using node can anyone give me an alternate way of doing it?

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

      what error or problem you are facing?

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

      @@paraschauhan9978 hi i fixed the problem now by updating Node thanks for the replay btw

  • @tonybengue
    @tonybengue 4 года назад

    There is an error at the end if we have no favorites added to the localstorage when it is passed to the MovieList component

    • @Ashwini243
      @Ashwini243 4 года назад +1

      I am getting the same error. MovieList gives the null ref error when movie list is null

    • @ChrisBlakely
      @ChrisBlakely  4 года назад +1

      Ah! yeah, probs just want to check if there are any movies stored in localstorage before setting it into state. Check this fix:
      github.com/chrisblakely01/react-movie-app/commit/14874dc2459caf7ead403e0048e8e2cd61d9d4f5

    • @tonybengue
      @tonybengue 4 года назад

      @@ChrisBlakely I had understand the problem but I didn't know how to resolve it without you.
      Thanks

    • @tonybengue
      @tonybengue 4 года назад

      It is only a simple if 😪

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

    Can anyone send me the endpoint link ? the email thing does not work

  • @dewanshanand1395
    @dewanshanand1395 Год назад

    how to import bootstrap? Mine is not working

  • @SaiKumar-ru8wb
    @SaiKumar-ru8wb 2 года назад

    When I host the website on netlify and trying to search the movie the error displaying as "failed to fetch " any solutions

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

      I am facing same problem after deploying on netlify when I search the movie I get error failed to fetch error 401

    • @SaiKumar-ru8wb
      @SaiKumar-ru8wb 2 года назад

      @@Zenx_shoaib while pasting the api url in the code make sure it is 'https' not just 'http' it will solve the issue

  • @carljay2177
    @carljay2177 Год назад

    can i watch movie with that?

  • @piyushsingh6318
    @piyushsingh6318 3 года назад

    Why you used api from the site? Wasn't there any way of doing same thing ?

    • @ChrisBlakely
      @ChrisBlakely  3 года назад

      sure:
      - Create your own server
      - Create a database (w/ relational tables)
      - Fill the database with 1000's of movie record details - movie details, images, meta data etc
      - Expose an API (including searching)
      But I wasn't about to do that for this tutorial :)

    • @piyushsingh6318
      @piyushsingh6318 3 года назад

      @@ChrisBlakely ok. Thanks for replying man. Great tutorial btw.🤗👏🤝

    • @ChrisBlakely
      @ChrisBlakely  3 года назад

      No problem ! Thanks for watching and I’m glad it was helpful !

  • @codeaway9742
    @codeaway9742 3 года назад

    I get like this when i click the API link:{"Response":"False","Error":"Invalid API key!"}
    What to do?

    • @ChrisBlakely
      @ChrisBlakely  3 года назад

      Have you verified your email? If so you might have to try getting another key

    • @codeaway9742
      @codeaway9742 3 года назад

      @@ChrisBlakely Okay!! Thank you

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

    My bootstrap is not working. Could you please help ?

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

      Code for it to work also adding "col": function MovieList(props) {
      return (



      {props.movies.map((movie, index) => {
      return (

      )
      })}



      )
      }

  • @abhinagarkoti8681
    @abhinagarkoti8681 3 года назад

    Is this responsive for mobile??

  • @garysanderson3250
    @garysanderson3250 3 года назад

    How to prevent from adding same movie 2 times to favourites?

    • @ChrisBlakely
      @ChrisBlakely  3 года назад

      Hey Gary,
      Would have to look at the code again to familiarise myself but the basic idea would be:
      in the addFavouriteMovie(or whatever I've called it) function, you want to check the movie you're about to add doesn't exist in the favourite list before you run the code to add it.
      If I remember correctly each movie has an imdbId (or some identifier), so you could use this to check if a movie exists in the favourites array, using the filter() array method or something similar. If it doesn't exist, add it by running the existing code. Else, do nothing
      Hopefully this helps!

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

    sick of it!! !!!! anybody got any tips to help?? close on throwing my laptop out the window! got the Full package on soft feel its a waste of