<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Thuan</title>
    <description>The latest articles on DEV Community by Thuan (@thuansb).</description>
    <link>https://dev.to/thuansb</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F114622%2F560eebd3-dafd-4890-af73-ec452a3d9913.jpeg</url>
      <title>DEV Community: Thuan</title>
      <link>https://dev.to/thuansb</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/thuansb"/>
    <language>en</language>
    <item>
      <title>Building a Landing Page in 15 minutes with AI Chat bot</title>
      <dc:creator>Thuan</dc:creator>
      <pubDate>Wed, 07 Aug 2024 13:01:00 +0000</pubDate>
      <link>https://dev.to/thuansb/building-a-landing-page-in-15-minutes-with-ai-chat-bot-2dmp</link>
      <guid>https://dev.to/thuansb/building-a-landing-page-in-15-minutes-with-ai-chat-bot-2dmp</guid>
      <description>&lt;p&gt;I recently created a landing page for my new Chrome extension, &lt;a href="https://snooit.kikitop.com/" rel="noopener noreferrer"&gt;SnooIt&lt;/a&gt;, in just &lt;strong&gt;15 minutes using Claude 3.5 Sonnet&lt;/strong&gt;. For comparison, a similar task with another app, &lt;a href="https://asktube.kikitop.com/" rel="noopener noreferrer"&gt;AskTube&lt;/a&gt;, took me &lt;strong&gt;a whole day&lt;/strong&gt;. Here's a detailed breakdown of the process, along with tips and lessons learned.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr66ib9noja65vssutlsp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr66ib9noja65vssutlsp.png" alt="SnooIt" width="800" height="610"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Process
&lt;/h2&gt;

&lt;p&gt;Since I was just testing the idea, my goal was to create a &lt;strong&gt;simple and quick landing page&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Maintain a Summary for Context
&lt;/h3&gt;

&lt;p&gt;Throughout the development of SnooIt, I used &lt;strong&gt;AI chatbots like Claude Sonet 3.5 and GPT-4&lt;/strong&gt;. To provide context, I kept an &lt;strong&gt;updated summary of the app&lt;/strong&gt; as new requirements emerged.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Tip:&lt;/strong&gt; Have an LLM chatbot summarize your conversation and store the summary. This way, you can easily provide context for future prompts.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  2. Initial Prompt
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
Context: 
## SnooIt App
I'm creating a Chrome extension called SnooIt,
which allows users to set reminders for web pages.
...
...
### Features
...
### Brand Style
Primary colors
#f97316 (orange)

--- 

Please help me create a landing page using Tailwind CSS.

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The initial result was &lt;strong&gt;ugly&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffanowqjnbkynnb7c2clk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffanowqjnbkynnb7c2clk.png" alt="SnooIt Landing Page - First Prompt" width="800" height="688"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Refinement Prompt
&lt;/h3&gt;

&lt;p&gt;I requested some changes after the initial attempt:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
- The colors were not appealing, so I asked
 to keep only the primary brand color and define
 additional colors.

- Added placeholders for an icon (128x128) 
and a screenshot (1280x800).

- Enhanced the call-to-action button (download button)
with gradient colors for a more attractive look.

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwxuh9x7gy4sqsml3v5b2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwxuh9x7gy4sqsml3v5b2.png" alt="SnooIt Landing Page - Second Prompt" width="800" height="795"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Adding images&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgn152j88mw5yz3sjie86.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgn152j88mw5yz3sjie86.png" alt="SnooIt Landing Page - Adding Images" width="800" height="812"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The &lt;strong&gt;code was simple&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4zd1i9kihsryvktpuk0r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4zd1i9kihsryvktpuk0r.png" alt="Generated Code" width="800" height="549"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Privacy Page
&lt;/h3&gt;

&lt;p&gt;The prompt:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
Add a new page for displaying privacy policy content (HTML). 
Just put some example HTML for the content.

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6ctp80fozgj5hby4wi3b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6ctp80fozgj5hby4wi3b.png" alt="Privacy Page" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Deployment
&lt;/h3&gt;

&lt;p&gt;Deployment was straightforward. I used &lt;strong&gt;Cloudflare Pages, connected it to GitHub, and deployed the site in just 5 minutes&lt;/strong&gt;. The final landing page is available at &lt;a href="https://snooit.kikitop.com/" rel="noopener noreferrer"&gt;https://snooit.kikitop.com/&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Choose Popular &amp;amp; Simple Technologies:&lt;/strong&gt; LLMs are well-trained on widely-used technologies. Using &lt;strong&gt;Tailwind CSS and plain HTML&lt;/strong&gt; made the setup quick and easy. I chose the &lt;strong&gt;CDN version of Tailwind CSS&lt;/strong&gt; for simplicity.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Be Specific About Images:&lt;/strong&gt; I specified the icon (128x128) and screenshot (800x600). The AI generated &lt;strong&gt;suitable placeholders&lt;/strong&gt;, which I replaced with actual URLs later.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Leverage AI:&lt;/strong&gt; The time spent doesn't always correlate with the results. Using AI tools efficiently can significantly speed up the development process.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;The SnooIt app went from &lt;strong&gt;idea to release in just 2 days&lt;/strong&gt;. This included everything from brainstorming, designing, implementing the app, choosing a name, creating the logo and images, to deploying and publishing the final product.&lt;/p&gt;

&lt;p&gt;If you found this helpful, please like and share this post. I’ll keep sharing how I use AI to achieve these results!&lt;/p&gt;

&lt;p&gt;Check out the landing page code: &lt;a href="https://github.com/thuansb/SnooIt" rel="noopener noreferrer"&gt;GitHub - thuansb/SnooIt&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>chatgpt</category>
      <category>snooit</category>
      <category>asktube</category>
    </item>
  </channel>
</rss>
