Blog

August 14, 2023

Update 18. 8:29am. Working on a contact form. The fields are via HTML and then connected to PHP then to the database. It's not as straightforward as it seems. I will do further prompting.

Prompt

How can I build a website sign up and inquiry form that can be sent to my email? I have a MySQL database hosted on hostinger


Prompt

I have a CSS code that places text within a box. change the color of the box to dark grey and the text to white


Update 19. 11:27am. Eventually one would realize in the course of using generative AI that it remains limited. Agreeably, it will be a function of how well your prompt is to get the answer you need. But in many cases, doing a Google Search is more effective. But I reserve Googling as a last resort as my aim is to build this website purely with the help of generative AI.

I asked Bard if I needed to create a .htaccess file if I don't have one. Click on the prompt below for the answer.

Prompt

Should I create a .htaccess file if I don't have one for my website?


Update 20. 12:03pm. Added an AI generated image on the home page. Initially had issues with the alignment of the caption with the image (caption won't center on page). I tried encapsulating the whole figure class including image and caption rather than having separate classes.

Prompt

Create a caption for an image in html


Update 21. 3:57pm. I am still working on the contact form. Had success in connecting the php to the database upon testing but I can't manage still to import the values submitted into the database. MySQL shows that there are entries when I press submit, but the values are not showing.

During the course of this update, I remember creating a sitemap. I prompt below unfortunately did not yield any pertinent result.

Prompt

How to generate a sitemap XML for my website


Update 22. 9:23pm. Made substantial changes to the FAQ page where instead of showing the answers right on the page, each prompt redirects the user to Google Bard.