@FrontendRoad but I was interested in function component not the old class base stuff in React
@FrontendRoad3 күн бұрын
I've updated in the following videos :) and do not worry, I use hooks and modern React in the videos
@vshefer5 күн бұрын
does the board support drag and drop?
@FrontendRoad3 күн бұрын
No, as I focused on the programming logic and not interface/UX, I didn't implement a drag and drop. Maybe a small challenge for those who followed along? 😁
@vshefer5 күн бұрын
Would you do a 1hr overview of the whole coding journey? I'd love to see it edited and refined into single video!
@FrontendRoad3 күн бұрын
I'd love to do that, it's great idea, thank you!
@view198913 күн бұрын
1st. :)
@jcpluto455516 күн бұрын
Are you going to be doing any networking/matchmaking this project? Or creating a CPU opponent?
@FrontendRoad16 күн бұрын
No networking/matchmaking planned to be honest, because the idea of the project is to focus on programming logic. However, the CPU component, I have to say I'd very much wish to do so, it's quite a nice suggestion, but I think this deserves a project of its own, specially as the series is already quite big (although nearing the end of it).
@jcpluto455511 күн бұрын
@@FrontendRoad Got it. Hopefully you'll dive into those in another series. Ever thought about building the AI opponent on top of this current project? I think I'd be interesting to see a new feature like that get added to this already existing base.
@kelvinRichardChagunda17 күн бұрын
🥰wonderful
@FrontendRoad17 күн бұрын
Thank you! 😊
@blvnch26 күн бұрын
Thank you for your efforts
@FrontendRoad24 күн бұрын
Thank you for the support!
@Clixnt69Ай бұрын
some day if i learn ts i will for sure make this. 🤞
@FrontendRoadАй бұрын
Good luck on your learning journey!
@abela801Ай бұрын
can i send you a github link and review it for me i tried the same thing a year ago
@TechLogZOfficialАй бұрын
Gonna start this series after watching Complete Web Dev Course
@FrontendRoadАй бұрын
Good luck with your course!
@TechLogZOfficialАй бұрын
@@FrontendRoad thank you brother 🙂
@ronymansor2024Ай бұрын
Excellent Work, keep going
@FrontendRoadАй бұрын
Thank you! Will do!
@VHChessАй бұрын
Amazing series brother, I've been watching all the episodes and there's really valuable insight in each one. Thank you! 🙌
@FrontendRoadАй бұрын
So glad it's been helping you! Thank you very much for the support!
@vikasjangra4329Ай бұрын
Amazing work. For a person who love playing chess and knows little about software development, this is gold. Appreciate your work. If someone has to build same thing in Python, what frameworks you would suggest?
@FrontendRoadАй бұрын
Much appreciated! I don't have much experience with Python, so my advice for framework would be flawed unfortunately. However, what I would do is pick a framework only for the visual parts of it - be it desktop (like Flask) or web based (like Django) - and write in full the logic of the app by yourself. The purpose here is to practice the programming logic, if you would like to develop a real world chess application, then you should use one of the many already created chess engines for it. In summary, don't focus about the framework, but focus on writing the logic yourself :)
@OnlyInterviewzАй бұрын
Amazing series , keep doing it !
@FrontendRoadАй бұрын
Thank you! Will do!
@OnlyInterviewzАй бұрын
Great series!Just subscribed. & how many more videos to complete the series ?
@FrontendRoadАй бұрын
Thank you so much for the support! I can't the precise number yet, as I didn't finish editing all of them, but the full series spans around 10 more videos, the next 4-5 ones should cover most of the chess application, and then we are going for the weird movements (like castling, en passant, etc) and some refactor.
@OnlyInterviewzАй бұрын
@@FrontendRoad superb!Will be eagerly waiting.
@SgatolloАй бұрын
So it's only use case is when you want to access elements with vanilla without going through the virtual Dom? So I still have to use usestate if I want to read the text written in the input, right?
@FrontendRoadАй бұрын
Yes, exactly. Although you could access the value via vanilla JS, for 99,9% of the cases you don't want to do that.
@SgatolloАй бұрын
@FrontendRoad I'm trying to understand why I should use useRef, because I don't find it that useful, I understand that you access elements and that it doesn't cause re-renders. Other than that what can I use it for? Internet says animations but I don't know...
@FrontendRoadАй бұрын
Overall you won't use that much. Overall I just use it whenever I can't do something easily with the other hooks. For example the focus function in this video. Sometimes when you use 3rd party libraries you will need it to reference the element. You could also use for fields in the form, because you can get the values only once on submit, without re-rendering all the time due to useState hook. Several examples, but the truth is: You use it when you need it, and you will notice when the moment comes
@uartim2 ай бұрын
Woo. Recently there is the world chess championship 2024. KZbin algorithm for a video to make a chess app. Nice to take a look.😊
@FrontendRoad2 ай бұрын
Nice!! Wish you success in building your app (and your chess matches!)
@uartim2 ай бұрын
@FrontendRoad not me. I am just a viewer. Anyway, will take a look. Tks~
@Lucian...oo02 ай бұрын
Thank you very much for the tutorial, an excellent series of tutorials. Explaining the strategy and logic step by step is outstanding. Many times this is not explained, and it is the cornerstone for developing the logic to achieve independence in the future when creating new applications and working more efficiently.
@FrontendRoad2 ай бұрын
Thank you very much for the support! I try my best to explain the thinking process behind the decisions
@sidben70482 ай бұрын
i like the idea of building chess app , i am following that tutorial
@FrontendRoad2 ай бұрын
That's great to hear! Part 2 is coming tomorrow!
@caiomotter2 ай бұрын
kkkkkkkkk
@caiomotter2 ай бұрын
Simple and efficient, thanks for the explanation
@FrontendRoad2 ай бұрын
Thank you!! 😊
@HeyItsTheWykydtron3 ай бұрын
Hush... You're blowing my cover 😂
@FrontendRoad3 ай бұрын
Oops 😶😶
@Isobel0793 ай бұрын
“How are you awake” -uhm..i sleep at night
@FrontendRoad3 ай бұрын
Also a good answer 😅
@juanantonio7573 ай бұрын
Nice explanation, thanks
@FrontendRoad3 ай бұрын
Glad to help! 😁
@BringMoreDread4 ай бұрын
You’ve seen nothing, I’m a “junior” and I have to rewrite glue jobs that my senior has coded. When you see a function that takes no arguments and returns a hard-coded string, you know you’re in hell.
@FrontendRoad4 ай бұрын
I feel you, it's definitely not easy. Some codebases can be extremely frustrating to work on 😵💫😵💫
@nexarsji4 ай бұрын
Polska🗣️🔥🔥
@abukkahukum53774 ай бұрын
Thanks a lot Mr. Philip this is my first HTML,CSS project .Watched the entire playlist and made my own home page . Once again Thanks to you from younger brother lives in Kerala , India 🇮🇳
@FrontendRoad4 ай бұрын
It's a pleasure to read this and know I could contribute a bit with your dev journey! Wish you all the best 🙌
@Airbus33O-743L4 ай бұрын
Thx (pin plz)
@Kupsko4 ай бұрын
Bravo 👏
@kollpotato5 ай бұрын
bro doesnt know the difference between a function and a property in css and is trying to teach others 👀
@FrontendRoad5 ай бұрын
Indeed, I used the wrong terminology in the video. Well spotted! Also, it was well spotted that I'm trying to teach others, even if I make mistakes 😉
@hue16545 ай бұрын
I notice the original had the chage happen at 768px, is that the same as 4vw + 1rem?
@FrontendRoad5 ай бұрын
No, it's not the same. That's the magic of clamp with vw, it won't happen on specific screen sizes, but all of them. That's the reason we use vw, we are setting a font size relative to the screen size. How the conversion from vw to px happens is a topic for another video 😆, but that's the main idea. Is it clear?
@hue16545 ай бұрын
@FrontendRoad I see, this is a more dynamic way to do the scaling. Fair enough. I'll look forward to that video then. St the moment the numbers seem kinda arbitrary.
@naolfekadu61015 ай бұрын
You should have shown the outputs
@FrontendRoad5 ай бұрын
You are right! I'll keep this in mind for the next videos!
@Christian-nc4qz5 ай бұрын
JS is so weird 😭
@phellipeperin18935 ай бұрын
Yes, let's say it had its peculiarities 😅
@ABC000CBA5 ай бұрын
Lmao
@shankar999776 ай бұрын
Why if item is duplicate?
@FrontendRoad6 ай бұрын
There are 2 scenarios here then: First if the item is duplicated in your data and you don't want/can't clean it. Second if you want to show any item more than once, even if it's not duplicated. In either case, the best solution would be to generate a random ID for each element you want to show, using libraries like uuid, for example.
@shankar999776 ай бұрын
@@FrontendRoad yeah Thanks for the response..
@itz_Manish026 ай бұрын
theme name?
@FrontendRoad6 ай бұрын
Hello! I'm using Atom One Dark for this video :)
@javierolazaran72276 ай бұрын
It's using React. You can fix it by not using React
@FrontendRoad6 ай бұрын
Every library/framework has it's quirks, unfortunately React is no exception. If you don't mind me asking, which framework you prefer to work with?
@bk96006 ай бұрын
I found the error for the heading but not the div
@FrontendRoad6 ай бұрын
That's good! Hope that the video helped you and maybe you will apply this in the future 😁
@gamingpig49976 ай бұрын
Been using Typescript all my life, looking at this code hurts for some reason
@elfkrovv16906 ай бұрын
Line 2 then line 1. Event loop
@ShinSpiegel6 ай бұрын
I disagreee with you. Ternary operators are the evil. IMHO a if statement and no else would work the best, easier for the junior dev that needs to maintain the code and avoid the ternary
@FrontendRoad6 ай бұрын
Totally understandable. I know some other developers who also are not a big fan of ternary operators. I, myself, quite like them as long as they are not nested. For this particular example, I think 2 returns are a bit overkill, but in a more complex component with other logic, it can be a good solution indeed :)
@ShinSpiegel6 ай бұрын
@@FrontendRoad I had similar issues in the past, I personally like to see what is new on the language and use it. But the newcomer on the language will have the basics (when it have it), so the simpler the code, the easier it is to maintain. Regarding the ternary, they are evil. It starts with a single ternary, a bad code review and you have a nested ternary, the next person that will iterate on the code will not even question and append another ternary option there, and the cycle repeats. Seen this too often to be good.
@FrontendRoad6 ай бұрын
@@ShinSpiegel I can understand where you are coming from. That's why I think it's so important to have a good pipeline and branch protections in place, with tools like Sonarqube running and preventing any bad code (for example nested ternaries) from going into the default/main branch.
@ShinSpiegel6 ай бұрын
@@FrontendRoad Agreed, but when it's Friday, the regular dev just wants to push the code, things get disabled "because we need to push". So I work on the other side, avoid this in the first place.
@IdleIdk6 ай бұрын
@@ShinSpiegeljust because you don't know how to use ternary operators does not mean that they are bad 😂
@elfkrovv16906 ай бұрын
Yo, cool. I started learning React a few days ago. That video is useful for me 👏
@RichardSeal6 ай бұрын
This is not a Javascript problem, this is part of the IEEE 754 standard. This will happen in other languages if you represent a number as a float.
@FrontendRoad6 ай бұрын
Yes, precisely. As I mentioned, this happens in other programming languages as well, however I didn't mention IEEE 754, so thanks for adding that! :)
@cosmintudor74166 ай бұрын
interesting. any beginner (complete noob) couses you would recommend?
@FrontendRoad6 ай бұрын
I'm currently preparing some exciting content to allow you to go from complete noob to your first job as a developer. So stay tuned :)
@Uthael_Kileanea7 ай бұрын
Thank you. If I ever don't want my code to be readable, I'll use this to its full extent.
@FrontendRoad6 ай бұрын
You know the idea of such video is to bring clarification on a specific topic, right? I'm not showing any real world application code here