React Notes App Tutorial from Scratch | A CSS and React Project you can add to your Portfolio!

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 270

  • @ChrisBlakely
    @ChrisBlakely  Рік тому +9

    Hey all, I've created a full stack version of this tutorial using React/Node/Postgres, which you check out here. ua-cam.com/video/2MoSzSlAuNk/v-deo.html Thanks for watching!

    • @justacing
      @justacing Рік тому

      Thanks a lot!

    • @arvinthathikesav3531
      @arvinthathikesav3531 9 місяців тому

      please say about the same project in backend connectivity using mern stack it would be more usefull

  • @hasansolak23
    @hasansolak23 3 роки тому +30

    That was the best tutorial about coding I have ever seen on youtube. I am not exaggerating! Everything was so clear. You explained everything **everything** without being boring, I don't know how did you just do that :) Thank you so much, hope you will get the viewers you deserve.

    • @sidneymorais
      @sidneymorais Рік тому

      Anyone Know how I transform it in a apk? please!

    • @dovinhas
      @dovinhas Рік тому

      @@sidneymorais use react native

  • @channel-ou9cl
    @channel-ou9cl 3 роки тому +26

    If you continued to do more projects with this excellent way of explaining you will grow in short time
    Thanks for your efforts to help us ❤

    • @ChrisBlakely
      @ChrisBlakely  3 роки тому +3

      Thanks so much for the support and kind words , it’s really appreciated!

  • @waleedsharif618
    @waleedsharif618 3 роки тому +15

    I was looking for a video like this and this came today :) please continue making React(hooks) projects !

    • @ChrisBlakely
      @ChrisBlakely  3 роки тому +1

      Awesome! I hope you find it useful

  • @soujanyavt
    @soujanyavt Місяць тому

    This was an awesome tutorial on React. Thank you so much Chris.👍
    In order to display the long contents inside the div we can add word-wrap along with white-space property in .note{
    white-space: pre-wrap; /* Preserve whitespace and wrap text */
    word-wrap: break-word;/* Break long words to prevent overflow */
    }
    and for localStorage issue we can remove from index.js

  • @gamelovershami2134
    @gamelovershami2134 11 місяців тому +1

    learnt a lot of new things and finished my noteApp and added a new feature where hover around the delete icon give a circle white animation , Thank you for the tutorial .

  • @revatib908
    @revatib908 3 роки тому +11

    Great tutorial! This is one of the few projects that had me hooked on until completion. Love how everything is explained so nicely and with the clean coding practices. Thank you for making this video! Looking forward to many more .

  • @actually_yali
    @actually_yali Рік тому +2

    First of all, I really appreciate your tutorial. You explain everything clearly and I actually learned a bunch of stuff that has nothing to do with React, like auto-fit and minmax on a grid, or trim() in js. I did run into a small problem at 49:29 though. When you actually reach the character limit and have 0 characters left, you're no longer able to delete anything because setNoteText never gets called anymore due to the condition in the surrounding if statement. My fix for this was to set a maxLength attribute on the textarea element itself. That way it works perfectly as intended. Maybe this can help someone who ran into the same issue : )

    • @sidneymorais
      @sidneymorais Рік тому

      Anyone Know how I transform it in a apk? please!

  • @puneeth1551
    @puneeth1551 3 роки тому +4

    I might have watched 20 - 30 react projects videos on UA-cam and I can say this is the best one I'm so happy. Thank you so much for uploading this tutorial and please continue making the videos ❤️.

    • @ChrisBlakely
      @ChrisBlakely  3 роки тому +1

      Wow, thank you! I'm glad you liked it!

  • @theganeshpatil
    @theganeshpatil Рік тому

    This tutorial is really nice as he explains the whole code serially without skipping anything! Thanks for the tutorial.

  • @KendrickSimphao
    @KendrickSimphao Рік тому

    Someone finally explained grid, in a way I can understand. I'm alive

  • @saitejagatadi9711
    @saitejagatadi9711 2 роки тому +5

    I already recommended your beautiful channel to my react colleagues.. This playlist would help in day to day react work + Interview preparation
    We would love to see more projects coming up Chris !!
    18:36 Yes we need on CSS Grid also :)

    • @sidneymorais
      @sidneymorais Рік тому

      Anyone Know how I transform it in a apk? please!

  • @wudao88
    @wudao88 Рік тому +1

    Thank you! I love how you explained the css and why the properties work the way they do.

  • @diasvt.r4481
    @diasvt.r4481 2 роки тому +1

    I truly never seen such a good video before, even in paid courses. Incredible content with complete explanation, thanks!

  • @ticianomorvan
    @ticianomorvan 3 роки тому +3

    You deserve too much more! Keep it going, the tutorial was great.

  • @rylidavis5679
    @rylidavis5679 3 роки тому +2

    Loved how simple you made this tutorial to follow!! Thank u for helping everyone by sharing this!

  • @Karan-gh9ki
    @Karan-gh9ki 2 роки тому +5

    Great video! Coded it along the way! Btw at 1:06:50, on line 53, it should be note.text.toLowerCase().includes(searchText.toLowerCase())
    now if the user types in capital letters, it would still get filtered
    Also, search box input does not occupy the entire search grey container. It looks like it does. Added flex:1 in css in .search input{...}

  • @romanmontoya5950
    @romanmontoya5950 2 роки тому +3

    Great tutorial! Concise, easy follow, and well thought out. Thank you! 🙇🏻‍♂️

  • @viorelbobeico3888
    @viorelbobeico3888 2 роки тому

    good luck Chris, it was the best tutorial that I passed with react

  • @freuschfreu
    @freuschfreu Рік тому

    Simply wonderful, I've always get confused on the concept of hooks and props drilling, but this tutorial can easily give me that 'eureka' feeling 👏😁

    • @sidneymorais
      @sidneymorais Рік тому

      Anyone Know how I transform it in a apk? please!

  • @muskanyadav2391
    @muskanyadav2391 Рік тому

    Heyyy!!! Thanks Chris for posting this. One of the best courses I've seen on react with css.

  • @habibamasoud4748
    @habibamasoud4748 Рік тому

    Literally the most informative and helpful coding video I've ever seen!

  • @emmanuelsofuwa280
    @emmanuelsofuwa280 2 роки тому

    please make more videos you explained everything clearly and I enjoyed following along

  • @davidrknowles9792
    @davidrknowles9792 3 роки тому

    Dude I can't get enough of your content, bloody awesome. Keep up the react vids, so good

  • @sugamsingh5213
    @sugamsingh5213 9 місяців тому

    Very good tutorial for beginners. the way you explained it is amazing!!! A big thank you!

  • @sewcyde
    @sewcyde 3 роки тому +1

    you made it look so simple.
    super informative and very amazingly explained!
    subbed!

  • @chaitanyashahare2734
    @chaitanyashahare2734 Рік тому

    That was literally the best coding tutorial ever!!! thank you!! going to bingwatch your channel

  • @SoumeshRanger111
    @SoumeshRanger111 Рік тому

    The best... web-app built ever 🔥🔥🔥🔥

  • @tylermorales9043
    @tylermorales9043 3 роки тому +2

    Truly great tutorial! I'm looking forward to making and expanding this!

    • @ChrisBlakely
      @ChrisBlakely  3 роки тому

      Awesome , hit me up on Twitter when you finish! looking forward to seeing what you come up with ! 😃

  • @marcelaplaplerjarovsky9427
    @marcelaplaplerjarovsky9427 2 роки тому +7

    Very clear tutorial. thank you! But I am not able to save to my local storage. Tried a couple of different syntaxes and still. Did someone go through the same thing and can maybe help me?

    • @mohameddh4112
      @mohameddh4112 2 роки тому +14

      it's because your react Component is rendering twice and to solve this issue you have to disable the in your index.js file

    • @sidneymorais
      @sidneymorais Рік тому

      @@mohameddh4112 Anyone Know how I transform it in a apk? please!

    • @ruthra5398
      @ruthra5398 Рік тому

      ​@@mohameddh4112yes ..it worked.. thanks man

  • @deepakrajwar4207
    @deepakrajwar4207 2 роки тому

    Hey ! Your videos are great for all the beginners to learn react. You are doing a great job. Thank you

  • @ahmednoureldin6659
    @ahmednoureldin6659 2 роки тому +1

    awesome. full react tutorials please

  • @LogicalWrld
    @LogicalWrld 4 місяці тому

    Hi Chris, First of all, thanks for the great tutorial, it really helped me understand the process of creating an app.
    I do have one question about the code:
    When I ran the final app, the "save" feature did not work properly (didn't save new notes nor keep the deleted ones deleted - it kept going back to the original list"), and upon some research, I realized it is because when reloading the page, the state of "notes" is updated, therefore saved, before getting loaded, so I have to 1) make the initial state of the "notes" an empty array, then 2) modify the useEffect to save the notes only when the length is greater than 0.
    But in your tutorial, your code seems to work for you, and I was wondering how? Because when I ran the same code you have on your git repo, I kept encountering the same issue of not being able to save/load properly from the local storage. Did you by any chance have any modification in your code?
    If you could help me out, I would really appreciate it! Thanks again!

  • @keyboardbasher5769
    @keyboardbasher5769 2 роки тому

    i indeed would love more css grid content!

  • @woofcode3383
    @woofcode3383 2 роки тому

    DUDE!!!! You are awesome! Thanks so much for taking the time to teach us.

  • @Pareshbpatel
    @Pareshbpatel 2 роки тому

    A beautifully presented React Note App. So informative, fluent and clear. Thanks, Chris
    {2022-10-18}

  • @Ash-uf9sn
    @Ash-uf9sn Рік тому +2

    um...actually...while implementing the part with localstorage, the useEffect renders components twice. So it is clearing the loalstorage on second render. So instead of removing the strictmore i did this: is there any bad practice in this:
    const savedNotes = JSON.parse(localStorage.getItem('jotte-data'));
    const [notes, setNotes] = useState(() =>
    savedNotes? savedNotes:[]
    );
    why didnt this happed to you?

  • @yagniktalaviya2146
    @yagniktalaviya2146 Рік тому

    Thanks for the tutorial!! Could you make a video on how css grid works??

  • @hindihits9260
    @hindihits9260 2 роки тому +1

    truly great video! please make more videos like this!

  • @shirogatu1863
    @shirogatu1863 2 роки тому

    TNice tutorials tutorial was worth it, I understood everytNice tutorialng now

  • @raghavendraprasadful
    @raghavendraprasadful 3 роки тому +2

    please make video on css grids and need to add word-break: break-all; in note class to break line

    • @ChrisBlakely
      @ChrisBlakely  3 роки тому

      good catch! Thanks for letting us know 👍

  • @patrickagoptimedia9799
    @patrickagoptimedia9799 2 роки тому

    Chris, you are awesome. Many thanks for this amazing project.

  • @dangerzone-136
    @dangerzone-136 3 роки тому

    Really awesome video. We are looking more projects like this from you. Thanks Man!

  • @abhishekvishwakarma9240
    @abhishekvishwakarma9240 2 роки тому +1

    best tutorial 🔥🔥, thank you sir

  • @replayzor
    @replayzor 2 роки тому

    You should make more videos like this one ;). They are really good explained Thank you

  • @wirawardhana8573
    @wirawardhana8573 3 роки тому

    i like the way you explain. I think the duration of 1 hour + is better divided into 2 parts or more.

  • @mishu13
    @mishu13 3 роки тому

    love your videos, thanks for clearing all the basic concepts of hooks along. :)

  • @maximmakhney
    @maximmakhney 2 роки тому

    Thanks for your hard work! A lot of things fell into place in my brain!

  • @rupalsharma9948
    @rupalsharma9948 2 роки тому

    finally i created my first react project. thanks a lot bro!

    • @sidneymorais
      @sidneymorais Рік тому

      Anyone Know how I transform it in a apk? please!

    • @rupalsharma9948
      @rupalsharma9948 Рік тому

      @@sidneymorais don't know that bro

  • @chesswithsarang
    @chesswithsarang 3 роки тому

    thanks for making this video. It really helped me. Can you make a separate video on grid display? Or can you share a good resource to learn that in depth. Thanks

  • @ombhosale8090
    @ombhosale8090 2 роки тому +1

    great tutorial. easy to understand and very useful.

  • @tumon001
    @tumon001 3 роки тому

    Great Tutorial...
    Lots of things to know from here as a newbie

  • @yash22arora
    @yash22arora 3 роки тому

    Amazing tuttorial! very beginner-friendly! you gained a subscriber ;)

  • @anupamaherath4983
    @anupamaherath4983 Рік тому

    WELL DONE GOOD PROJECT THANKS FOR SHARING YUR KNOWLEDGE WITH US

  • @varghesegeorge
    @varghesegeorge 3 роки тому

    This is exactly what I was looking for! Thanks a bunch :)

  • @jovanibrasil5521
    @jovanibrasil5521 3 роки тому

    Perfect tutorial Chris, thank you so much!

  • @saurabhmina8671
    @saurabhmina8671 2 роки тому

    one of the greatest explanation and code thank you sir

  • @HimanshuSharma-uf1mr
    @HimanshuSharma-uf1mr Рік тому

    Amazing work, looking forward to see more content from you :))

  • @MightyKingKala
    @MightyKingKala 2 роки тому

    I love your content, this tutorials are amazing, good luck.

  • @abhimanyuarora9262
    @abhimanyuarora9262 Рік тому

    beautifully explained. appreciate your efforts! cheers!
    P.S can you please make an advanced react video covering all the do's and don'ts for a highly scalable, responsive UI project?
    While there are hundred's of videos covering basics, advance concepts are really hard to find.

  • @gsahrens
    @gsahrens 2 роки тому

    Great content, was looking for something like this!

  • @sidneymorais
    @sidneymorais Рік тому

    You are awesome! thanks for that. I'm from Brazil, just new student.

  • @markopetrovic7487
    @markopetrovic7487 2 роки тому

    Thanks for this tutorial, it helped me a lot 🙏

  • @bogulztv8554
    @bogulztv8554 3 роки тому +1

    great tutorial!! very clear explanation

  • @mehran.panahi7
    @mehran.panahi7 Рік тому

    Nice Project and Nice Tutorial, Thanks

  • @quantontheway
    @quantontheway 2 роки тому

    follow lots of videos. you are the best. Appreciate for your tutorial~

  • @chaitanyakarthik3536
    @chaitanyakarthik3536 2 роки тому

    Very Nice videoo with cool explanation along the wayy... Really Appreciate it

  • @Almost1935
    @Almost1935 2 роки тому

    Great Video Do you have any idea how to add title for each note?

  • @narayanpanta1668
    @narayanpanta1668 3 роки тому

    Thank you so much I learn CSS better with this video

    • @ChrisBlakely
      @ChrisBlakely  3 роки тому +1

      Thanks a lot for watching ! I’m glad you found it helpful 😃

  • @shubhamsahay4485
    @shubhamsahay4485 Рік тому

    This is really a cool project🔥🔥

  • @andyshort8087
    @andyshort8087 Рік тому

    Great lesson mate

  • @Morrisseyy
    @Morrisseyy 2 роки тому

    need the other half of the video!

  • @semaytube370
    @semaytube370 Рік тому

    I is a great tutorial, it really helped me a lot. Just one question, I applied the exact same steps as you did for local storage, but my notes do not persist after I refresh the browser. How can I handle this issue?

  • @d-bozz1658
    @d-bozz1658 3 роки тому

    Awesome video! can you also show us how to edit the notes? I have some trouble designing this. Thanks for the content!

    • @ChrisBlakely
      @ChrisBlakely  3 роки тому +2

      Thank you ! Sure I’ll probably do a similar video on future where I show edit functionality.
      In the mean time, if you check on of the other comments I replied with how to go about editing notes
      Hope it helps !

    • @d-bozz1658
      @d-bozz1658 3 роки тому

      @@ChrisBlakely Thanks for the reply, I suscribe to your channel. Regards from Uruguay!

  • @सुरेलसंवादिनी

    Awesome tutorial will you provide how to add categories in them for different topics?

  • @hjpark8496
    @hjpark8496 3 роки тому +1

    Hello sir, what command do you use to format a long line of multiple statements into multiple indented rows like 1:04:50? Thank you so much for the freat tutorial!

  • @aaryakhandare9950
    @aaryakhandare9950 Рік тому

    before starting the tutorial, may i ask have you added the feature of editing a already existing note?

  • @carlosduque5174
    @carlosduque5174 2 роки тому +1

    I don't understand why the search filter works when you don't have a term. Since you don't have a search term then how do the notes get displayed?

  • @sohailansari6870
    @sohailansari6870 Рік тому +3

    My local storage part is not working. Storage data is visible in local storage on inspecting but the notes are not retained after refreshing the site. When "notes" is fetched it returns initial hard coded values not the updates ones.

    • @ikbentheodoor
      @ikbentheodoor Рік тому

      Same here. Did you find any solution?

    • @ikbentheodoor
      @ikbentheodoor Рік тому

      Found the answer in the comments below. You have to delete strictmode in the index.js file

  • @molecularnut6122
    @molecularnut6122 Рік тому +2

    I have the issue where i can't save my state and when i load the page its wont change please help. i do exactly your code and last 5 minutes my app wont save.

  • @maulikkotadiya5768
    @maulikkotadiya5768 2 роки тому

    You can add the edit note and edit functionality.

  • @ashwinm5230
    @ashwinm5230 11 місяців тому +2

    hey hi just a small doubt as u have used useEfftect to save in local storage and i have put the exact code and it is not saving for me .if i reload it show the initial array items , any solutions ??

  • @andreantanjaya1599
    @andreantanjaya1599 9 місяців тому

    Thanks its verry helpful to me

  • @the_rivel3041
    @the_rivel3041 2 роки тому

    It worked! Tank you sir.

  • @fgdkfg.0.0.
    @fgdkfg.0.0. 2 роки тому +1

    hey, the local storage is not working for me. I even tried copying your hooks from the source code you provided to avoid any typo, and still it doesn't work. But I forked the source you provided and tit works. I don't know what is happening, maybe you can help me. BTW your video is amazing, I really like the way you teach makes it easy to follow you, thank you!

    • @fgdkfg.0.0.
      @fgdkfg.0.0. 2 роки тому

      nvm i found the solution. thank you!

    • @shivampande8916
      @shivampande8916 2 роки тому

      @@fgdkfg.0.0. how please help

    • @mistysam6645
      @mistysam6645 Рік тому +1

      @@shivampande8916 it's because your react Component is rendering twice and to solve this issue you have to disable the in your index.js file (I actually copied this from someone in the comments)

  • @riddhibuddhi6520
    @riddhibuddhi6520 2 роки тому

    onto the software. I'd like to make soft from my ukulele, keyboard, etc., but don't know how to transfer. Do I need a microphone or

  • @Joseph-do9ue
    @Joseph-do9ue 3 роки тому

    Well done man amazing😍

  • @Mahmoud_176
    @Mahmoud_176 Рік тому

    Could we use "maxLength" attribute in textArea for the character count?

  • @leonardohurovich3381
    @leonardohurovich3381 2 роки тому

    What would be a good method to add also a title for my notes?

  • @codingwitheric
    @codingwitheric 2 роки тому

    Thanks for the tutorial

  • @alysonramos3424
    @alysonramos3424 2 роки тому

    Good tutorial my friend

  • @saurabhmina8671
    @saurabhmina8671 2 роки тому

    you should added a Edit button, which make it more realistic and fun. i tried but i couldn't do it

  • @deepankarsharma7037
    @deepankarsharma7037 11 місяців тому +2

    Everything is working fine but when I reload my page, my notes are set to default and saved notes are not there. Can anyone help me fix it ??

    • @plbtn
      @plbtn 6 місяців тому

      i got the same issue

  • @ol1175
    @ol1175 3 роки тому

    This is so cool, thank you !!!

  • @FacundoTroitero
    @FacundoTroitero 3 роки тому

    Great tutorial. I have no idea why but the app works great. Is your english variety Australian?

    • @ChrisBlakely
      @ChrisBlakely  3 роки тому

      haha if you have any Q's feel free to give me a shout! Nope I'm from Ireland!

  • @kshitijgudla38
    @kshitijgudla38 3 роки тому

    nice
    it would be good if you could upload more frequently
    and awesome explanation !

    • @ChrisBlakely
      @ChrisBlakely  3 роки тому

      Thank! Yeah I would love to but these videos take ages and I don’t have much free time.
      Any suggestions for shorter videos you’d like to see ?

    • @kshitijgudla38
      @kshitijgudla38 3 роки тому

      @@ChrisBlakely i would like a simple calculator app and intro to expo and stuff

  • @zhony-pony
    @zhony-pony 2 роки тому

    So awesome content, thx!

  • @suganthan215
    @suganthan215 3 роки тому

    can you add login functionality and do a video on that?

  • @danielfaseyi9733
    @danielfaseyi9733 Рік тому +2

    i tried the useEffect() but when i refresh my page it does not save

    • @Mahmoud_176
      @Mahmoud_176 Рік тому

      Did u find any solution for this problem?

  • @BrianVeitch
    @BrianVeitch 3 роки тому

    What extension are you using that reformats everything when you save?