codeayan
codeayan
  • 56
  • 38 593
Dice Game | Mini Project | HTML CSS JavaScript | Part 2 - Game logic with JavaScript
Hey everyone,
Hope you found this video useful.
If you have any doubts, feel free to use the comment section.
Here is the GitHub Repository link of the project : github.com/codeayan/diceGame
See the hosted Webpage here : codeayan.github.io/diceGame/
Consider subscribing my channel for more videos..
Thank you. Have a great day. 🍫
Переглядів: 74

Відео

Dice Game | Mini Project | HTML CSS JavaScript | Part 1 - Structuring, Styling and Responsiveness
Переглядів 1268 місяців тому
Hey everyone, Hope you found this video useful. If you have any doubts, feel free to use the comment section. Here is the GitHub Repository link of the project : github.com/codeayan/diceGame See the hosted Webpage here : codeayan.github.io/diceGame/ Consider subscribing my channel for more videos.. Thank you. Have a great day. 🍫
Speech To Text with IBM Watson | Python - codeayan
Переглядів 4,8 тис.Рік тому
Hope this video was useful. IMPORTANT LINKS IBM Cloud - cloud.ibm.com/ Watson Speech to Text Service - cloud.ibm.com/catalog/services/speech-to-text GitHub Repository - github.com/codeayan/textToSpeechWatson EXPLANATION %pip install ibm-watson from ibm_watson import SpeechToTextV1 - This line imports the SpeechToTextV1 class from the ibm_watson module. The SpeechToTextV1 class is part of the IB...
ACCOUNT DELETION - PHP - MySQL - phpMyAdmin | codeayan
Переглядів 523Рік тому
Access full code here : github.com/codeayan/logSign Consider subscribing my channel for more videos.. Thank you. Have a great day. 🍫 #accountdeletion #php #backend #mysql #webdev #codeayan
LOGOUT using PHP | codeayan
Переглядів 1,3 тис.Рік тому
Access full code here : github.com/codeayan/logSign Consider subscribing my channel for more videos.. Thank you. Have a great day. 🍫 #logout #php #backend #webdev #codeayan
LOGIN page using PHP - MySQL - phpMyAdmin | codeayan
Переглядів 7 тис.Рік тому
Access full code here : github.com/codeayan/logSign Consider subscribing my channel for more videos.. Thank you. Have a great day. 🍫 #login #php #mysql #backend #webdev #coding #codeayan
SIGNUP page using PHP - MySQL - phpMyAdmin | codeayan
Переглядів 8 тис.Рік тому
Access full code here : github.com/codeayan/logSign I hope this video was useful for you. Here we talked about creating a sign up page using php and mysql db. In the next video, we will create a login page using same tech stack. Stay tuned... Consider subscribing my channel for more videos.. Thank you. Have a great day. 🍫 #php #mysql #signup #webdev #coding #vscode #codeayan
SESSIONS | PHP | codeayan
Переглядів 103Рік тому
Consider subscribing my channel for more videos.. Thank you. Have a great day. 🍫 #php #sessions #development #coding #codeayan #backend #webdev
COOKIES | PHP | codeayan
Переглядів 110Рік тому
Consider subscribing my channel for more videos.. Thank you. Have a great day. 🍫 #php #development #coding #cookies #webdev #backend #codeayan
DELETING DATA FROM MySQL DATABASE USING PHP | phpMyAdmin | codeayan
Переглядів 104Рік тому
Consider subscribing my channel for more videos.. Thank you. Have a great day. 🍫
UPDATING DATA IN MySQL DATABASE USING PHP | phpMyAdmin | codeayan
Переглядів 197Рік тому
Consider subscribing my channel for more videos.. Thank you. Have a great day. 🍫
READING DATA FROM MySQL DATABASE USING PHP | phpMyAdmin | codeayan
Переглядів 190Рік тому
Consider subscribing my channel for more videos.. Thank you. Have a great day. 🍫
WRITING DATA INTO MySQL DATABASE USING PHP | phpMyAdmin | codeayan
Переглядів 269Рік тому
Consider subscribing my channel for more videos.. Thank you. Have a great day. 🍫
CONNECTING MySQL DATABASE USING PHP | phpMyAdmin | codeayan
Переглядів 454Рік тому
code: (PHP) $connection=mysqli_connect("localhost","root","","phptutorial") or die(mysqli_error($connection)); Visit codeayan.com Consider subscribing my channel for more videos.. Thank you. Have a great day. 🍫
GRADIENT FONT COLOR | HTML, CSS | WEBDEV | codeayan
Переглядів 33Рік тому
Code: (CSS) background-image: linear-gradient(to right, #009FFD, #ffff00); -webkit-background-clip: text; -webkit-text-fill-color: transparent; Visit codeayan.com Consider subscribing my channel for more videos.. Thank you. Have a great day. 🍫
How To Save Windows Spotlight Images • codeayan
Переглядів 33Рік тому
How To Save Windows Spotlight Images • codeayan
Non Copyable Text • HTML CSS • WebDev • codeayan
Переглядів 94Рік тому
Non Copyable Text • HTML CSS • WebDev • codeayan
Adding YouTube Video to Webpage | HTML iframe tag | coeayan
Переглядів 360Рік тому
Adding UA-cam Video to Webpage | HTML iframe tag | coeayan
Creating Fixed, NOT Scrollable Header and Footer Using HTML and CSS | codeayan
Переглядів 1,2 тис.Рік тому
Creating Fixed, NOT Scrollable Header and Footer Using HTML and CSS | codeayan
Using Image as Link | anchor tag HTML | hover, shadow effect CSS | Web Development | codeayan
Переглядів 3232 роки тому
Using Image as Link | anchor tag HTML | hover, shadow effect CSS | Web Development | codeayan
Removing Element From a Set | remove, discard, pop, clear methods | Python | codeayan
Переглядів 302 роки тому
Removing Element From a Set | remove, discard, pop, clear methods | Python | codeayan
Adding Elements, Set, Iterables to Set in Python | codeayan
Переглядів 262 роки тому
Adding Elements, Set, Iterables to Set in Python | codeayan
Accessing Set Elements | Python | codeayan
Переглядів 2492 роки тому
Accessing Set Elements | Python | codeayan
Set in Python | codeayan
Переглядів 52 роки тому
Set in Python | codeayan
How to Add Sticky Navbar in a Website | Bootstrap Navbar | codeeayan
Переглядів 522 роки тому
How to Add Sticky Navbar in a Website | Bootstrap Navbar | codeeayan
Adding Bootstrap Navbar and Carousel to Webpage | codeayan
Переглядів 312 роки тому
Adding Bootstrap Navbar and Carousel to Webpage | codeayan
How to Add Footer to a Website using HTML | codeayan
Переглядів 722 роки тому
How to Add Footer to a Website using HTML | codeayan
Tuple in Python | Definition, Benefits, Methods, Examples | index() & count() functions | codeayan
Переглядів 92 роки тому
Tuple in Python | Definition, Benefits, Methods, Examples | index() & count() functions | codeayan
Lambda Function in Python | Definition, Syntax, Example | lambda() along with map() | codeayan
Переглядів 82 роки тому
Lambda Function in Python | Definition, Syntax, Example | lambda() along with map() | codeayan
Python List In-Built Function - map() | codeayan
Переглядів 42 роки тому
Python List In-Built Function - map() | codeayan

КОМЕНТАРІ

  • @dewbs96
    @dewbs96 27 днів тому

    This was so helpful! Could you do a video with this same sense of pace going over how to put together a responsive webpage?

  • @PrinceKumar-x5l5x
    @PrinceKumar-x5l5x 3 місяці тому

    Video unavailable shown

  • @my2ndpassionart
    @my2ndpassionart 3 місяці тому

    bruh how can i disable zoom in my web browser in pc

  • @zachkamenov3389
    @zachkamenov3389 5 місяців тому

    The code does nothing in my case. Zooming still occurs

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

    Thank you so much. @codeayan

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

    Thanks bruh 🤩 you are hero. BTW nice wallpaper 👌

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

      Thanks 🥹🙌 Wallpaper photo link - www.pexels.com/photo/photo-of-brown-house-near-mountain-1424246/

  • @fabiocattaneo2297
    @fabiocattaneo2297 7 місяців тому

    Promo>SM

  • @SachinPCD-Telugu
    @SachinPCD-Telugu 8 місяців тому

    Really helpful

  • @sujoyhowlader9031
    @sujoyhowlader9031 8 місяців тому

    Very nice video❤

  • @dannygarzon4120
    @dannygarzon4120 8 місяців тому

    Hey, have you tried to do it with a stream, like the microphone stream and get also a transcription stream from the api ?

    • @codeayan
      @codeayan 8 місяців тому

      I haven't personally experimented with the API yet, but based on my understanding, it indeed supports real-time speech-to-text conversion of audio streams captured directly from a microphone.

  • @SultanAydiFreelancer-pc6vz
    @SultanAydiFreelancer-pc6vz 9 місяців тому

    😊😊😊😊

  • @SultanAydiFreelancer-pc6vz
    @SultanAydiFreelancer-pc6vz 9 місяців тому

    Thank you so much😊

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

      You're welcome 🙌

  • @iasife1
    @iasife1 10 місяців тому

    Your video saved my ass. You are hero

  • @AliviaGhosh-x4h
    @AliviaGhosh-x4h 10 місяців тому

    I am filling the data in the signup form that opens in the browser but the form information is not getting collected in my phpmyadmin database even after creating the table. what do I do?

    • @codeayan
      @codeayan 10 місяців тому

      This is a very common problem. I will suggest some check ups in your code. 1. Check if blocks 2. Check form method is set POST or not. 3. Check isset condition format. 4. Check if db connection is set properly or not. 5. Check the sql query. Hope this will help. If not, let me know. Thank you.

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

    i am not able to create account is there any other way ?

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

      To use watson API account creation is mandatory. What kind of trouble you're facing while creating account ?

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

      @@codeayan I am entering all my details then it is showing some error in credit card

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

      Sorry but I am not aware of such problem 🥲. In my case, there was no need to enter card details.

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

    tried it not working when i saw the webpage on the iphone it is still zooming and in the android it has no issues can you explain it why ??

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

      <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> There may be some compatibility issues. Try the above code.

  • @ShivamMishra-fo1wx
    @ShivamMishra-fo1wx Рік тому

    u are great

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

    Hey I might be super late but I feel hopeless so please help me if possible. Problem statement: I have enabled the zoom in and want to keep it enabled due to A11Y requirements. Issue is when I do this in Android - the page stays zoomed in once the user taps into a calendar component. Even after I double tap the seems to stays zoomed in. Can anyone help ? ( Android specific issue )

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

      There are a few possible solutions that you can try: - You can add `maximum-scale=1` to the meta tag, which will limit the maximum zoom level to 100%. This might prevent the calendar from zooming in beyond the device width. For example: `<meta name="viewport" content= "width=device-width, user-scalable=no, maximum-scale=1">` - You can use CSS media queries to adjust the size and layout of the calendar components according to different screen sizes and orientations. This will make your website more responsive and adaptable to different devices. For example: `@media screen and (max-width: 480px) { /* CSS rules for small screens */ }`

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

    Thank you very much for your help, a big hug from Brazil.

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

      Glad it helped. You are welcome 🍫

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

    Help me, why user data is not showing in my database:< but the code there's no problem maybe my phpmyadmin?

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

      I can suggest some checks: 1. Check the db connection 2. Check the sql query 3. Check table structure in phpmyadmin

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

      @@codeayan yup, i tried php mysqli and it work!, May i know why in print_r($_POST); is not showing the details that i entered when i submit?

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

    thank you for your wonderful tutorial 😊

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

    This code dosent look safe.... I think it's vulnerable for sql injections, use prepared statements and sanitze the userinput (username, password)

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

      You are absolutely correct. Actually I made this video for basic understanding of the user management system, can be used just for local college projects. Later I'll make another series on the complete web safe management system 🙂

  • @HariomSingh-nc6uh
    @HariomSingh-nc6uh Рік тому

    Great job men ⭐

  • @status-561
    @status-561 Рік тому

    Can u post also csss code please 🙏

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

      I have just added github repository link in the video description. I did not create external css file. Very minimal css editing is done. All is in that repo. Hope it will help. Thank you.

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

    Thank you, my teacher just copy pasted some code from his manual and didn't explained anything 😭 youtubers like you are the reason I'm gonna learn anything.

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

    Sir, I am to say that your tube videos are seen on mobile, but videos, view are in zoom in.

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

      Sorry I am not getting what you are trying to say. 🧐. Aap hindi mein bhi bol sakte hai

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

    Very good Video !

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

    Super 👍

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

    Thank you nice explaination💯

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

    Thank you so much great explaination 💯😊

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

    Please reply

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

      But I can't see any question 😅. Feel free to ask 😊

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

      @@codeayan please call

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

      Hi Buddhadev. I just got your question. I think your environment is not supporting php. I guess your local server is ok with it. But the android system is not getting it properly.

  • @-xyzan-
    @-xyzan- Рік тому

    how can we do this for pc ?

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

      Hi Aris, sorry for replying late. I am not sure about the pc. Zooming comes as a feature of chrome as much as I know. I don't know how to avoid that. If I get some answer, I will let you know. Thank you

    • @-xyzan-
      @-xyzan- Рік тому

      @@codeayan Thankyou very much for this effort

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

    You saved my day !! thanks 💚💚🙏

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

      You too 🙌. Have a great day 🍫

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

    Send the full code sir

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

      I'll add github link soon. For now, most of the code is pinned in the comment section.

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

    Bro where should we paste it in phone chrome browser

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

      Hi Sam! We don't need to paste it anywhere inside the chrome browser. We need to write the code in the resource file of a particular webpage. Hope this helps. Thank you.

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

    Give me a source code sir

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

      Hi, Vignesh. You can get the source code in pinned comment.

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

    Hey man put the source code in the description

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

      Code is in the pinned comment already. Kindly check. Thank you.

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

    HTML Form- <form method="POST"> <button type="submit" name="destroysub">Delete account permanently</button> </form> ------------------------------------------------------------------------ PHP Code- <?php if(isset($_POST['destroysub'])){ require 'partials/_dbcon.php'; $getusername=$_SESSION['sendusername']; $sql="delete from user_details where user_name = '$getusername'"; $sqlres=mysqli_query($connect, $sql); session_unset(); session_destroy(); header("location: login.php"); exit; } ?>

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

    HTML Form - <form method="POST"> <label for="">Enter your name : </label><br> <input type="text" name="getname"><br> <label for="">Enter username : </label><br> <input type="text" name="getusername"><br> <label for="">Enter password : </label><br> <input type="password" name="getpass"><br> <label for="">Confirm password : </label><br> <input type="password" name="conpass"><br><br> <button type="submit" name="sub">Sign Up</button> </form> --------------------------------------------------------------------------------------------------- PHP code - <?php if(isset($_POST['sub'])){ require 'partials/_dbcon.php'; $getname=$_POST['getname']; $getusername=$_POST['getusername']; $getpass=$_POST['getpass']; $conpass=$_POST['conpass']; $sql="select user_name from user_details where user_name = '$getusername'"; $sqlres=mysqli_query($connect, $sql); $rowcount=mysqli_num_rows($sqlres); if($rowcount !=0){ echo "User name is not available. Try another one"; } if($getpass != $conpass){ echo "Confirm password properly"; } if(($rowcount ==0) && ($getpass == $conpass)){ echo "You have successfully signed up."; $gotologin = "<a href='login.php'>Log in.</a>"; echo $gotologin; $sql="insert into user_details (full_name, user_name, password) values ('$getname','$getusername','$getpass')"; $sqlres=mysqli_query($connect, $sql); } } ?> Hope this will be helpful. SUBSCRIBE codeayan and help me grow. Thank you 🍫

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

    HTML Form- <form method="POST"> <label for="">Enter username : </label><br> <input type="text" name="getusername"><br> <label for="">Enter password : </label><br> <input type="password" name="getpass"><br><br> <button type="submit" name="sub">Log in</button> </form> --------------------------------------------------------------------------------- PHP code- <?php if(isset($_POST['sub'])){ require 'partials/_dbcon.php'; //Create a seperate db connection file and link it $getusername=$_POST['getusername']; $getpassword=$_POST['getpass']; $sql1="select * from user_details where user_name = '$getusername' and password='$getpassword';"; $sqlres=mysqli_query($connect, $sql1); $countrows=mysqli_num_rows($sqlres); if($countrows == 0){ echo "account not available. Please <a href='index.php'>Sign Up.</a>"; }else{ session_start(); $_SESSION['loggedin']=true; $_SESSION['sendusername']=$getusername; header("location: dashboard.php"); //Replace dashboard.php with your next page } } ?> Hope this will be helpful. SUBSCRIBE codeayan and help me grow. Thank you 🍫

    • @保羅狄拉克
      @保羅狄拉克 Рік тому

      Should use prepared statement instead

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

      If you have any suggestions, you can add your code by replying to this comment.

    • @保羅狄拉克
      @保羅狄拉克 Рік тому

      @@codeayan Sure, in order to protect against the XSS attack and SQL injection, my suggestion of including the MySQLi prepared statements is as follow: <?php if(isset($_POST['sub'])){ require 'partials/_dbcon.php'; $getusername = $_POST['getusername']; $getpassword = $_POST['getpass']; // Create a prepared statement $stmt = $connect->prepare("SELECT * FROM user_details WHERE user_name = ? AND password = ?"); if ($stmt === false) { die('prepare() failed: ' . htmlspecialchars($connect->error)); } // Bind parameters to the statement variables $stmt->bind_param('ss', $getusername, $getpassword); // Execute the prepared statement $stmt->execute(); // Get the result of the executed statement $result = $stmt->get_result(); // Count the number of rows in the result $countrows = $result->num_rows; if($countrows == 0){ echo "Account not available. Please <a href='index.php'>Sign Up.</a>"; }else{ session_start(); $_SESSION['loggedin']=true; $_SESSION['sendusername']=$getusername; header("location: dashboard.php"); } // Close statement $stmt->close(); } ?>

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

      I will surely try to learn this technique. Thank you very much for the code. Have a great day 🍫☺️

    • @保羅狄拉克
      @保羅狄拉克 Рік тому

      @@codeayan I believe you will, it's just three things to keep in mind. Prepare ->bing it -execute And if you only deal with MySQL you can use MySQLi, if you will have to deal to combination of several database, I personally recommend to use the PDO prepare statement as it can support more than 12 database. MySQLi only can be use with MySQL And also remember to validate the input and sanitize them with trim, htmlspecialchars() and etc. Hope you succeed.

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

    Can you share the code man

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

      Sure! PHP code- <?php if(isset($_POST['sub'])){ require 'partials/_dbcon.php'; //Create a seperate db connection file and link it $getusername=$_POST['getusername']; $getpassword=$_POST['getpass']; $sql1="select * from user_details where user_name = '$getusername' and password='$getpassword';"; $sqlres=mysqli_query($connect, $sql1); $countrows=mysqli_num_rows($sqlres); if($countrows == 0){ echo "account not available. Please <a href='index.php'>Sign Up.</a>"; }else{ session_start(); $_SESSION['loggedin']=true; $_SESSION['sendusername']=$getusername; header("location: dashboard.php"); //Replace dashboard.php with your next page } } ?> Hope this will be helpful. Thank you.

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

    Sir on clicking signup Next procedure not going on It staying in same page . No commands like you are signup successfully..

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

      Hi, Kiran. I will suggest some check ups in your code. 1. Check if blocks 2. Check form method is set POST or not. 3. Check isset condition format. 4. Check if db connection is set properly or not. 5. Check the sql query. Hope this will help. If not, let me know. Thank you.

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

    *promosm*

  • @m.arshad8341
    @m.arshad8341 Рік тому

    An excellent method for explanation... What a diamond you are... What is your qualification?

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

      I am glad that you found it useful ❤️. Thanks for the motivation ✨. Have a great day 🍫

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

    I was looking for a tutorial like this! Also, your teaching is very good! Keep it up 👍👍

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

      This means a lot to me 🥹. Thank you very much 🍫

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

    FORM- <form method="POST"> <button type="submit" name="logoutsub">Log out</button> </form> PHP- if(isset($_POST['logoutsub'])){ session_unset(); session_destroy(); header("location: login.php"); exit; }

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

    1st viewer, sir! ✋🏻