ChatGPT has helped me create excellent content and other stuff, but the most it amazes me is using it to code. I am not a web developer; I know some basics of HTML & CSS and used to pay a hefty amount to web developers to do small tasks on my website, but ChatGPT has helped me quickly do those tasks for free. I am also fond of jokes and waste most of my time using reddit to watch memes. Then I got an idea of why don’t I make my own website and watch memes without wasting time to find them. Here came the idea of making my own jokes website, developed with the help of ChatGPT.
To create the jokes website, I needed a source for the memes from where I could fetch them to my website, as the boring jokes of ChatGPT ain’t fun for me. But if You want to read jokes from ChatGPT, then you can write a prompt:
Tell me a Funny Joke
The idea is to create a jokes website that finds memes from these subreddits and then posts them on the jokes website randomly. I will show you How I created the website using ChatGPT with zero Coding knowledge.
Using ChatGPT to Create Jokes Website
I used the following prompt to generate the homepage of the jokes website:
It gave a new code which was still not working, so I asked it again for the same, and here is the output given by ChatGPT:
Setting Up the Website
Now, I had to set up the website on my hosting. I created a separate section on my website by making a folder named “jokes” I created 3 files in it, i.e., index.php, styles.css & meme.js. I added the codes to the files and checked the website.
The website worked very well, and it fulfills what I wanted it to do. Here is the link to the joke generator.
Now, I don’t have to surf the subreddits for searching memes and waste time. I can directly head to my joke generator website and check the best memes on the subreddit.
The main problem I faced while making the jokes website was the hallucination of ChatGPT. Yes, many times, ChatGPT hallucinates while giving outputs and gives the wrong output, and We have to keep fixing the bugs.
Another problem with ChatGPT while writing code is that it needs a good prompt to get the desired output. You must learn the basics of web development to successfully code the entire website using ChatGPT.
It was a fun project, and I quickly created the website within 2hours using ChatGPT. If you want the source code of this joke’s website for personal use, then comment below, and I will share it with you. If you want to learn more about using ChatGPT to create an HTML webpage, you can check out this article. Thank you for reading.