Web Development tutorials with full courses on HTML, CSS, JavaScript, React, Node.js and more!
My goal is to help you learn how to build the web. Teaching helps me learn, too. I work full-time as a Solutions Architect / Developer and part-time as a university web dev instructor. Thank you for subscribing, supporting my channel and sharing the videos you think may help others.
Keep striving for progress over perfection. And a little progress every day goes a very long way.
Milestones:
July 20, 2020 - 1st video Jan 1, 2021 - 1k subs April 2021 - 4k watch hours Nov 2021 - 10k subs Jan 21, 2022 - Video at 100k views Feb 16, 2022 - 100k watch hours Feb 19, 2022 - 1m views Dec 13, 2022 - 100k subs Dec 2022 - Over 1m views in 1 month April 7, 2023 - 10m views May 26, 2023 - 1m watch hours Sept 22, 2023 - Video at 1m views Dec 25, 2023 - 250k subs
Hi Dave! This was very helpful. I am a Python beginner and I find that you explain things that a lot of instructors forget (the curse of knowledge). I do have a question though. As you were typing in the function it showed it created a test. Can you tell me what extension you are using? And do you have any suggestions on extensions?
When implementing the 404 page logic in generateMetadata and the return of my JSX for the dynamic route to this instead of just checking !user.name. I tried reading the documentation since Im doing this with the latest version of next.js but I couldnt find out if there had been any changes to how this should be implemented. I had to make these changes. 1. const user: User | null = await userData; 2. (!user || !user.name) in the if statement Anyone that knows why? If I didnt make the changes I would either get an runtime error, or if I had an error page that would be thrown instead.
hello, how come u were able to run the project without an error? i copied what you did but my terminal displayed AttributeError: module 'myproject.views' has no attribute 'homepage' same thing with the 'about' 😭😭
- It's very hard to style - You can't change the algorithm it uses to generate and order suggestions But the big thing is that all the options need to be in the DOM in the beginning. Many times for autosuggests like this, you are searching in giant databases, so you have to do the autosuggest on the backend. That functionality cannot be hooked into any native HTML element. When you have 3 movies it doesn't matter, when you have 30,000, you don't want that in the DOM all the time, and you sure as hell don't want the client to do the search on them, instead of the database
Yes, 30k would be too many. I do wish it was easier to style but I still find it useful. If you are generating the HTML dynamically, you can impact the sort order, but I see what you're saying as well.
In Ch 14 my JSON data including the ids all get converted to strings I have copied your code directly from the github repo. Anyone else have this issue?
Hey, from my point of view, this behavior makes sense because, by default, the height value is set to auto. So, it's normal for your ul to extend when you add more content. How will CSS know when you want a scroll to appear? The height, in this case, acts like a breakpoint for the scroll to know when it should appear.
Is there a way to implement custom logic so that the chain doesn't stop at the "?" itself, rather after it? Returning a question to the user without a question mark is rather meh 😅
As expected: shitty animations and BROKEN exit transition with app router. Advice: don't make videos on topics you has no expertise in. Looks ridiculous. Clowns turning any React video into Tailwind trash 🤡 17 minutes with zero on topic value
I've just done something similar to what you showed, my question is : When I change a user's role in my db it doesn't get reflected in real time because they still hold on to their token with the old role. So let's say I change their role to "banned" they still get access to the pages that they shouldn't. Do I need to query my database in every page component to compare an user's role inside their token with their role inside my db?