Create Your Own ChatGPT in HTML CSS and JavaScript | ChatGPT Clone HTML CSS and JavaScript

Поделиться
HTML-код
  • Опубликовано: 20 май 2024
  • In this video tutorial, I demonstrate how to create your own ChatGPT using HTML, CSS, and JavaScript. This ChatGPT clone project allows you to ask questions and receive instant responses. Additionally, you have the option to switch between dark and light themes.
    Your chat history is saved in the browser's local storage, ensuring it remains even if you refresh the page. However, you can easily delete chats by clicking on the dedicated "Delete Chat" button.
    Download Images only of this ChatGPT Clone Project
    codingnepalweb.com/custom-pro...
    Hire me on Fiverr
    www.fiverr.com/prakashahi
    Follow me on Instagram
    / coding.np
    Visit my website for helpful coding projects with source code
    www.codingnepalweb.com
    Timestamps:
    0:00 Demo of ChatGPT Clone
    4:00 HTML & CSS Start
    4:15 Creating Static Chats
    8:45 Creating Typing Dots Animation
    11:18 Creating Bottom Typing Box
    20:10 JavaScript Start
    21:05 Working on Outgoing Chat
    24:49 Working on Typing Dots Animation
    26:24 Working on Generating API Response
    33:58 Working on Copy Response Button
    36:37 Saving Chats to Local Storage
    38:46 Working on Dark/Light Theme
    42:55 Working on Delete Chats Button
    #javascript #html #css #javascriptprojects #js #chatgpt #chatgpt_clone
    Music Credit:
    Ikson - We Are Free [Official]
    • #83 We Are Free (Offic...
    Miss You - LiQWYD
    • Miss You - LiQWYD (No ...
    Those Restless Nights - Artificial.Music
    • Those Restless Nights ...
    Ehrling - You And Me (Vlog No Copyright Music)
    • Ehrling - You And Me (...
    Deep Sea by Vendredi / vendrediduo
    Creative Commons - Attribution 3.0 Unported - CC BY 3.0
    Free Download / Stream: bit.ly/-deep-sea
    Music promoted by Audio Library : • Deep Sea - Vendredi (N...

Комментарии • 160

  • @CodingNepal
    @CodingNepal  9 месяцев назад +13

    Remember that when you sign up for OpenAI, you'll get a free $5 credit for your API usage. If your account is older than 3 months or the credit runs out, you'll need a paid account or create a new one with a new number to keep using the API. Your API usage and expiration date can be found on the account's usage page.

    • @kameshg964
      @kameshg964 7 месяцев назад +3

      pls give soure code

    • @SurajPandey-vi9gr
      @SurajPandey-vi9gr 28 дней назад

      After the update it, looks like there is no free trial ?

  • @mounir101
    @mounir101 11 месяцев назад +1

    Pretty awesome work. thanks

  • @user-fw8hw1qu4k
    @user-fw8hw1qu4k 9 месяцев назад

    great work🎉🎉

  • @ritika8539
    @ritika8539 10 месяцев назад

    sir your videos are really great

  • @m.areeshrashid705
    @m.areeshrashid705 Год назад +2

    Awesome Project 👍. Please Resume Generator HTML CSS JavaScript

  • @buzzkagirl
    @buzzkagirl 11 месяцев назад

    Good work 👍👍

  • @TechAyush001
    @TechAyush001 10 месяцев назад

    Best Ever ❤

  • @asian.drama031
    @asian.drama031 10 месяцев назад

    Such an amazing project

  • @xkimido
    @xkimido 11 месяцев назад

    thank you so much. it's awesome

  • @Eternal-Bhakti
    @Eternal-Bhakti 11 месяцев назад +7

    it shows error after providing Correct api also

  • @scapesteam
    @scapesteam 10 месяцев назад +8

    Amazing content, HONESTLY THIS IS THE BEST CODING CHANNEL ON RUclips!!! Keep it up. Love the stuffs you guys do.

    • @scapesteam
      @scapesteam 10 месяцев назад

      Honestly it would be cool if there was a way to actually recommend you the next video.

    • @scapesteam
      @scapesteam 10 месяцев назад

      Every video you make is already my favourite but still. a way to recommend would be cool

    • @simple_boy_077
      @simple_boy_077 9 месяцев назад +1

      +

    • @vishnuvardhan-rb8cc
      @vishnuvardhan-rb8cc Месяц назад

      @@scapesteam bruh bot

  • @Dumiya123
    @Dumiya123 Год назад +2

    avesome bro . From Sri Lanka 👍

  • @bidhan_niroula
    @bidhan_niroula Год назад +2

    Great work
    It makes better if you have streamed response

    • @Mullyy-mc
      @Mullyy-mc 2 месяца назад

      @mullycraft3Djv

  • @workhard0311
    @workhard0311 Год назад +6

    its giving an error after generating an API key ... what to do?

  • @LORD-OF-AI
    @LORD-OF-AI 2 месяца назад

    HOW CAN NEPAL DO THIS!!!
    TALENTED

  • @webhimel
    @webhimel Год назад

    you're really a creative man

  • @saifullahqadeer4u
    @saifullahqadeer4u Год назад

    Awesome 👍👍 keep it up

  • @vz4
    @vz4 Год назад +1

    that sick 🔥

  • @rushikeshavachat4282
    @rushikeshavachat4282 Год назад

    Awesome Coding nepal.😀😀😘😘

  • @BruceShira
    @BruceShira 7 месяцев назад

    amazing video , cant find the link for the google fonts

  • @docpatel7399
    @docpatel7399 2 месяца назад

    That is a unsure way to put the API key no? If the application is hosted would it not be accessible through the browser?

  • @buzzkagirl
    @buzzkagirl 11 месяцев назад +1

    Please make a video on, train running status website using rapid API keys..

  • @liviuc1946
    @liviuc1946 Год назад +20

    Anybody asked chatgpt "How to create a ChatGPT clone in HTML, CSS, and JavaScript " ? 😜

  • @livinginthechaos9377
    @livinginthechaos9377 Месяц назад +1

    it seems most of us are facing the problem "Failed to load resource: the server responded with a status of 404 ()
    TypeError: Cannot read properties of undefined (reading '0')" while generating API response. Will you please solve it?

  • @ginocote
    @ginocote 9 месяцев назад +3

    From where can we download this code?

  • @Azalea_tube
    @Azalea_tube 10 месяцев назад +2

    can we use Bard API_KEYS instead? open ai available in only 45 countries. pls make a video. and let me know if you see this comment.

  • @DOGTalkVLOG
    @DOGTalkVLOG 3 месяца назад +2

    API is note working??? Why??

  • @arijitsarker7570
    @arijitsarker7570 8 месяцев назад

    Can you show me the new chat button configuration in javascript?

  • @KnowItWithWilliam
    @KnowItWithWilliam 11 месяцев назад +7

    Bro, How to fix - Oops! Something went wrong while retrieving the response. Please try again.

  • @mohamadmawed9136
    @mohamadmawed9136 Год назад

    What is this error
    Cannot read properties of undefined (reading '0')

  • @lukas.webdev
    @lukas.webdev Год назад +2

    Great video! Keep it up! 😉🔥

  • @dailymasala614
    @dailymasala614 4 месяца назад

    Brother, I have a question that AI also created a website and clones. As I am learning Html, CSS. But I am also worried if AI creating everything just saying how my website should look like just typing the instructions without writing any code. So how i should see this. Please give me your views or make an video about this if possible. Because if everything is happening without writing a code. How we can add more value by learning HTML and CSS.

  • @MindsetA.I
    @MindsetA.I 11 месяцев назад +1

    can i change the model to gpt-3.5-turbo?

  • @Movietime36557
    @Movietime36557 8 месяцев назад

    hi can you share in there with your source code because i cant open with zip

  • @danicoding
    @danicoding Год назад

    Very nice❤

  • @dishakarnayake5809
    @dishakarnayake5809 Месяц назад +2

    Hey i m getting an error in retrieving response using api url

  • @juma_alpha
    @juma_alpha Год назад +1

    like your creativity sir...really challenging me alot..keep up another like from me

  • @yashdhawade5341
    @yashdhawade5341 Месяц назад

    How do you create copy, delete, theme
    and send buttons in one line?

  • @yubiroaster6285
    @yubiroaster6285 Год назад +1

    Damn🤯.... What a project 👏

  • @indracode7
    @indracode7 9 месяцев назад

    👍

  • @rigood4235
    @rigood4235 Год назад

    Awesome!!!!!

  • @Muhammad-Hanzala
    @Muhammad-Hanzala 9 месяцев назад

    how to upload documents through the prompt

  • @himanshudixit3376
    @himanshudixit3376 8 месяцев назад

    why it is generating random answers such i typed hii and as reponse i got a cpp code

  • @secret_7025
    @secret_7025 7 месяцев назад

    Where to host it

  • @janakpanthi78
    @janakpanthi78 10 месяцев назад

    Can you make room gpt please❤🙏

  • @aubisokahaftungsbeschrankt6406
    @aubisokahaftungsbeschrankt6406 2 месяца назад

    can you show how a assistant from openai is connected?

  • @bhavikyadav2934
    @bhavikyadav2934 8 месяцев назад +1

    dude please give the links to your source code

  • @coding_with_mayavi0
    @coding_with_mayavi0 Год назад

    35:00 new way for copy text to clipboard is work enyware ?

  • @skshinchanarmy3091
    @skshinchanarmy3091 Месяц назад

    It's not working for me, because API key set but it's post error come from API url

  • @Balan_E
    @Balan_E 11 месяцев назад

    Good bro, Ai video editing website creation it bro.

  • @shubhammali706
    @shubhammali706 7 месяцев назад

    If we deployed this website on github or any other server API Key gets disabled due to api key exposion ..
    So how to use api key without exposing it in js?

    • @CodingNepal
      @CodingNepal  7 месяцев назад

      You can use Node.js to send secure API requests from the backend, as it's not possible to securely hide API keys using plain JavaScript.

  • @rushikeshavachat4282
    @rushikeshavachat4282 11 месяцев назад

    make this video using next js,typescript & tailwind css usin redux.Thank you🤗🤗😐😐😵‍💫😵‍💫

  • @gurmeetkumar6020
    @gurmeetkumar6020 11 месяцев назад

    Please make a video on Anime Streaming website like 9anime using HTML, CSS and Javascript

  • @Elysian_Editzz
    @Elysian_Editzz 2 месяца назад

    sir there is any documentaion about this project

  • @azzamhaer
    @azzamhaer Год назад +3

    hey bro, how to make automatic ChatGPT API keys, and no need to enter before accessing the page?

    • @CodingNepal
      @CodingNepal  Год назад

      The API key requirement before access the page is only for my demo project. If you follow the video, then you don't need to do that.

    • @azzamhaer
      @azzamhaer Год назад +1

      @@CodingNepal ill do it

  • @mudiaomokri1066
    @mudiaomokri1066 9 месяцев назад +1

    How do get this https link

  • @HRANIMEINHINDI
    @HRANIMEINHINDI Год назад

    LUKO KING CLONE ❤❤❤

  • @ammarabhatti8261
    @ammarabhatti8261 2 месяца назад

    🥲🥲can you make a poject where free api is available ?? when I created API it didnt work because it is paid not free

  • @sumitdas2004
    @sumitdas2004 11 месяцев назад

    After making the HTML and CSS I strated the JS part. When I fetched the API it is showing- API likit reached check billing.... I think API is no more free.

    • @satyamkarn9227
      @satyamkarn9227 11 месяцев назад

      create another account with different phone number and emailID

  • @shubhsinha3896
    @shubhsinha3896 11 месяцев назад

    bring some react tutorials bro, single page application with redux toolkit

  • @anniesshort
    @anniesshort 10 месяцев назад +2

    Help us with source code please 🙏

  • @xuananhofficial7879
    @xuananhofficial7879 5 месяцев назад

    why model ?

  • @RANGANATHANJCSEUG-Batch
    @RANGANATHANJCSEUG-Batch 7 месяцев назад

    Can you provide source code for clarification

  • @mdsarowarhosen4545
    @mdsarowarhosen4545 10 месяцев назад

    Brother,
    Suddenly it stopped working.
    Can't understand what is happening.
    I have tried changing the api key. But it isn't working.
    Any suggestions?

    • @CodingNepal
      @CodingNepal  10 месяцев назад

      The free OpenAI API is available for three months after creating an account. After that, it becomes a paid service. To continue using the API for free, create a new account and API key for limited usage.

  • @jaredthomas2943
    @jaredthomas2943 11 дней назад

    the console says "POST" has too many uses

  • @urbangaming7334
    @urbangaming7334 10 месяцев назад

    All set but api is not working 😢

  • @coding_with_mayavi0
    @coding_with_mayavi0 Год назад

    I thought javascript is easy but my mind you gona see somthing big😂 😮😮can you provide a javascript full free course

    • @CodingNepal
      @CodingNepal  11 месяцев назад

      I will think about it.

  • @godfreyogbeide2340
    @godfreyogbeide2340 4 месяца назад

    Good code, can we get this code ?

  • @Eternal-Bhakti
    @Eternal-Bhakti 11 месяцев назад +1

    its not working noww

  • @prasadbagul2146
    @prasadbagul2146 Год назад

    Very Nice Video

  • @m.areeshrashid705
    @m.areeshrashid705 Год назад

    Please Create JavaScript Tutorial Playlist.

    • @CodingNepal
      @CodingNepal  11 месяцев назад

      It's available on my channel.

    • @m.areeshrashid705
      @m.areeshrashid705 11 месяцев назад

      Please Create JavaScript Tutorial Playlist step by step concepts clear.

  • @carlosmonge135
    @carlosmonge135 11 месяцев назад +1

    not working!!

  • @coding_with_mayavi0
    @coding_with_mayavi0 Год назад

    And i learn a function is trim(l for rimove white space , right

    • @CodingNepal
      @CodingNepal  Год назад +1

      Yes, it is true that the trim() method in JavaScript removes any extra whitespace from both ends of a string.
      const email = " abc@gmail.com ";
      const trimmedEmail = email.trim();
      console.log(trimmedEmail); // Output: "abc@gmail.com"

    • @coding_with_mayavi0
      @coding_with_mayavi0 Год назад

      @@CodingNepalcan you provide a full javascript cous in free or you knlw some on provide the course free?

  • @circuitgenius14
    @circuitgenius14 3 месяца назад

    IT give me an error after prompting

  • @alibikhasenov3726
    @alibikhasenov3726 11 месяцев назад

    Help solve the error 429 please
    "error":
    "message": "You exceeded your current quota, please check your plan and billing details.",
    "type": "insufficient_quota",
    "param": null,
    "code": null

    • @CodingNepal
      @CodingNepal  11 месяцев назад

      The free OpenAI API is available for three months after creating an account. After that, it becomes a paid service. To continue using the API for free, create a new account and API key for limited usage.

    • @atheisttttt
      @atheisttttt 11 месяцев назад

      @@CodingNepal no
      I created an API key today only.
      But having the same error.
      I guess credit card link is mandatory

    • @CodingNepal
      @CodingNepal  11 месяцев назад

      It doesn't matter; when you've created an API key, if your account is older than 3 months, the API won't work until you pay. So, create a new account and API to use it for free for limited usage.

    • @atheisttttt
      @atheisttttt 11 месяцев назад

      @@CodingNepal no I created my account yesterday only

  • @user-jf1zq9gq7h
    @user-jf1zq9gq7h 8 месяцев назад

    hi i have a premium chatgpt why this respond Oops! Something went wrong while retrieving the response. Please try again.

    • @CodingNepal
      @CodingNepal  8 месяцев назад

      ChatGPT and OpenAI API subscriptions are different.

  • @twinomugishamorris2340
    @twinomugishamorris2340 7 месяцев назад

    source coe?

  • @andreengelbrecht5204
    @andreengelbrecht5204 11 месяцев назад

    I followed this and got this error:
    Oops! Something went wrong while retrieving the response. Please try again.
    Any ideas why I am getting this?

    • @CodingNepal
      @CodingNepal  11 месяцев назад

      It appears that there is an error within the code in the try block. This error could be due to an invalid API key, a typo, or something else. To identify the error, you can use console.log(error).
      try {
      // Your code goes here
      } catch (error) {
      console.log(error);
      // Additional code or error handling can be added here
      }

    • @dongarevikramnarayan179
      @dongarevikramnarayan179 10 месяцев назад

      @@CodingNepal sir i also face same problem

    • @dongarevikramnarayan179
      @dongarevikramnarayan179 10 месяцев назад

      is your problem solved

    • @Nimisha844
      @Nimisha844 6 месяцев назад

      @@CodingNepal hello sir whenever i send a prompt in these application it is showing error about too many request error 429.Please can you help me in these.I checked my code multiple times and i followed all your api key generation steps but these error is no vanishing.

  • @dubfy
    @dubfy 11 месяцев назад +1

    Oops! Something went wrong while retrieving the response. Please try again.

    • @CodingNepal
      @CodingNepal  11 месяцев назад

      The free OpenAI API is available for three months after creating an account. After that, it becomes a paid service. To continue using the API for free, create a new account and API key for limited usage.

  • @shubhsinha3896
    @shubhsinha3896 11 месяцев назад

    how to get the openAI API key, is it free?

    • @CodingNepal
      @CodingNepal  11 месяцев назад

      Go to this url: platform.openai.com/account/api-keys, login and create an API key. It's free.

    • @shubhsinha3896
      @shubhsinha3896 11 месяцев назад

      ​@@CodingNepal ok thanks

  • @KnowItWithWilliam
    @KnowItWithWilliam Год назад

    We are waiting for the sorce code for the ChatGPT, Please upload it soon..

    • @CodingNepal
      @CodingNepal  11 месяцев назад

      Source code will be uploaded soon on my website - www.codingnepalweb.com

  • @azzamhaer
    @azzamhaer Год назад

    gmail inbox using php

  • @samuelawe2641
    @samuelawe2641 Год назад

    We can't download the code to follow the project.

    • @CodingNepal
      @CodingNepal  Год назад +1

      You don't need to download the code to follow this project. Simply watch the video tutorial. Complete source code will be available soon on my website codingnepalweb.com for download.

    • @utkarshsiddhpura2401
      @utkarshsiddhpura2401 Год назад

      @@CodingNepal every programmer has its own website with his features😅😅😅

  • @Muhammad-Shahab
    @Muhammad-Shahab 11 месяцев назад

    Hey I saw your chatgpt clone in my browser
    When I would right click it would say you cannot view or copy source code then I pressed f12 and then I downloaded all source code haahahhaa. and another thing when I messaged chat gpt would say invalid api key.
    🤓🤮🤮🤮🤮🤓😎😎😎😎😎

  • @asian.drama031
    @asian.drama031 10 месяцев назад

    where i can get free api_key ??

  • @lusiviacravetofficial
    @lusiviacravetofficial 16 дней назад

    I can't run it :/

  • @musicalsworld1455
    @musicalsworld1455 Год назад +1

    Great Project sir. But can't download source code.

    • @CodingNepal
      @CodingNepal  11 месяцев назад +1

      Source code will be uploaded soon on my website - www.codingnepalweb.com

    • @musicalsworld1455
      @musicalsworld1455 11 месяцев назад +1

      @@CodingNepal Failed to load resource: the server responded with a status of 429 ()
      Facing this problem sir after using API_KEY from chatgpt.

    • @RS33
      @RS33 11 месяцев назад +1

      @@CodingNepal Failed to load resource: the server responded with a status of 429 ()
      Facing this problem sir after using API_KEY from chatgpt
      please solve the problem

    • @RS33
      @RS33 11 месяцев назад

      @@CodingNepal create short video for solve problem

  • @codinggrits6504
    @codinggrits6504 11 месяцев назад

    iska soource code milega kya ?

    • @CodingNepal
      @CodingNepal  11 месяцев назад

      Source code will be uploaded soon on my website - www.codingnepalweb.com

    • @codinggrits6504
      @codinggrits6504 11 месяцев назад

      to load resource: the server responded with a status of 429 () . why give this error

  • @zubarer
    @zubarer Год назад +2

    please give source code

    • @CodingNepal
      @CodingNepal  11 месяцев назад

      Source code will be uploaded soon on my website - www.codingnepalweb.com

  • @tejasmane2588
    @tejasmane2588 10 месяцев назад

    I got an error while getting answer from it

  • @GoogleSoftwareEnginear
    @GoogleSoftwareEnginear 11 месяцев назад

    Awesome Bro Can U provide the code

    • @CodingNepal
      @CodingNepal  11 месяцев назад

      Get source code from here: www.codingnepalweb.com/create-chatgpt-clone-html-css-javascript/

    • @muhammadvitoni1802
      @muhammadvitoni1802 11 месяцев назад

      ​@@CodingNepal
      this is an error after entering the API_keys what should I do

  • @AhadSTS2.0
    @AhadSTS2.0 11 месяцев назад

    Is this API paid...?

  • @azzamhaer
    @azzamhaer Год назад

    Source code CHATGPT clone plzzz

    • @CodingNepal
      @CodingNepal  11 месяцев назад

      Source code will be uploaded soon on my website - www.codingnepalweb.com

  • @dongarevikramnarayan179
    @dongarevikramnarayan179 10 месяцев назад

    How to fix - Oops! Something went wrong while retrieving the response. Please try again.

    • @CodingNepal
      @CodingNepal  10 месяцев назад

      The free OpenAI API is available for three months after creating an account. After that, it becomes a paid service. To continue using the API for free, create a new account and API key for limited usage.

    • @dongarevikramnarayan179
      @dongarevikramnarayan179 10 месяцев назад

      @@CodingNepal ok sir

    • @dongarevikramnarayan179
      @dongarevikramnarayan179 10 месяцев назад

      @@CodingNepal yes sir, it's work thank you

    • @MysteryMan-wg5db
      @MysteryMan-wg5db 7 месяцев назад

      @@CodingNepal Mine I made a few weeks ago but the source code provided still doesnt work

  • @Trigoter
    @Trigoter Год назад

    😱😱🤯🫵🏻👍🏻

  • @user-ki4kw4lg2m
    @user-ki4kw4lg2m 5 месяцев назад

    I need help how i can contact you?