Automatically translated.View original post

Use ai to write code..

2025/9/10 Edited to

... Read moreถ้าคุณกำลัง “เรียนเขียนโปรแกรม AI” หรืออยากเริ่ม “สอนเขียน AI” ให้ตัวเองแบบค่อยเป็นค่อยไป วิธีที่เราใช้แล้วเวิร์กคือมอง AI เป็นผู้ช่วยติว + ผู้ช่วยร่างโค้ด ไม่ใช่ให้ทำแทนทั้งหมด เพราะสุดท้ายเรายังต้องอ่านโค้ดออกและแก้ได้เอง 1) เริ่มจากบอกเป้าหมายให้ชัด (Prompt ให้ดี) เวลาจะทำหน้าเว็บบทความ เราจะบอก AI แบบละเอียด เช่น “ช่วยสร้างโครงสร้าง HTML สำหรับหน้าเว็บบทความเสียง มีหัวเรื่อง คำอธิบาย ปุ่มเล่น/หยุด ส่วนรายการบทความ (เรื่องราวของจักรวาลที่น่าสนใจ, เคล็ดลับการพัฒนาตัวเอง) และส่วนท้ายเว็บใส่ลิขสิทธิ์ © 2025” ยิ่งระบุองค์ประกอบชัด AI จะจัดโครงสร้างให้ตรงมากขึ้น และเราจะได้ฝึกคิดแบบนักพัฒนา (requirements) ไปในตัว 2) ให้ AI ร่าง HTML ก่อน แล้วค่อยให้ช่วยตรวจความถูกต้อง สิ่งที่เราชอบทำคือขอ “โครงสร้าง HTML สำหรับบทความเสียง” ก่อน โดยกำชับให้ใช้แท็ก semantic เช่น header, main, article, section, footer จากนั้นให้ AI อธิบายว่าแต่ละส่วนทำหน้าที่อะไร เพื่อให้เราเรียนรู้ไปด้วย ไม่ใช่แค่ก็อปแล้ววาง 3) ค่อยต่อด้วย CSS แบบเป็นขั้น หลังได้โครงแล้วค่อยขอ “โค้ด CSS สำหรับตกแต่งหน้าเว็บ” โดยกำหนดสไตล์ที่ต้องการ เช่น โทนเรียบอ่านง่าย, ฟอนต์ไทย, ระยะห่าง, การ์ดรายการบทความ, ปุ่มเล่นเสียงเด่น ๆ แล้วให้ AI ทำเป็น 2 เวอร์ชัน: (1) แบบง่ายสำหรับมือใหม่ (2) แบบเพิ่มลูกเล่น เช่น hover, responsive 4) ใช้ AI เป็นโค้ชดีบัก (Debug coach) เวลาโค้ดพัง อย่าโยนไฟล์ทั้งกองแล้วถามว่า “ทำไมไม่ทำงาน” ลองส่งเฉพาะส่วนที่มีปัญหา พร้อมบอกอาการ เช่น “ปุ่มเล่นเสียงกดแล้วไม่เปลี่ยนสถานะ” หรือ “CSS ไม่ถูกโหลด” แล้วให้ AI ไล่เช็กเป็นลำดับ: ลิงก์ไฟล์ถูกไหม, class ตรงกันไหม, มี typo ไหม วิธีนี้ช่วยให้เราเข้าใจสาเหตุจริง ๆ 5) เทคนิคที่ช่วยให้เรียนไวขึ้น - ขอให้ AI สรุป “สิ่งที่ควรจำ” หลังจบบท เช่น โครงสร้าง HTML พื้นฐาน, วิธีจัด layout ด้วย flex/grid - ขอแบบฝึกหัดเพิ่ม: ให้ทำหน้า “บทความเสียงเพื่อการเรียนรู้” อีก 1 หน้าโดยเปลี่ยนหัวข้อและสีธีม - ขอ checklist ก่อนเผยแพร่: ความเร็วโหลด, responsive มือถือ, ความอ่านง่าย สุดท้าย ถ้าเป้าหมายคุณคือเรียนเขียนโปรแกรมด้วย AI ให้ได้ผล แนะนำให้ “อ่านโค้ดทีละบรรทัด” และลองแก้เองวันละนิด แล้วค่อยให้ AI ตรวจ/แนะนำ เราจะเก่งขึ้นเร็วกว่าใช้ AI ก็อปอย่างเดียวมาก ๆ

Related posts

Fun Lists to Write in Your Journal Today🫶🏻
I love writing lists in my journal. Journaling is so important for your mental health. I find it easier than writing paragraphs! Here are five examples you can use. Come back for more soon! ✨ #journalingideas #makinglists #journalprompts #creativewriting
Meg 💓

Meg 💓

5825 likes

How to Write Your First Code: Online & Offline
#codingforbeginners #learntocode #codeeditors #studymotivations
Aysha

Aysha

113 likes

A screenshot of the ChatGPT interface with the title "HOW TO USE ChatGPT IN COLLEGE" overlaid. It shows prompt suggestions like "Create image," "Summarize text," and "Code."
A screenshot showing a ChatGPT prompt asking for an explanation of the inclusion-exclusion principle. Text below highlights ChatGPT's ability to reformat existing material into easily digestible explanations for college students.
A screenshot displaying a ChatGPT prompt requesting a study guide for a combinatorics midterm exam. The accompanying text explains ChatGPT's usefulness in organizing study materials for college students.
💻 HOW TO USE CHATGPT IN COLLEGE
hey guys! so recently, i made a post about how to study math and i had a section about using chatgpt/ai tools. but i realized that i had so many ai-specific tips that i should try to put them all in one post for you guys! as a math/cs major, i typically use chatgpt for math and code related thi
liz

liz

383 likes

4 tips I use to speed up my teamwork 🙌
#productivityhacks #productivitytips #productivity #adhdhacks #adhdtips
Work Cheat Code

Work Cheat Code

7 likes

Use this AI tool to land your next role
Today I’m using YOU.com to assist me land my next role. You can use this website to prep for an interview , resume help or even use it to help you resign from a role. #onlinejobs #techresume
✨Wfhmuva✨

✨Wfhmuva✨

30 likes

A stylized image of a woman holding a laptop, with text '5 Ways To Use AI to Launch Your Business From Scratch'. A 'Swipe' graphic is in the bottom right, indicating more content. The image introduces AI applications for starting a business.
A stylized image of a woman holding a laptop, with text 'Use AI to Generate Digital Products'. A 'Swipe' graphic is in the bottom right. This image highlights one method of leveraging AI for business creation.
A stylized image of a woman holding a laptop, with text 'Use AI to Write Sales Copy & Emails'. A 'Swipe' graphic is in the bottom right. This image illustrates another application of AI for business communication.
5 Ways to Use AI to Start a Digital Business
Starting from scratch? AI can help you launch smarter, faster, and with less stress. These 5 beginner-friendly AI shortcuts will save you time AND get you selling sooner. The best part? Tools like these are included in Digital Boss Code. Ready to start your digital business the smart way?
the_royalblueprint👑

the_royalblueprint👑

51 likes

A stylish woman in a black dress and white coat stands in a luxurious room with a city view, surrounded by Chanel shopping bags and a clothing rack. The image is titled "High-Value Content Ideas."
This image illustrates the "Prompt Battle" (A/B Testing Format), comparing a generic "Bad Prompt" with a detailed, effective "Good Prompt" for AI content generation, emphasizing specificity for better results.
Titled "The 'Role-Play' Series (Prompt Anatomy)," this image explains how to create powerful AI prompts by focusing on the role, constraints, and desired output format.
Stop letting AI write garbage!Here's how to fix it
To create compelling content, you need to show the transformation and deliver specific, usable value. Here is a comprehensive content strategy structured around your unique selling proposition (USP). Save✅ -like👍 - comment ! 🖤 Let me know what you’re currently struggling in or working at in th
THE PROMPT ARCHITECT

THE PROMPT ARCHITECT

23 likes

Use AI to make money online 💴
1. Offer AI-Powered Freelance Services - Use AI tools to enhance productivity and offer services like content creation, graphic design, video editing, or transcription. - Examples: - Use ChatGPT for blog writing or marketing copy. - Utilize Canva's AI features for graphic
vedha | career tips (tech) 👩‍

vedha | career tips (tech) 👩‍

40 likes

ai study tools i use to write essays ✍️📄✨
ai study tools i use to write essays ✍️📄✨ hello friends! here are some of my favorite ai tools that i use to write essays. NONE of these resources are intended to cheat, but rather to brainstorm and guide you along when you get stuck :) 1. gitmind: i’ve tried a lot of mind mapping tools recen
lia 💗

lia 💗

29 likes

A woman walks in front of a grand cathedral, with the title 'How to Use AI to Succeed in Your Tech Career' overlaid.
A scenic view of a coastal town with white buildings and blue sea, featuring text on automating repetitive tasks with AI tools like GitHub Copilot and Zapier.
A coastal view with white buildings and a balcony, displaying text about upskilling with AI-powered platforms like Coursera, Udemy, HackerRank, and LeetCode.
Use AI to Succeed in Your Tech Career
1. Automate Repetitive Tasks - Why It Matters: Free up time for creative problem-solving and higher-value work. - How to Do It: - Use GitHub Copilot or Tabnine to auto-complete code and suggest improvements while coding. - Automate workflows with tools like Zapier or Make (formerly Integromat
vedha | career tips (tech) 👩‍

vedha | career tips (tech) 👩‍

31 likes

The 3-Step System I Use To Write A+ Essays 🧠✨
Writing classes can be tough, especially when you’re staring at a blank page with a deadline creeping up. But once I started doing a few key things, writing became a lot more manageable, and honestly, less stressful. Start with a clear thesis statement. This is the foundation of your entire pape
CompSkyy

CompSkyy

22 likes

𝒯𝑜𝑜𝓁𝓈 𝐼 𝒰𝓈𝑒 𝓉𝑜 𝒲𝓇𝒾𝓉𝑒 𝑀𝓎 𝐹𝒶𝓃𝓉𝒶𝓈𝓎 𝒲𝐼𝒫
As a book editor, I have a lot of editing tools available to me, but I didn’t have much that would help me draft. Of course, I had to fix that if I was gonna write fantasy. ✨scroll to view my writing tools! A lot of the writing craft books shown are recommendations I give to clients all the t
Ashley Earley

Ashley Earley

139 likes

How to Use the Write to Text Feature in Good Notes
One of the best features in Good Notes is the write to text feature, where you can write in your own handwriting and it will automatically be converted into any font of your choice. This is a setting that is automatically set up in Good Notes, however you have to ensure that the “scribble” function
Ashley✨

Ashley✨

358 likes

CHAT GPT CHEATCODE PROMPTS
How to learn Chat GPT prompts for content. Save and share with others. #chatgpt #chatgptprompt
MommyBossLife

MommyBossLife

9553 likes

4 management tips I use to avoid burnout 🙌
#productivityhacks #productivitytips #productivity #adhdhacks #adhdtips
Work Cheat Code

Work Cheat Code

38 likes

Apps I use in college✨🤍
These are some of the apps I use on a day to day basis:) let me know if you want more! #college #daytoday #collegelife #learning #collegestudent #collegelifestyle #collegegirl #collegecontentcreator #collegeaesthetic #collegetips
Skyler🌸🤍✨🥥

Skyler🌸🤍✨🥥

653 likes

The first slide introduces a summer series titled "build with your kid - ep 01," encouraging viewers to save it for summer break to learn how to build an app with their child in one afternoon.
This slide, titled "the promise," states that an app can be built with a child in one afternoon, focusing on an idea they wish existed, without needing to code, just the right prompts.
The third slide outlines "the four steps" framework for building an app: 01 Idea (what they wish existed), 02 Validate (interrogate it), 03 Build (the ugly version first), and 04 Refine (the kid is the user-tester).
Build an App With Your Kid This Summer | The 4-Step Framework (No Code)
🪺 Save this for summer break — how to build an app with your kid in one afternoon. No code, no course, no $497 program. Just an afternoon and the right prompts. Who this is for: — Parents looking for screen time that isn’t passive — Homeschoolers building real-world skills with their kids — Tea
Unexpected nest

Unexpected nest

2 likes

Ditch PDFs. Build a No-code Web App 📱
While everyone’s asking AI to write captions and create content plans, a group of creators are building TOOLS that solve real problems. Calculators. Workflows. Dashboards. Generators. Mini-web apps that people bookmark and come back to daily. No coding. No tech degree. Just understanding
Bria | Social Media Marketing

Bria | Social Media Marketing

7 likes

How to Use Chat GPT To Get Hired
Chat GPT can be a very powerful job hunting tool! I like to use it to help myself prepare job applications and interviews. You can ask Chat GPT to write you: 1. A cover letter related to the job your applying to 2. Questions that you should be prepared to answer during the interview 3.
Kaitlin Graham

Kaitlin Graham

1090 likes

Cheat code for a better life✨
it's time to shine✨✨ #cheatcode #code #cheatday #fyplemon8 #fypシ
Jessie Rodrigue

Jessie Rodrigue

5 likes

A dark, ornate spellbook with a full moon on its cover is illuminated by two lit candles. The title "HOW TO WRITE Spells" is prominently displayed, suggesting a guide for witchcraft. The image includes "Lemon8" and "@wickedcrystalcoven".
How to Write Spells
How to Write a Spell: a) identify the type of spell you wish to cast b) write your intention - be specific. Your wording is vital to a DESIRED outcome. For example: money spell, if you are vague, sometimes this can result in wayyyy more overtime. If you prefer that OT, it’s perfectly fine. c)
Sophie

Sophie

1241 likes

A desert landscape at sunset with mountains and cacti, overlaid with a white rectangle containing the title "Chat GPT Use Cases" in large coral text. The bottom left corner shows "lemon8 @peytonmulder0."
A screenshot of a ChatGPT conversation titled "Write me an email...". The user asks for an email to a VP of finance, and ChatGPT drafts a professional email requesting a presentation review.
A screenshot of a ChatGPT conversation titled "Give me topic ideas for a writing piece...". The user asks for AI newsletter sub-topic ideas, and ChatGPT provides a numbered list of 10 suggestions.
CHAT GPT USE CASES
Chat GPT has changed the way I do everything. Wether is work, ideas, or personal hobbies, it always helps me out. People don't realize what all you can use it for! Writing emails that sounded professional used to be a headache and take tons of time, but now it's a smooth process with ChatGP
Peyton’s Place

Peyton’s Place

111 likes

A person in cycling gear and helmet rides a bike on a tree-lined road, with text overlay about manager hacks to stop forgetting things, from someone who used to drop balls daily.
A potted plant and books on a windowsill illustrate the tip of placing a random object, like a lemon, on a laptop to remember tasks, as visual anomalies grab attention.
A hand rests on a closed laptop, accompanying the tip to write notes at 5:55 PM for unfinished tasks, detailing the next step to make starting easier the next day.
4 tips I use to remember all tasks as a manager 🙌
#productivityhacks #productivitytips #productivity #adhdhacks #adhdtips
Work Cheat Code

Work Cheat Code

1 like

5 Ways Students Can Use AI Chatbots
Ai isn't always encouraged for students, but there are ways we can teach kids to properly use it to AID in their learning. After all, it's here to stay and they will need to know how to tap into it. Here are 5 ways students can use AI to support their learning in school: 1. Quick help
techgirljen

techgirljen

43 likes

The first slide introduces the topic: 'I'm tired of gatekeeping. The workflow move that saved me ~100 hours.' It features a nest with two blue eggs at the top and 'SAVE THIS' at the bottom.
This slide highlights the problem: 'There is a way to stop re-explaining yourself to AI every single session.' It mentions re-typing who you are, what you're building, and your voice.
The third slide defines a 'skill' as 'a note the AI reads automatically.' It explains that skills are written once, loaded when relevant, and act like an assistant that remembers, free in Claude.
Claude Skills Tutorial | The Workflow Move That Saved Me 100+ Hours (no code)
🪺 I’m tired of gatekeeping. The workflow move that saved me ~100 hours of re-typing context to AI is something almost no one teaches beginners. Here’s the full breakdown. Six months into building with AI, I realized I was re-typing the same paragraphs every single session. Who I am. What I’m build
Unexpected nest

Unexpected nest

19 likes

Tools I’d Use If I Were Learning to Code Again
#CodingTools #LearnToCode #BeginnerCoder #vscode #github If I could go back and start learning to code from scratch, these are the tools I’d reach for first. They saved me countless hours and gave me a huge boost in confidence. Whether you’re just starting or restarting — these t
Aysha

Aysha

200 likes

4 tips I use to rest calm my brain after work 🙌
#productivityhacks #productivitytips #productivity #adhdhacks #adhdtips
Work Cheat Code

Work Cheat Code

3 likes

4 Tips I use to make morning more productive 🙌
#productivityhacks #productivitytips #productivity #adhdhacks #adhdtips
Work Cheat Code

Work Cheat Code

5 likes

The image displays the title "AFFIRMATIONS MONEY CODE 5207418" over a background of US dollar bills. It features an icon of stacked coins with a dollar sign and text stating, "Here's a practical, step-by-step guide to using them effectively in 2026."
The image presents a list of money affirmations, including phrases like "Money flows to me easily and effortlessly" and "I am worthy of financial freedom." It instructs the reader to pick 3-5 affirmations that resonate most, all under the main title "AFFIRMATIONS MONEY CODE 5207418."
This image outlines a "Morning Power Routine" and a "Writing Method" for using the money code 5207418. It advises saying codes aloud with enthusiasm and writing affirmations 11 times daily for 21-33 days while visualizing money.
Money Code 💵 Affirmations
✨Money code affirmations (sometimes called money manifestation codes or prosperity affirmations) are powerful, present-tense statements designed to reprogram your subconscious mind around wealth, abundance, and financial flow. Think of them as “codes” that overwrite old scarcity programming (like “
Miss Liz

Miss Liz

712 likes

4 tips I use to become more productive
#productivityhacks #productivitytips #productivity #adhdhacks #adhdtips
Work Cheat Code

Work Cheat Code

3 likes

What website are we using to write? ✍🏻
Calling all writer girlies! What website are we using? I normally use Google Docs for sharing and collab purposes. I keep hearing there are better ones. Help!! 📖✍️ #writing #writingabook #writingadvice
Kurstyn🎀📖

Kurstyn🎀📖

361 likes

A person in a plaid shirt and jeans stands with their back to the camera, looking at framed cloud paintings. Overlay text introduces ADHD productivity hacks: "I've been working with ADHD for 5 years. Here are hacks I used to work more productively."
A person wearing a New York Yankees baseball cap is seen from behind against a blue sky. Overlay text describes tip 4: "Reward every small win. ADHD brains run on dopamine. So after every finished chunk, I give myself a mini reward - a stretch, snack, or song. It keeps me from burning out halfway through the day."
A laptop screen shows a video call with a participant icon, next to a notebook and pen. Overlay text describes tip 3: "'Body-double' your way into focus. Doing work around someone else (even on video mute) makes me weirdly productive. It's called body-doubling the gentle pressure keeps you accountable without stress."
4 producitvity tips I use for my ADHD 🙌
#adhdlifehacks #adhdhacks #adhdtips #productivitytips #productivitytools
Work Cheat Code

Work Cheat Code

23 likes

An image titled 'Bible Study BIBLE APPS!' displays seven app icons: The Chosen, Glorify, BibleProject, Bible, Enduring Word, Prayminder, and Blessed, suggesting helpful tools for spiritual growth.
This image highlights 'The Chosen' app for watching content and 'Deep Down The Round Table' for scripture study, with a sticker of men from the show.
The image emphasizes 'Daily Worship' and encourages growing a tree and keeping a streak, likely referring to features within the Glorify app, with a woman reading.
Bible Apps That I Use Daily!! 🤍📱
#lemon8 #youversionbibleapp #christianapps #biblechat #helpfulbible #bibleapp Hope these apps help you as much as they helped me! Also if you have any recommendations on apps drop them below! 🤍
🌊🤍•Annab•🤍🌊

🌊🤍•Annab•🤍🌊

428 likes

4 lazy tips I use to stay organized 😂
#productivityhacks #productivitytips #productivity #adhdhacks #adhdtips
Work Cheat Code

Work Cheat Code

225 likes

Weird tips I use to cope with work anxiety 🙌
#productivityhacks #productivitytips #productivity #adhdhacks #adhdtips
Work Cheat Code

Work Cheat Code

8 likes

See more