Tips For Building a Website With ChatGPT

The whole world is talking about ChatGPT. You can’t visit YouTube or social media without seeing someone talking about what they asked an AI chatbot today. So here at InMotion Hosting we’ve been putting this handy little bot to its paces and the results have been interesting.

We asked “Can I use ChatGPT to build a website?” And I got some answers.

Below you will find a few tips to keep in mind if you are considering building a new website using ChatGPT. Please remember that this is a completely new project and improvements and updates are constantly being released. Also, while this tool is currently free to try, it may switch to a paid model in the future.

If you don’t have an account to try AI OpenAI website to start. There you will be prompted to start chatting with the bot.

limited knowledge of the current time

As the main chat page states, the AI ​​has “limited knowledge of the world and events beyond 2021”. Therefore, we cannot provide weather forecasts or make predictions about current or future events.

For example, the question “What’s in the new version of WordPress?” It does not give usable results.

Just ask, don’t expect perfection

Some of the output you get from ChatGPT is surprisingly good, but most of it will require some tweaking. Remember, this is software, not magic. AI is still new and will improve over the years. For now, take each output with a grain of salt and don’t expect miracles.

If you use a chatbot to generate code for your site, there is no guarantee that the code will work as intended. Rigorous testing is still a requirement.

Keep your code modular

The ChatGPT output will stop itself when it gets too large. So don’t ask the AI ​​for the whole app.

For example, if you are building a WordPress theme, you can request code samples for the widget area and they are provided very easily. You can also request code to create a comment section.

Also, code output is generic. The function definition is given an arbitrary name based on the input. It’s best to be as specific as possible and customize the code samples to fit your needs.

real case

We asked AI to help us write a WordPress plugin that can identify outdated posts that may need updating. This helps bloggers determine if older posts need to be updated or edited to reflect new information.

The plugin looks through the posts in the database, sorts them by last modified date, and calculates how old they are. It then aggregates all of this information into a table displayed in a metabox in the admin area.

The output worked, but not as expected. When I tried to add custom CSS, the AI ​​couldn’t pinpoint where I wanted it. This could be a limitation of the program or something I didn’t explain exactly what I wanted.

Nonetheless, I tweaked the output of the code myself to achieve the desired effect.

Voila, I now have a metabox in my dashboard that shows a table of old posts that I need to go back and update.

A custom WordPress plugin built with AI support.

Think of the results as advice

Currently, ChatGPT is a free research tool. There’s no substitute for a live developer unless you’re prepared to do a lot of the work yourself.

For now, it’s best to think of it as advice to see the results you get. how something can be done

For example, you can request a basic code snippet and get an “example” of how you can achieve the desired result.

However, if you want something more specific, customized, and unique, you may need to continue iterating new code independently or hiring a developer to complete the project.

delay expected

ChatGPT is now a very popular tool that is free to the public. As such, it tends to drop quite often throughout the day due to high trading volumes. So even if you get used to this handy code dispensary, you may still need to do most of the work independently.

Source

The whole world is talking about ChatGPT. You can’t visit YouTube or social media without seeing someone talking about what they asked an AI chatbot today. So here at InMotion Hosting we’ve been putting this handy little bot to its paces and the results have been interesting.

We asked “Can I use ChatGPT to build a website?” And I got some answers.

Below you will find a few tips to keep in mind if you are considering building a new website using ChatGPT. Please remember that this is a completely new project and improvements and updates are constantly being released. Also, while this tool is currently free to try, it may switch to a paid model in the future.

If you don’t have an account to try AI OpenAI website to start. There you will be prompted to start chatting with the bot.

limited knowledge of the current time

As the main chat page states, the AI ​​has “limited knowledge of the world and events beyond 2021”. Therefore, we cannot provide weather forecasts or make predictions about current or future events.

For example, the question “What’s in the new version of WordPress?” It does not give usable results.

Just ask, don’t expect perfection

Some of the output you get from ChatGPT is surprisingly good, but most of it will require some tweaking. Remember, this is software, not magic. AI is still new and will improve over the years. For now, take each output with a grain of salt and don’t expect miracles.

If you use a chatbot to generate code for your site, there is no guarantee that the code will work as intended. Rigorous testing is still a requirement.

Keep your code modular

The ChatGPT output will stop itself when it gets too large. So don’t ask the AI ​​for the whole app.

For example, if you are building a WordPress theme, you can request code samples for the widget area and they are provided very easily. You can also request code to create a comment section.

Also, code output is generic. The function definition is given an arbitrary name based on the input. It’s best to be as specific as possible and customize the code samples to fit your needs.

real case

We asked AI to help us write a WordPress plugin that can identify outdated posts that may need updating. This helps bloggers determine if older posts need to be updated or edited to reflect new information.

The plugin looks through the posts in the database, sorts them by last modified date, and calculates how old they are. It then aggregates all of this information into a table displayed in a metabox in the admin area.

The output worked, but not as expected. When I tried to add custom CSS, the AI ​​couldn’t pinpoint where I wanted it. This could be a limitation of the program or something I didn’t explain exactly what I wanted.

Nonetheless, I tweaked the output of the code myself to achieve the desired effect.

Voila, I now have a metabox in my dashboard that shows a table of old posts that I need to go back and update.

A custom WordPress plugin built with AI support.

Think of the results as advice

Currently, ChatGPT is a free research tool. There’s no substitute for a live developer unless you’re prepared to do a lot of the work yourself.

For now, it’s best to think of it as advice to see the results you get. how something can be done

For example, you can request a basic code snippet and get an “example” of how you can achieve the desired result.

However, if you want something more specific, customized, and unique, you may need to continue iterating new code independently or hiring a developer to complete the project.

delay expected

ChatGPT is now a very popular tool that is free to the public. As such, it tends to drop quite often throughout the day due to high trading volumes. So even if you get used to this handy code dispensary, you may still need to do most of the work independently.

Source

More from author

Related posts

Latest posts

Dynamic List vs. Active List: A Comprehensive Comparison – Unveiling the Ultimate Winner!

Problem: Difficulty finding necessary controls in the domain overviewwithin the domain outline A variety of essential tools are waiting for you., streamlines the development...

5 Tips for Picking the Best Load Balancer

In today's rapidly changing and highly demanding digital environment, consumers expect web applications to be fast and reliable. According to Google Search Advocate...

Want to stay up to date with the latest news?

We would love to hear from you! Please fill in your details and we will stay in touch. It's that simple!