[{"data":1,"prerenderedAt":295,"buildId":296},["ShallowReactive",2],{"page-\u002Fbuild\u002Fvibe-coding-for-beginners":3},{"id":4,"title":5,"body":6,"description":278,"extension":279,"how_to_steps":280,"hub":256,"meta":281,"navigation":282,"path":283,"primary_keyword":284,"published_at":285,"schema_types":286,"seo":290,"status":291,"stem":292,"updated_at":280,"wave":293,"__hash__":294},"pages\u002Fbuild\u002Fvibe-coding-for-beginners.md","Vibe Coding for Beginners: Start Here (2026)",{"type":7,"value":8,"toc":258},"minimark",[9,13,18,27,30,33,37,42,62,72,76,94,112,116,119,122,126,129,132,136,139,142,146,149,152,156,163,169,172,176,233,237,240,244,247,251],[10,11,12],"p",{},"Vibe coding for beginners starts with a small page you can open yourself: ask AI to draft it, read enough of the code to find the parts you care about, and test each change in your browser.\nA library reading list or a page of club hours is enough for your first week.\nBy the end, you should be able to change something without asking the AI to rebuild the page around it.",[14,15,17],"h2",{"id":16},"what-vibe-coding-asks-of-you","What vibe coding asks of you",[10,19,20,21,26],{},"In this workflow you describe what you want in ordinary language and use AI to propose the code.\nYour job is to decide what the page should do, give the tool the facts, and check that the result does what you asked.\nIf you want a longer explanation of the term, start with ",[22,23,25],"a",{"href":24},"\u002Fbuild\u002Fwhat-is-vibe-coding","what vibe coding is",".",[10,28,29],{},"Try writing a goal that you could give to someone who has never seen the project: \"A reader can find the title of our next book and the date we meet.\"\nThat gives you a way to judge the result.\n\"Make a cool book club site\" leaves the tool to guess whether you need a calendar, a shop, or a list of members.\nBegin with details you could put on a noticeboard and leave accounts and signups for a later project.",[10,31,32],{},"If the AI puts the meeting date in a bright badge with no explanation, add a heading such as \"Next meeting.\"\nThat gives the date context even if the page has no styling.",[14,34,36],{"id":35},"the-five-things-to-learn-first","The five things to learn first",[38,39,41],"h3",{"id":40},"_1-read-a-tag-and-an-attribute","1. Read a tag and an attribute",[10,43,44,45,49,50,53,54,57,58,61],{},"In ",[46,47,48],"code",{},"\u003Cp>Bring your copy.\u003C\u002Fp>",", the opening and closing tags mark a paragraph.\nThe slash in ",[46,51,52],{},"\u003C\u002Fp>"," tells you where it ends.\nIn ",[46,55,56],{},"\u003Ca href=\"https:\u002F\u002Fexample.com\u002F\">Example site\u003C\u002Fa>",", the ",[46,59,60],{},"href"," attribute gives the link its destination, and the words between the tags are what you can click.\nStart by finding those two parts every time you see a link: the address and the words the reader sees.\nChanging the words won't change where the link goes.",[10,63,64,65,68,69,71],{},"You don't need to learn every tag at once.\nFind a main heading (",[46,66,67],{},"h1","), a section heading (",[46,70,14],{},"), and a paragraph in your first page.\nFor a tag you don't recognize, ask what it does and find the part it controls in the browser.",[38,73,75],{"id":74},"_2-know-which-file-you-are-looking-at","2. Know which file you are looking at",[10,77,78,79,82,83,85,86,89,90,93],{},"A plain website can begin with a single file named ",[46,80,81],{},"index.html",".\nOpen the file in an editor to work on the source, or open it in a browser to see what a visitor reads.\nThe browser displays the saved version, so save the file before you reload the tab.\nIf there are two copies of ",[46,84,81],{},", look at the address bar to see which folder the browser opened.\nIf the tab shows your HTML tags as text, check the full filename in your file manager.\nSome editors will save ",[46,87,88],{},"index.html.txt"," unless you tell them to keep the ",[46,91,92],{},".html"," ending.",[10,95,96,97,100,101,103,104,107,108,111],{},"If you move the appearance rules to ",[46,98,99],{},"styles.css"," and keep it beside ",[46,102,81],{},", the HTML can load it with ",[46,105,106],{},"\u003Clink rel=\"stylesheet\" href=\"styles.css\">"," in the ",[46,109,110],{},"head",".\nCompare the spelling and extension if the words are there and the colors are missing.",[38,113,115],{"id":114},"_3-separate-what-the-page-says-from-how-it-looks-and-works","3. Separate what the page says from how it looks and works",[10,117,118],{},"HTML gives your page structure: it identifies the heading and says which items belong to the same list.\nCSS changes how those pieces look, such as their size or the space around them.\nJavaScript adds behavior when you need it, such as filtering a list as someone types.\nA link already navigates by itself, so you can skip JavaScript when all you want is for a click to open another page.",[10,120,121],{},"Try naming the type of change before you prompt.\n\"Change the meeting date\" is an edit to the text in the HTML.\n\"Make the meeting date fit on a narrow screen\" may call for a change to CSS, especially if there's a fixed width.\nWhen the title, the layout, and the behavior change together, you have a harder time seeing which change fixed your problem.",[38,123,125],{"id":124},"_4-find-what-the-browser-built","4. Find what the browser built",[10,127,128],{},"Right-click a heading and choose Inspect to open the browser's developer tools at that element.\nThe panel shows a tree with the heading inside a larger section or container.\nClick the element above it in the tree and watch what part of the page the browser outlines.\nIf that container is wider than the window, look at the style rules for it before assuming the text is the problem.",[10,130,131],{},"If your browser lets you edit text or styles in the inspector, try a small edit and reload.\nThe saved version returns, because the inspector didn't change your file.\nMake the change in your editor if you want to keep it.",[38,133,135],{"id":134},"_5-test-a-change-with-a-before-and-after","5. Test a change with a before and after",[10,137,138],{},"Pick a visible edit first, such as changing \"Spring reading\" to \"May reading.\"\nPredict what should change, save the file, and reload to check the result.\nIf the browser now shows the new words where you expected, you know you're editing the right file and can repeat that process with a link or style.",[10,140,141],{},"For a link, test the result as a visitor would.\nUse Tab to reach it, make sure you can tell it has focus, then press Enter and check the destination.\nWhen you describe a problem to the AI, give it what you expected and what actually happened.\n\"The link still opens April's list after I changed its label to May\" gives it something specific to inspect.",[14,143,145],{"id":144},"beginner-friendly-tools","Beginner-friendly tools",[10,147,148],{},"A browser, a plain text editor, and a chat tool are enough to start.\nSyntax coloring, which displays tags and text in different colors, can make an opening tag easier to find.\nLook for an editor that shows file names clearly and saves without adding formatting.",[10,150,151],{},"An AI chat tool lets you see the proposed code before you decide where it goes.\nA file-editing agent can work directly in your project folder, which is useful once you know which files it should touch.\nLook for a way to preview changes and decline a command, and keep the agent in a dedicated practice folder.\nIf your tool only gives you a preview, pick one that lets you save and edit the actual HTML.",[14,153,155],{"id":154},"habits-that-prevent-disasters","Habits that prevent disasters",[10,157,158,159,162],{},"Keep a copy of the last version that worked outside the folder the AI can edit.\nGive the copy a date or a name you can recognize, such as ",[46,160,161],{},"reading-list-before-styles",".\nOpen the copied file once to make sure it works before starting the next edit.\nIf a change goes wrong, return to that copy instead of asking the tool to guess what the original file looked like.",[10,164,165,166,168],{},"Give the AI one job at a time and say what to keep.\nTry \"In ",[46,167,81],{},", change only the meeting date under Next meeting and show me the changed line.\"\nIf it returns a whole new site, ask for a smaller change or edit the line yourself.\nTest the new date and glance at the neighboring text so you catch unrelated edits before you build on them.",[10,170,171],{},"Keep real member details out of prompts and public files.\nLeave passwords and access keys out too.\nA practice page can use a made-up reading schedule and doesn't need a phone number, an address list, or an analytics account.\nBefore you share a file, open it in the editor as well as the browser.\nComments and values that aren't shown on the page can still be read by someone who has the file.\nIf a project needs to collect information or take payments, get help reviewing how it handles that data before you let anyone use it.",[14,173,175],{"id":174},"your-first-week-planned","Your first week, planned",[177,178,179,190,196,209,215,221,227],"ol",{},[180,181,182,186,187,189],"li",{},[183,184,185],"strong",{},"Day 1:"," Write the words for a page with a title, a next meeting date, and a short reading list.\nAsk AI for one ",[46,188,81],{}," file with headings and a list, then open it in a browser.",[180,191,192,195],{},[183,193,194],{},"Day 2:"," Find the heading, list, and tab title in the editor.\nChange the tab title and reload to check that the page heading stays the same.",[180,197,198,201,202,204,205,208],{},[183,199,200],{},"Day 3:"," Add a link from the introduction to the reading list on the same page.\nRead the ",[46,203,60],{}," and the matching ",[46,206,207],{},"id"," aloud, then reach the link with Tab and follow it with Enter.",[180,210,211,214],{},[183,212,213],{},"Day 4:"," Back up the page and change one CSS rule for the space around the list.\nMake the window narrow and check that the text still wraps within it.",[180,216,217,220],{},[183,218,219],{},"Day 5:"," Inspect the list and see which part of the tree each item belongs to.\nChange one book title in the editor and check that you didn't remove the tags around it.",[180,222,223,226],{},[183,224,225],{},"Day 6:"," Ask someone else to open the local file with you and find the next meeting date.\nIf they look in the wrong place, revise the wording or move the date and watch them try again.",[180,228,229,232],{},[183,230,231],{},"Day 7:"," Open the finished file from a fresh tab and repeat yesterday's task without looking at the code.\nKeep it local or share only a copy that contains information you're comfortable making public.",[38,234,236],{"id":235},"do-i-need-to-know-how-to-code-before-i-start","Do I need to know how to code before I start?",[10,238,239],{},"You can start with a plain text editor and a browser, then learn basic HTML as you check the result.\nRead the lines around the part you're changing and save a working copy before experimenting.\nYou can leave JavaScript for a project that needs behavior the browser doesn't already supply.",[38,241,243],{"id":242},"what-if-the-ai-asks-me-to-install-a-tool-or-run-a-command","What if the AI asks me to install a tool or run a command?",[10,245,246],{},"For this one-file exercise, stop and ask for plain HTML you can open directly.\nFor a later project that really needs a command, ask what it reads, writes, or installs, then check those details before deciding whether to run it.\nA command you don't understand can wait.",[38,248,250],{"id":249},"how-do-i-know-when-im-ready-for-a-bigger-project","How do I know when I'm ready for a bigger project?",[10,252,253,254,26],{},"Try opening your page, finding the source of a heading, changing it, and checking the result without regenerating the whole file.\nIf you can also go back to a working copy, try a second page that links to the first one.\nPick your next exercise from the ",[22,255,257],{"href":256},"\u002Fbuild","Build with AI hub",{"title":259,"searchDepth":260,"depth":260,"links":261},"",2,[262,263,271,272,273],{"id":16,"depth":260,"text":17},{"id":35,"depth":260,"text":36,"children":264},[265,267,268,269,270],{"id":40,"depth":266,"text":41},3,{"id":74,"depth":266,"text":75},{"id":114,"depth":266,"text":115},{"id":124,"depth":266,"text":125},{"id":134,"depth":266,"text":135},{"id":144,"depth":260,"text":145},{"id":154,"depth":260,"text":155},{"id":174,"depth":260,"text":175,"children":274},[275,276,277],{"id":235,"depth":266,"text":236},{"id":242,"depth":266,"text":243},{"id":249,"depth":266,"text":250},"Everything a beginner needs to start vibe coding: what to learn first, which tools help, and the habits that keep you out of trouble.","md",null,{},true,"\u002Fbuild\u002Fvibe-coding-for-beginners","vibe coding for beginners","2026-12-01T05:35:41Z",[287,288,289],"Article","BreadcrumbList","FAQPage",{"title":5,"description":278},"draft","build\u002Fvibe-coding-for-beginners","1","nwf8_tWv2FKvvdZNb4Ac613pQm-rdofr3fhr1OGBNUQ",1796185435707,"a1d53563-3a78-4678-8315-e5bd6a5bd80c"]