Тёмный
Coding With Siphiwo
Coding With Siphiwo
Coding With Siphiwo
Подписаться
Welcome to my channel! I am passionate about creating exciting and engaging projects using the latest technologies and techniques.

On this channel, you will find a range of tutorials, tips, and tricks that will help you to learn and improve your front-end web development skills. From building responsive and user-friendly websites to integrating interactive elements and animations, my videos cover a wide range of topics to help you take your skills to the next level.

Whether you are a beginner looking to get started with front-end web development or an experienced developer looking for new ideas and inspiration, my channel is the perfect place for you. Subscribe now and join our community of front-end web development enthusiasts!






Комментарии
@MaroonedLife
@MaroonedLife Месяц назад
Im 11 and learning html css and JavaScript and I just wanted to say thank you this is a really good way to start
@tamarasworld22
@tamarasworld22 2 месяца назад
thank you. i tried it and it came out exact
@memo8435
@memo8435 3 месяца назад
What commands are used to run this app ?
@hazem342
@hazem342 4 месяца назад
is it python?
@SingularityFe
@SingularityFe 5 месяцев назад
Show how you get their weaknesses
@nanlunglongtau2076
@nanlunglongtau2076 6 месяцев назад
Thanks
@siphiwocode
@siphiwocode 6 месяцев назад
Welcome
@kamalancs9746
@kamalancs9746 7 месяцев назад
At the end you forgot to display the player won msg in h1 tag.
@siphiwocode
@siphiwocode 7 месяцев назад
Oh snap, thanks for watching till the end man. I trust you added it in your project right
@yahoosure8574
@yahoosure8574 8 месяцев назад
thank you very much for the tutorial, it was really helpfull, but the sound quality wasn't that good like the noise on the background when you speak was a bit annoying, I advice to enhance the sound quality so the user can watch more and understand without getting distracted 🙏♥
@siphiwocode
@siphiwocode 8 месяцев назад
Thanks for the pointer, I think you would love to know that I have since upgraded my sound on my latest videos. Have a watch and let me know your thoughts on the sound.
@dwyt
@dwyt 8 месяцев назад
fantastic video great teacher. Thank you
@maresolaris
@maresolaris 8 месяцев назад
In response to the assignment to stop being able to play after X or O has won, I declared a global variable (let aPlayerHasWon = false) and will do that also in the restart routine. In case of a winner, I set the value of aPlayerHasWon to true. In the beginning of the function boxClicked() I now put if(aPlayHasWon) return. This prevents the game to continue. When the restart button is pressed the game is "released" due to the value of aPlayerHasWon. I really enjoyed this tutorial, which is very helpful! A small issue: in the video you do not use the .innerHTML to set the playerText, however you do in the code provided (thanks!). I was a little hard to find at first ;-) (nice exercise though). You gained a fan.
@siphiwocode
@siphiwocode 8 месяцев назад
Thanks for completing the assignment. I believe that we learn best by doing so that is huge 👍 on your side. Appreciate your sub!
@krantiwaghmare2710
@krantiwaghmare2710 10 месяцев назад
thank you
@siphiwocode
@siphiwocode 8 месяцев назад
You're welcome
@sarozz860
@sarozz860 10 месяцев назад
why sign is not clicking on these project . i had downloaded it form github
@siphiwocode
@siphiwocode 10 месяцев назад
Hi, did you follow the video tutorial in order to complete the project? Check-out the follow-up video where I explain how to add more features to the application. Hope that helps
@theCuriousCivilEngineer
@theCuriousCivilEngineer 11 месяцев назад
Great video. I was looking for such a video for a few day now. The videos I found was very complicated and the were not beginner friendly. This video is very nice especially the javascript part, the logic is very straight forward and well explained. thanks for the great video I have learned a lot from it. Keep up the good work 💯
@rae185
@rae185 Год назад
Helpful vid. My project isnt exactly tic tac toe but i think (yikes) some logic of this game is gonna help me in the process. i hope to get my game working. pray for me! haha
@enriquegrageda
@enriquegrageda Год назад
How would you change the color of playerText.innerHTML = "Draw" to red? .....
@siphiwocode
@siphiwocode Год назад
You can do this by stating player.style.color = 'red' or use the hex code and it should work
@heavyrain5388
@heavyrain5388 Год назад
Hi, can you do a version where it's player vs computer? A very stupid computer that just randomly places its symbol on available cells without analyzing the player's choices. 🙏
@siphiwocode
@siphiwocode Год назад
That sound like a great idea but it will need to know the blocks already selected so that the pc choose available blocks. Will definitely add this to my todo list. Thanks 😉
@heavyrain5388
@heavyrain5388 Год назад
@@siphiwocode hi it's just a suggestion tho, please don't feel like I'm pressuring you ya. 😅😅
@farintinobialor7023
@farintinobialor7023 Год назад
Thank you man.👍
@siphiwocode
@siphiwocode Год назад
You bet
@donnevanbiljon6337
@donnevanbiljon6337 Год назад
I am studying IT and had to leave my home country (South Africa 😢) I need help with an assignment while being homesick. The i came across your video and with 5 seconds into the video i knew were you were from. Not only did your video make my day but will definitely help my studies 😊
@siphiwocode
@siphiwocode Год назад
Supa glad I could help both emotionally and with your studies.
@shashank7533
@shashank7533 Год назад
A silly question from a beginner whats the difference between writing the script in head and body as i wrote the script in head it didnt work and why is it that stylesheet works in the head but not the js file .... can someone explain plzzz???
@siphiwocode
@siphiwocode Год назад
So code gets read from top to bottom right. No imagine in your script you are looking for a div-tag that has not rendered yet, that script will be null or undefined which will cause your code not work correctly. Stylesheet on the other hand are not manipulators meaning they don't change the the DOM but rather adds to it. if that makes sense.
@bartlight6810
@bartlight6810 Год назад
Very helpful video, thank you!
@siphiwocode
@siphiwocode Год назад
Glad it was helpful! All the best with your dev journey
@anjalimishra2428
@anjalimishra2428 Год назад
how to get the google font
@siphiwocode
@siphiwocode Год назад
You can go to fonts.google.com. Hope this helps
@trainmonharrison7454
@trainmonharrison7454 Год назад
wanted to say great video but I am getting stuck on the part where you put const id = e.traget. id the issue I get is my event listener it is saying uncaught type error cannot read properties of the undefined id
@Abubakr-md6kz
@Abubakr-md6kz Год назад
This code defines an arrow function called start that adds a click event listener to each element in a collection of boxes. The forEach() method iterates over each element in the boxes collection and attaches a click event listener to each element. The event listener is a function called boxClicked, which is not defined in the code you provided. When a box is clicked, the boxClicked function will be called. The purpose of this function depends on its implementation, which is not shown in the code you provided.
@trainmonharrison7454
@trainmonharrison7454 Год назад
@@Abubakr-md6kz thx so much
@siphiwocode
@siphiwocode Год назад
Thanks Abudakr for jumping in and helping :)
@trainmonharrison7454
@trainmonharrison7454 Год назад
np thx for getting back to me I appreciate the help@@siphiwocode
@redewanmahmud2917
@redewanmahmud2917 Год назад
What if no one wins? Can't there be a drawn match? 😅
@siphiwocode
@siphiwocode Год назад
There can be yes. Share the code once you have expanded on this one. That is the progress of learning...
@zzzzzzzaxc
@zzzzzzzaxc Год назад
I don't understand this point. let start = () => {boxes.forEach(box => {box.addEventListener('click',boxClicked) });} 14:16 where does the box come from and what is it?
@siphiwocode
@siphiwocode Год назад
On line 3 you will that I declare a variable that contains an array of boxes. This are the boxes from the html. That is why when I loop over the array, I name the single entry "box"
@jeffa2006
@jeffa2006 Год назад
3:48 its not working for me the styling
@siphiwocode
@siphiwocode Год назад
Make sure your style.css file is in the same directory as your index.html file. This could be the reason why your css file is not picking up. Hope this helps.
@Qzey-x8s
@Qzey-x8s Год назад
How did you open the part in minutes 3.44?
@siphiwocode
@siphiwocode Год назад
I assume you are referring to the code-editor sidebar right. I used Ctrl+B to toggle that. Hide and show the files.
@bibekdas6277
@bibekdas6277 Год назад
can you tell me what theme is that..?
@siphiwocode
@siphiwocode Год назад
Hey man, this theme is called Night Owl.
@shellcasing1040
@shellcasing1040 Год назад
Why aren't you using the app router?
@siphiwocode
@siphiwocode Год назад
I am using Nextjs which has router build-in. I am assuming as to why I am not using UseRouter() hook to refresh the page right? If so, I do not want the entire page to reload but only the data to sync with the update done on Clerk side.
@GetQuote
@GetQuote Год назад
Man am new on this channel, but I love this guy!
@adsye0015
@adsye0015 Год назад
hey i can't play multiplayer that only one x show why can help me
@siphiwocode
@siphiwocode Год назад
This can be caused by a number of things, my suggestion would be first check the variables where you set the X and O if they set correct. From there just follow both videos to make sure you not skipping a step. Happy coding 👍
@ojichan982
@ojichan982 Год назад
hi there , what modifications can be done so instead of maping the winning blocks i want a line to be drawn ?
@siphiwocode
@siphiwocode Год назад
Currently the blocks highlight function uses the css to highlight the winning combo. The issue or challenge with using lines is that the winning combo wont always be in a straight line. You will need to check the position of the second block from the first one in order to draw the line vertical, horizontal or diagonal. Drop me a link once you get this right 😉
@PankajKushwaha-e1k
@PankajKushwaha-e1k Год назад
does it work with npm
@siphiwocode
@siphiwocode Год назад
Not sure what you asking Pankaj. A valuable skill in dev is being able to explain your code and in this case, your question 😉
@jinksofficial476
@jinksofficial476 Год назад
I copied everything and it doesn't work. Help please!!
@siphiwocode
@siphiwocode Год назад
You can download the file from my github account and compare the code. Most of the time is just a simple naming conversion that is not the same which could break the entire code base. Hope this helps
@prabhurao2773
@prabhurao2773 Год назад
Hey Quick Idea @coding with siphiwo :- can you make a playlist or and entire course where you go through all the most used JS methods and how and when to use them in day to day life for example how to chain methods like Filter().map().reduce().sort() etc etc probably a stoooopid idead to chain all these but ive seen people chain Filter().map() what do these do and how to understand them
@siphiwocode
@siphiwocode Год назад
Hey Prebhu, that is not a bad idea. I will create a playlist that explain each of those methods and when or how to use them. Will discuss the chain effect of these methods. Thanks
@blueberry5992
@blueberry5992 Год назад
keep up the great work ❤
@siphiwocode
@siphiwocode Год назад
Thank you! Will do!
@blueberry5992
@blueberry5992 Год назад
@@siphiwocode but ur codesource does not work why?
@RushikaPanchal
@RushikaPanchal Год назад
I having the problem with css my box lines are in vertical formate how can I fix it?
@siphiwocode
@siphiwocode Год назад
Hi Rushika, unfortunately it is a bit difficult to assist you with your issue as it is unclear to me. You can make sure that you follow both the creation and solution to the Tic Tac Toe game videos. Hope you come right and good luck on your coding journey
@RushikaPanchal
@RushikaPanchal Год назад
@@siphiwocode OK thanks for replying
@Ayuu321
@Ayuu321 Год назад
Hi there, is there a way you can add like a "Add Username" page and then you press go which will lead you to the actual game?
@siphiwocode
@siphiwocode Год назад
Hey Ayu, you can add more functionality to this if you want to, creating something like a username field will be great. You can then display the name of the user on top of the buttons section. Send me a link to your github once you have done this to review. Happy coding!
@mblede
@mblede Год назад
hello! I really liked your tutorial, and I followed it step by step, but now I have a problem: when I click on the boxes, nothing happens. What am I missing or what am I doing wrong?
@siphiwocode
@siphiwocode Год назад
Hey Mblede, glad you like the tutorial. If you are experiencing issues, make sure you follow the initial video here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-oZrp3Atkz18.html This one provides the solution to the question at the end of part 1
@blackzeke4428
@blackzeke4428 Год назад
Please can you make a video about playing with human vs computer how do you make it possible to play with vs the computer
@siphiwocode
@siphiwocode Год назад
This is really interesting. I will add it to my list of videos. Thanks for the idea 👍
@MrBrady95
@MrBrady95 Год назад
Liked and subscribed! Thanks
@siphiwocode
@siphiwocode Год назад
Awesome, thank you!
@spawnrequash
@spawnrequash Год назад
What a ugly theme
@siphiwocode
@siphiwocode Год назад
You know what, I agree. I think its time to redo this one with much better UI 🙂
@esmeraldagonzalez9336
@esmeraldagonzalez9336 Год назад
Hey so I loved the video for me this is my very first project that im working on and it was really easy to follow through and understand what is going on however I am confused when you use document in your js files because it says document is undefined. Is there something that I may be missing?
@siphiwocode
@siphiwocode Год назад
Glad it was helpful! Can you point me the minute you are referring to. This will help me to better assist you
@kiddhkane
@kiddhkane Год назад
Very good channel. Thanks for the video! I like your coding practices.
@siphiwocode
@siphiwocode Год назад
Thank you very much!
@subramanyam.d24m56
@subramanyam.d24m56 Год назад
Better to increase font-size of your VSCode screen.
@siphiwocode
@siphiwocode Год назад
Thanks man, I have sinced this video started doing that as I noticed that you can barely see it on mobile. Check out the other projects I have created and let me know your thoughts.
@stephmukami3817
@stephmukami3817 Год назад
great explanation and robust code,thanks
@peaklegacy146
@peaklegacy146 Год назад
800th Subscriber!!🥳 Most well explained video I've ever seen!
@siphiwocode
@siphiwocode Год назад
Wow, thanks! Never thought I would reach 800 subs let alone have some be excited to be number 800 😁
@stopstalkingme2023
@stopstalkingme2023 Год назад
A game with no draw feature. Nice
@siphiwocode
@siphiwocode Год назад
I encourage everyone to try and implement this functionality in this game on their own. This is part of developing your coding skills. If you just want the solution / draw functionality, here is the video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-y2Y25r94QLs.html
@ellzz2431
@ellzz2431 Год назад
Hi there, for some reason the end part where u are putting calculate winner I copied and pasted it twice change the name for paper and scissors and [1][2] but the score still shows at 0 in the Ui
@siphiwocode
@siphiwocode Год назад
At point 29:26 I had to copy the case statement in order to include the other 2 options. This was only set to rock for testing. Could this be your issue?
@ellzz2431
@ellzz2431 Год назад
@@siphiwocode hi yes this could be the case, but when I did try that I didn’t work , what should I do ? I’ve also tried to add on discord but the link is expired or I don’t have permission
@ellzz2431
@ellzz2431 Год назад
hi yes this could be the case, but when I did try that I didn’t work , what should I do ? I’ve also tried to add on discord but the link is expired or I don’t have permission
@ellzz2431
@ellzz2431 Год назад
Hi there I’ve completed it but the player won trigger is not coming up after they have won and also when the players have draws it doesn’t come up either but the colour for when they win and draw works. It’s the innerHTML part that doesn’t work for some reason. So it works without the innerHTML but with it the player won and the draw part doesn’t change. Do you have linked in etc I would need some help to prepare for a technical test I got in two weeks
@siphiwocode
@siphiwocode Год назад
Hey Ellz. I got a discord channel that you we can chat on. From what you said, u can't help without looking at your code. Try to make sure that you do not have a semicolon or any character out of place. Small things like this can cause bugs in your code
@ellzz2431
@ellzz2431 Год назад
Hi there I’ve completed it but the player won trigger is not coming up after they have won and also when the players have draws it doesn’t come up either but the colour for when they win and draw works. It’s the innerHTML part that doesn’t work for some reason. So it works without the innerHTML but with it the player won and the draw part doesn’t change
@siphiwocode
@siphiwocode Год назад
Glad you tried to do the challenge and complete the game. For your issue, I suggest watching the solution here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-y2Y25r94QLs.html