Тёмный
Simple Coding Tutorials
Simple Coding Tutorials
Simple Coding Tutorials
Подписаться
Welcome to Simple Coding Tutorials! This channel is dedicated to providing easy-to-follow tutorials on JavaScript, HTML, CSS, and web development for beginners. The goal is to help you learn the basics of web development and build your skills to create amazing websites and applications. Whether you’re completely new to coding or just looking to brush up on your skills, these tutorials are designed to help you learn at your own pace. Subscribe to Simple Coding Tutorials and join the community of learners today!
How to Read Emails Using Node IMAP
7:07
28 дней назад
Filtering HTML Tables with JavaScript
7:11
2 месяца назад
Image to PDF Conversion with Node js
8:46
4 месяца назад
Комментарии
@isaacorellana1754
@isaacorellana1754 День назад
This is so disorganized :/
@SantoshKumar-mg9nj
@SantoshKumar-mg9nj 4 дня назад
Thanks! bot is up and working fine. But the issue is not every url has file name and extension. Can you give some suggestion on that. Also it will be helpful to retain complete file name and extension.
@SimpleCodingTutorials
@SimpleCodingTutorials 4 дня назад
It depends on the type of URL. For example, for URLs like this example.com/files/download?id=12345 Check the HTTP response headers for Content-Disposition to extract the filename. const filename = fileResponse.headers.get('content-disposition').split('filename=')[1]; For URLs with Content-Disposition header like this httpbin.org/response-headers?Content-Disposition=attachment%3B%20filename%3D%22example.txt%22 Parse the Content-Disposition header to get the filename const contentDisposition = new URL(url).searchParams.get('Content-Disposition'); const filename = contentDisposition.match(/filename="(.+)"/)[1];
@SantoshKumar-mg9nj
@SantoshKumar-mg9nj 4 дня назад
Thanks for reply. I worked around it. And its great. But just found out about API limit i.e. 50mb. I came across with some bots that can send 2GB even upto 4GB files. Can we get any info about that in a separate video? I still can't figure out how ? Update- I tried Github actions Workflow to trigger with URL via CF's webhook. But resulted limit is same.
@SimpleCodingTutorials
@SimpleCodingTutorials 3 дня назад
@@SantoshKumar-mg9nj Yes, it is possible to handle larger files (up to 2GB) using the MTProto API. This API allows you to bypass the 50MB limit of the standard Bot API. I'll consider creating a video to show how you can use the MTProto API with JavaScript, including how to handle large file uploads and downloads.
@SantoshKumar-mg9nj
@SantoshKumar-mg9nj 3 дня назад
@@SimpleCodingTutorials Great ! Thanks. Eagerly waiting for it.
@SpikyRoss
@SpikyRoss 7 дней назад
Thanks for the tutorial
@HazeBeats1
@HazeBeats1 9 дней назад
yooo
@ManoharPra
@ManoharPra 10 дней назад
Hii bro please give me contact details I have some project
@ManoharPra
@ManoharPra 10 дней назад
Hii bro please give me contact details I have some project
@SimpleCodingTutorials
@SimpleCodingTutorials 10 дней назад
See part 2 of the video here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-pCD4yz8Ozoo.html
@mcgungtominay
@mcgungtominay 10 дней назад
Where i did have the html template codes bruh????
@SimpleCodingTutorials
@SimpleCodingTutorials 10 дней назад
The code for each video is in its description.
@fadilclasher6847
@fadilclasher6847 14 дней назад
bro pls do one withpython code
@SimpleCodingTutorials
@SimpleCodingTutorials 13 дней назад
Hi! This channel primarily focuses on JavaScript and web development. For Python-related tutorials, there are many other great resources and channels dedicated to that language.
@doflamingo8320
@doflamingo8320 21 день назад
I UPDATED IT THE ERROR IS OCCURING AFTER MOVING THE PIECE
@SimpleCodingTutorials
@SimpleCodingTutorials 20 дней назад
I downloaded the code and tested it. There were no errors on my end. Could you let me know if you get the error right from the start or only at a specific position? Also, have you moved the images to a new folder or changed their names?
@doflamingo8320
@doflamingo8320 21 день назад
TypeError: Cannot read properties of undefined (reading 'includes') => This is the error I am encountering Can you help with this?
@SimpleCodingTutorials
@SimpleCodingTutorials 21 день назад
could you let me know at what point this error occurs? Is it at the start of the game, or in a specific position or situation? Have you updated the code? Code: tinyurl.com/javascript-chess-part-2
@umadevi-ce6mh
@umadevi-ce6mh Месяц назад
Drag and drop is not working properly
@SimpleCodingTutorials
@SimpleCodingTutorials Месяц назад
It's possible your code is outdated. Please get the latest version from this link: Code: tinyurl.com/javascript-chess and check if it fixes the issue.
@Lamnu192
@Lamnu192 Месяц назад
The getKingLastMove function seems to have an error. It is getting the first move the king makes rather than the last move.
@SimpleCodingTutorials
@SimpleCodingTutorials Месяц назад
You're right, the getKingLastMove function should use findLast instead of find to get the most recent move of the king. This error was corrected in later episodes, but I forgot to update it in this one. Thank you for pointing it out!
@mrtherapy309
@mrtherapy309 Месяц назад
okay, i used your method and it works like magic. thank you very much
@mrtherapy309
@mrtherapy309 Месяц назад
hey I use a telegraph dependency, how do i do that with this code. is there a way to upload the full folder?
@alfredomf1
@alfredomf1 16 дней назад
Did you manage to do it? I'm trying to use webpack but keep getting errors
@mrtherapy309
@mrtherapy309 15 дней назад
​@@alfredomf1 yes, I used his method and I was able to get it to work perfectly. Its been working ever since. Just do exactly what you see on the video and you'll have the same good result. You don't have to use any telegraph dependency or anything
@mrtherapy309
@mrtherapy309 15 дней назад
I could show you my full code if you need more clarification. Just let me know
@JavaSqr
@JavaSqr Месяц назад
This ain't working
@SimpleCodingTutorials
@SimpleCodingTutorials Месяц назад
Please ensure you replace "telegramAuthToken" in the code with your bot's authorization token.
@JavaSqr
@JavaSqr Месяц назад
​ @SimpleCodingTutorials No, I mean this thing Cloudflare Workers doesn't exist anymore
@SimpleCodingTutorials
@SimpleCodingTutorials Месяц назад
@@JavaSqr Cloudflare Workers is still active . You can access them at this link workers.cloudflare.com
@doflamingo8320
@doflamingo8320 Месяц назад
I am encountering an error that says UNEXPECTED END OF JSON INPUT
@SimpleCodingTutorials
@SimpleCodingTutorials Месяц назад
It's possible your code is outdated. Please get the latest version from this link: Code: tinyurl.com/javascript-chess-part-2 and check if it fixes the issue.
@doflamingo8320
@doflamingo8320 Месяц назад
BESSTTT ONE
@AjmalAlkhaledi
@AjmalAlkhaledi Месяц назад
Code on github , not working , no animation !!
@SimpleCodingTutorials
@SimpleCodingTutorials Месяц назад
To ensure the code runs correctly, please make sure you’re running it on a local server. You can achieve this by using the ‘Live Preview’ extension in VS Code
@AjmalAlkhaledi
@AjmalAlkhaledi Месяц назад
@@SimpleCodingTutorials It doesn't work, I'm sure Even the photos were not added And I added them path : Chess game 8
@SimpleCodingTutorials
@SimpleCodingTutorials Месяц назад
@@AjmalAlkhaledi Is there any error in the console?
@WhipLash2457
@WhipLash2457 Месяц назад
thanls so much i needed this
@Duniacuan905
@Duniacuan905 Месяц назад
Bruh can u contact me?
@SimpleCodingTutorials
@SimpleCodingTutorials Месяц назад
You can contact me at SimpleCoding1994@hotmail.com
@SimpleCodingTutorials
@SimpleCodingTutorials Месяц назад
Part 2 is here! Check it out: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Lt3zTinTlrY.html
@Mohammed.1471
@Mohammed.1471 Месяц назад
No explanation???
@SimpleCodingTutorials
@SimpleCodingTutorials Месяц назад
Could you please clarify what you're referring to? I'd be happy to provide an explanation once I understand what you're looking for. Thank you!
@doflamingo8320
@doflamingo8320 Месяц назад
Drag and drop is not working for me ?
@doflamingo8320
@doflamingo8320 Месяц назад
I have the correct file paths and there is no error in console?
@doflamingo8320
@doflamingo8320 Месяц назад
To be precise my pieces are not moving Your help would be appreciated
@SimpleCodingTutorials
@SimpleCodingTutorials Месяц назад
It's possible your code is outdated. Please get the latest version from this link: Code: tinyurl.com/javascript-chess and check if it fixes the issue.
@Us3RAgent
@Us3RAgent Месяц назад
Thanks!
@user-wq9jc7hr3r
@user-wq9jc7hr3r Месяц назад
Some bots are for downloading videos. Along with downloading the video, they also take screenshots from the middle of the video. Can you make such a bot?
@SimpleCodingTutorials
@SimpleCodingTutorials Месяц назад
Creating a bot that downloads videos from RU-vid may violate RU-vid’s Terms of Service. Making a video tutorial about such a bot could potentially encourage this violation. This is the reason why I choose not to create such content. However, from a technical standpoint, it is indeed possible to create such a bot.
@ZagzookGames
@ZagzookGames 2 месяца назад
excellent video I was wondering can you create games like sudoku using P5.js?
@SimpleCodingTutorials
@SimpleCodingTutorials Месяц назад
Yes, you can definitely create a Sudoku game using p5.js. However, for complex games, a game-focused library might be more suitable.
@emmadkareem5247
@emmadkareem5247 2 месяца назад
Good work, where can I find the project file if available for download please?
@SimpleCodingTutorials
@SimpleCodingTutorials 2 месяца назад
You can find the code for all the videos in the video description.
@emmadkareem5247
@emmadkareem5247 2 месяца назад
@@SimpleCodingTutorials Wow! Thanks much for all your remarkable effort. Very well done.
@fakebent
@fakebent 2 месяца назад
Whenever I castle, the bot doesn't make a move back.
@SimpleCodingTutorials
@SimpleCodingTutorials 2 месяца назад
Could you provide more details about any error messages you're seeing in the console? Also, do you mind sharing the position when the problem occurs? It might help me understand what's going on. Thanks!
@gamelife1987
@gamelife1987 2 месяца назад
Can u make mpd with clearkey player?
@SimpleCodingTutorials
@SimpleCodingTutorials 2 месяца назад
Yes, it is possible to integrate ClearKey DRM into the video player created in the tutorial. Implement the Encrypted Media Extensions (EME) API within your code to handle key exchange and decryption. This will enable secure playback of ClearKey-protected content in your video player.
@GergPerson
@GergPerson 2 месяца назад
where are you calling the generateFEN() function? in drop? I'm getting enPassantSquare = "blank" even when an enPassant is possible
@GergPerson
@GergPerson 2 месяца назад
Found the answer, Im calling it in checkForEndgame() and it works. Thanks again for all the videos
@SimpleCodingTutorials
@SimpleCodingTutorials 2 месяца назад
I call generateFEN() within the checkForEndGame() function.What is the situation where en passant is possible , but the player is unable to play it?
@GergPerson
@GergPerson 2 месяца назад
before you call displayPromotionChoices() you have to "let captured = squareContent.pieceColor != "blank";" then you pass in captured as a parameter. captured was set to false and I was getting a bug when promoting on a capture, it wouldn't delete the captured piece. Thank you for these videos, they're fantastic
@SimpleCodingTutorials
@SimpleCodingTutorials 2 месяца назад
I perform a check for captures in the following way: if (squareContent.pieceColor == "blank" && legalSquares.includes(destinationSquareId)) { // This is the scenario where no capture has occurred (captured = false) } if (squareContent.pieceColor != "blank" && legalSquares.includes(destinationSquareId)) { // This is the scenario where a capture has occurred (captured = true) } If you’re encountering an error, it might be due to another reason. Could you provide the exact error message you received? Also, could you describe the situation when you encountered this error?
@Black-ds3sj
@Black-ds3sj 2 месяца назад
How to update code, without use edit code option. because i use Android, It's hard to update here 😔
@SimpleCodingTutorials
@SimpleCodingTutorials 2 месяца назад
Unfortunately, there isn’t a dedicated Cloudflare Workers app for Android. To manage your Cloudflare Workers on a mobile device, you’ll need to use a web browser to visit the Cloudflare website.
@Black-ds3sj
@Black-ds3sj 2 месяца назад
@@SimpleCodingTutorials Api/GitHub Can be done with?
@hemanthpatelll
@hemanthpatelll 2 месяца назад
I need file to link bot bro please help me previous bot deployed but it is replying our message only😭
@SimpleCodingTutorials
@SimpleCodingTutorials 2 месяца назад
The code for all the videos is available in the description of each video. tinyurl.com/url-uploader-bot
@hemanthpatelll
@hemanthpatelll 2 месяца назад
@@SimpleCodingTutorials bro i have checked but it just replying the message i need file to link bot which gives link of our file
@SimpleCodingTutorials
@SimpleCodingTutorials 2 месяца назад
@@hemanthpatelll Don’t forget to replace your bot token in the first line where const telegramAuthToken = '1234567890';
@hemanthpatelll
@hemanthpatelll 2 месяца назад
@@SimpleCodingTutorials did bro but not came please can u give me your telegram username 😭
@VivekKumar-hk5km
@VivekKumar-hk5km 4 дня назад
​@@SimpleCodingTutorialswhat hemant is saying that needs "telegram file to direct link bot" hosted on cloudfare worker.
@hemanthpatelll
@hemanthpatelll 2 месяца назад
Bro Please Help Me 😭😭
@hemanthpatelll
@hemanthpatelll 2 месяца назад
Hello Bro I need your help can u send me your telegram id please
@GergPerson
@GergPerson 2 месяца назад
You are the man, thank you very much
@allenang2922
@allenang2922 2 месяца назад
I am getting this error: Uncaught ReferenceError: SharedArrayBuffer is not defined in stockfish-nnue-16-no-Worker.js
@SimpleCodingTutorials
@SimpleCodingTutorials 2 месяца назад
Try using the Live Preview extension for your local server setup.
@hawkeyemihawk5697
@hawkeyemihawk5697 2 месяца назад
instead of using stockfish-nnue-16.js as engine worker, try using stockfish-nnue-16-single.js
@user-ny7pn5pb8h
@user-ny7pn5pb8h 2 месяца назад
great tutorial I was looking for it .
@harishsidagam
@harishsidagam 2 месяца назад
Im running with live server but its not working means the other side that is black is not responding..
@SimpleCodingTutorials
@SimpleCodingTutorials 2 месяца назад
Try Live Preview extension instead
@harishsidagam
@harishsidagam 2 месяца назад
The other side that is black is not responding to the white moves
@harishsidagam
@harishsidagam 2 месяца назад
Is there any thing to add
@SimpleCodingTutorials
@SimpleCodingTutorials 2 месяца назад
For Stockfish to work, you need to run the game on a local server. If you’re using Visual Studio Code, ‘Live Server’ can help. Start the server and open the game through localhost.
@harishsidagam
@harishsidagam 2 месяца назад
Is their should be any file regarding stockfish
@harishsidagam
@harishsidagam 2 месяца назад
I'm running with live server but the same problem occurs
@tillwill3232
@tillwill3232 2 месяца назад
What i dont understand is did you have to install python and this emscripten compiler thingy for stockfish.js to work? Cause thats what they write on their github at least and im a bit confused. If i wanna run stockfish.js on my website i need to install python and emscripten on the server that hosts my website?!
@rafaex83
@rafaex83 2 месяца назад
Hello, how to configure the game to the latest version of Stockfish 16.1?
@SimpleCodingTutorials
@SimpleCodingTutorials 2 месяца назад
The latest JavaScript version of Stockfish is currently 16.0.0. You can check for any updates or newer versions on the official GitHub page here: github.com/nmrugg/stockfish.js
@rafaex83
@rafaex83 2 месяца назад
@@SimpleCodingTutorials Thanks, do you plan to add a countdown timer to the code?
@SimpleCodingTutorials
@SimpleCodingTutorials 2 месяца назад
@@rafaex83 Yes, I plan to add a countdown timer to the code. It will be implemented when the 2-player mode is added to the game.
@Daniel-qp6td
@Daniel-qp6td 2 месяца назад
😳 *Promo sm*
@SimpleCodingTutorials
@SimpleCodingTutorials 3 месяца назад
Please remember to include a reference to Phaser 3 in your webpage from the provided link: phaser.io/download/release/v3.80.1
@bramhabhaktisagar987
@bramhabhaktisagar987 3 месяца назад
Plz make a video for txtuploader bot & Extractor bot for telegram
@user-sy9eu7py8v
@user-sy9eu7py8v 3 месяца назад
Hello bro! I'm trying to understand how to obtain an upload URL. I've recently integrated the upload speed feature, but now I need the corresponding upload URL. Could you guide me on this?
@SimpleCodingTutorials
@SimpleCodingTutorials 3 месяца назад
Hi! You can obtain sample URLs from websites such as getsamplefiles.com. These sites provide a variety of sample files that you can use for testing purposes. Alternatively, if you have your own server, you can host a file there and use that URL for your upload speed feature.
@KrunalKRG0212
@KrunalKRG0212 3 месяца назад
hey can you give me upload speed code if possible
@SimpleCodingTutorials
@SimpleCodingTutorials 2 месяца назад
​@@KrunalKRG0212 Sure, the link to the code is in the video description.Here’s the link to the code. tinyurl.com/javascript-speed-test
@ademmaster6811
@ademmaster6811 3 месяца назад
Can you upgrade the analysis system by adding back and forward moves as well as displaying the coordinates of each move made?
@SimpleCodingTutorials
@SimpleCodingTutorials 3 месяца назад
Yes, I’m planning to add these features in my future videos.
@armguy9520
@armguy9520 3 месяца назад
noice
@GergPerson
@GergPerson 2 месяца назад
double noice
@kiemon8520
@kiemon8520 3 месяца назад
I have an error with square.querySelector. In console it says Uncaught TypeError: square.querySelector is not a function at isSquareOccupied (index.js:100:15) at checkPawnDiagonalCaptures (index.js:131:29) at getPawnMoves (index.js:111:5) at getPossibleMoves (index.js:80:9) at HTMLDivElement.drag (index.js:45:5) PLEASE HELP
@SimpleCodingTutorials
@SimpleCodingTutorials 3 месяца назад
Thanks for letting me know about the error . To help me troubleshoot the issue, could you please provide more details about when the error occurs? It would be helpful to know at what point in the game or action triggers the error so I can inspect the relevant parts of the code.