{"id":19,"date":"2026-09-24T20:19:38","date_gmt":"2026-09-24T20:19:38","guid":{"rendered":"https:\/\/nmi.cool\/ai\/?page_id=19"},"modified":"2026-09-28T05:08:10","modified_gmt":"2026-09-28T05:08:10","slug":"04-build-something","status":"publish","type":"page","link":"https:\/\/nmi.cool\/ai\/04-build-something\/","title":{"rendered":"04 Build something"},"content":{"rendered":"<div style=\"font-family:Arial,sans-serif;font-size:18px;line-height:1.8;color:#000000\"><p style=\"font-size:12px;letter-spacing:1.5px;color:#434343\"><strong>LESSON 04 \/ 25 MINUTES<\/strong><\/p><p>Okay, let\u2019s make the thing. You have a folder, a goal, and a short plan. Now we\u2019ll turn that plan into a first version you can actually use.<\/p><figure style=\"margin:32px 0\"><p style=\"font-size:12px;letter-spacing:1.4px;color:#7D12FF\"><strong>EXAMPLE PROJECT \u00b7 A WEBSITE YOU\u2019LL BUILD<\/strong><\/p><div style=\"border:1px solid #CCCCCC;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 12px 30px #00000012\"><div style=\"background:#eeeeee;border-bottom:1px solid #CCCCCC;padding:10px 14px;font-size:12px;color:#434343\"><span aria-hidden=\"true\">\u25cf \u25cf \u25cf<\/span> &nbsp; <span style=\"background:#fff;border-radius:5px;padding:5px 12px;display:inline-block\">nmi-codex-lab \/ index.html<\/span><\/div><div style=\"padding:26px\"><p style=\"font-size:11px;letter-spacing:1.5px;color:#434343;margin:0\">MY WEEK, UNSTUCK.<\/p><h3 style=\"font-family:Arial,sans-serif;font-size:28px;line-height:1.2;margin:12px 0 20px;color:#000\">What can you finish<br>in 30 minutes?<\/h3><div style=\"background:#7D12FF;color:#fff;padding:20px;border-radius:8px\"><p style=\"font-size:11px;letter-spacing:1px;margin:0\">START HERE<\/p><p style=\"font-size:19px;line-height:1.4;margin:8px 0\"><strong>Sketch three homepage ideas<\/strong><\/p><p style=\"font-size:13px;margin:0\">Due tomorrow \u00b7 25 minutes<\/p><\/div><p style=\"font-size:13px;color:#434343;margin:20px 0 8px\">YOUR TASKS<\/p><div style=\"font-size:15px;border-top:1px solid #ccc;padding:12px 0\">\u25cb &nbsp; Review lecture notes <span style=\"color:#434343\">\u00b7 20 min<\/span><\/div><div style=\"font-size:15px;border-top:1px solid #ccc;padding:12px 0\">\u25cb &nbsp; Draft project proposal <span style=\"color:#434343\">\u00b7 45 min<\/span><\/div><div style=\"font-size:15px;border-top:1px solid #ccc;padding:12px 0;color:#434343\">\u2713 &nbsp; <s>Choose a project topic<\/s><\/div><\/div><\/div><figcaption style=\"font-size:14px;color:#434343;margin-top:14px;line-height:1.6\"><strong>A sample layout, not a live app.<\/strong> This is the kind of website you\u2019ll make with Codex. It opens in your browser; Codex is where you ask for changes. Your version can look different.<\/figcaption><\/figure><h2 style=\"color:#7D12FF;font-family:Arial,sans-serif\">1. Give Codex the go-ahead<\/h2><p>Stay in the same task so Codex has the plan you just discussed. Copy the prompt below, adjust the name or audience if you want, and send it. The feature list is deliberately small enough to test today.<\/p><div style=\"background-color:#f6f0ff;border-left:4px solid #7D12FF;padding:22px;margin:28px 0\"><p style=\"font-family:Arial,sans-serif;font-size:13px;letter-spacing:1px;color:#7D12FF\"><strong>TRY THIS PROMPT<\/strong><\/p><p style=\"font-family:Arial,sans-serif;font-size:17px;line-height:1.7\">Build the first version of My Week, Unstuck using the plan we discussed. Create a single index.html file containing the HTML, CSS, and JavaScript. It must work when I open the file directly in a browser. Use no external libraries, downloads, accounts, APIs, or server. Let me add a task with a title, due date, and positive whole-number estimate in minutes. Show unfinished tasks by earliest due date. Let me mark a task complete and see completed tasks separately. Add an available-minutes filter that shows only unfinished tasks that fit. Recommend the earliest-due matching task, and clearly say when none fit. Use three made-up sample tasks labeled as examples. Include visible form labels, readable contrast, keyboard-friendly controls, and a layout that works on a narrow screen. Keep this first version in memory; saving between visits comes later. Don\u2019t publish it or change anything outside this folder. When finished, tell me what files you created, how to open the app, what you checked, and anything I still need to test.<\/p><\/div><h2 style=\"color:#7D12FF;font-family:Arial,sans-serif\">2. Watch what happens<\/h2><p>Codex may describe its steps, create a file, and report checks. Let it finish, but read the updates. If it asks a question, answer it. If it requests something outside this plan, ask why it needs it before agreeing.<\/p><p>If it starts setting up a large application or installing packages, steer it back: \u201cThis is a single-file beginner exercise. Please keep the app in index.html and make it open directly in my browser.\u201d<\/p><h2 style=\"color:#7D12FF;font-family:Arial,sans-serif\">3. Open your app in Codex\u2019s browser<\/h2><ol><li>When Codex finishes, read its reply and confirm it created <strong>index.html<\/strong> inside <strong>nmi-codex-lab<\/strong>. If it did not, ask Codex to finish that file before you continue.<\/li><li>In the same chat, ask: <strong>\u201cOpen the index.html in nmi-codex-lab in your built-in browser so I can try it.\u201d<\/strong> Codex can open your local page in a browser tab beside the chat.<\/li><li>If the browser panel is hidden, open it from the <strong>Browser<\/strong> control in the Codex toolbar. You can also press <strong>Command-Shift-B<\/strong> on Mac or <strong>Ctrl-Shift-B<\/strong> on Windows. Select the tab showing your planner.<\/li><li>Try the planner in that tab. After Codex changes <strong>index.html<\/strong>, select the browser tab and refresh it with the reload button, <strong>Command-R<\/strong> on Mac, or <strong>Ctrl-R<\/strong> on Windows.<\/li><\/ol><div style=\"background-color:#f6f0ff;border-left:4px solid #7D12FF;padding:22px;margin:28px 0\"><p style=\"font-family:Arial,sans-serif;font-size:13px;letter-spacing:1px;color:#7D12FF\"><strong>WHERE TO LOOK IN CODEX<\/strong><\/p><p><strong>Chat:<\/strong> ask Codex to open the page and make changes. <strong>Browser tab:<\/strong> click and test the page, then refresh after changes. <strong>index.html:<\/strong> the saved file in your project folder.<\/p><p>For current browser controls and examples, see <a style=\"color:#2727E6\" href=\"https:\/\/learn.chatgpt.com\/docs\/browser\">OpenAI\u2019s Browser guide<\/a>.<\/p><\/div><p>If you prefer a separate browser, open <strong>nmi-codex-lab<\/strong> in Finder (Mac) or File Explorer (Windows) and double-click <strong>index.html<\/strong>. If it opens in a text editor, right-click it, choose <strong>Open With<\/strong>, and select your browser. On a large screen or with two screens, you can keep that browser and Codex side by side.<\/p><p>A file open on your computer is <strong>local<\/strong>. It is not a public website, and sending someone its file path will not give them access to it.<\/p><figure style=\"margin:28px 0\"><div style=\"display:flex;flex-wrap:wrap;gap:12px\"><div style=\"flex:1 1 140px;border-top:5px solid #7D12FF;background:#f6f6f6;padding:18px\"><p style=\"font-size:27px;color:#7D12FF;margin:0\">01<\/p><p style=\"font-size:13px;margin:6px 0\"><strong>CODEX CHAT<\/strong><\/p><p style=\"font-size:15px;line-height:1.5;margin:0\">Ask for a change.<\/p><\/div><div style=\"flex:1 1 140px;border-top:5px solid #2727E6;background:#f6f6f6;padding:18px\"><p style=\"font-size:27px;color:#2727E6;margin:0\">02<\/p><p style=\"font-size:13px;margin:6px 0\"><strong>index.html<\/strong><\/p><p style=\"font-size:15px;line-height:1.5;margin:0\">The saved file changes.<\/p><\/div><div style=\"flex:1 1 140px;border-top:5px solid #434343;background:#f6f6f6;padding:18px\"><p style=\"font-size:27px;color:#434343;margin:0\">03<\/p><p style=\"font-size:13px;margin:6px 0\"><strong>CODEX BROWSER<\/strong><\/p><p style=\"font-size:15px;line-height:1.5;margin:0\">Refresh. Try it yourself.<\/p><\/div><\/div><figcaption style=\"font-size:14px;line-height:1.6;color:#434343;margin-top:12px\">The conversation, the saved file, and the browser preview are three different things. If the page still looks the same after an edit, refresh the browser and check that it shows the file from nmi-codex-lab.<\/figcaption><\/figure><h2 style=\"color:#7D12FF;font-family:Arial,sans-serif\">4. Take it for a test drive<\/h2><p>Your version may look different from the illustration on the home page. That\u2019s expected. Check the behavior first:<\/p><ol><li>Add \u201cOutline my project,\u201d due tomorrow, with an estimate of 20 minutes.<\/li><li>Add \u201cMake three sketches,\u201d due the following day, with an estimate of 45 minutes.<\/li><li>Set your available time to 30 minutes. The 20-minute task should fit; the 45-minute task should not.<\/li><li>Complete the 20-minute task. It should leave the unfinished list and stop being recommended.<\/li><li>Set your available time to 5 minutes. If no unfinished task fits, the app should say so.<\/li><\/ol><p>If something fails, write down the action and result. You\u2019ll fix it in the next lesson. If you can\u2019t open the app at all, use this prompt now:<\/p><div style=\"background-color:#f6f0ff;border-left:4px solid #7D12FF;padding:22px;margin:28px 0\"><p style=\"font-family:Arial,sans-serif;font-size:13px;letter-spacing:1px;color:#7D12FF\"><strong>TRY THIS PROMPT<\/strong><\/p><p style=\"font-family:Arial,sans-serif;font-size:17px;line-height:1.7\">I\u2019m trying to open index.html on [Mac\/Windows]. I did [the exact steps]. I expected the planner, but I saw [what happened, including any error text]. Check the file and fix the smallest thing needed to make it open directly in my browser. Explain what changed.<\/p><\/div><h2 style=\"color:#7D12FF;font-family:Arial,sans-serif\">5. Ask one \u201chow\u201d question<\/h2><div style=\"background-color:#f6f0ff;border-left:4px solid #7D12FF;padding:22px;margin:28px 0\"><p style=\"font-family:Arial,sans-serif;font-size:13px;letter-spacing:1px;color:#7D12FF\"><strong>TRY THIS PROMPT<\/strong><\/p><p style=\"font-family:Arial,sans-serif;font-size:17px;line-height:1.7\">Show me the part of the code that decides which task to recommend. Explain it in plain language, then walk through one example using a 20-minute task and a 30-minute time limit. Don\u2019t change the code.<\/p><\/div><p>You don\u2019t need to memorize the answer. See whether you can describe the rule yourself. If the rule doesn\u2019t match your brief, that\u2019s useful feedback to give Codex.<\/p><div style=\"background-color:#f6f0ff;border-left:4px solid #7D12FF;padding:22px;margin:28px 0\"><p style=\"font-family:Arial,sans-serif;font-size:13px;letter-spacing:1px;color:#7D12FF\"><strong>BEFORE YOU MOVE ON<\/strong><\/p><p>You can open your planner, add a task, and describe at least one behavior you checked. Save a screenshot of the first version and note one thing you want to improve. For now, refreshing resets the tasks; we asked for that simple first version.<\/p><\/div><hr><p style=\"font-family:Arial,sans-serif;font-size:16px\"><a style=\"color:#2727E6\" href=\"https:\/\/nmi.cool\/ai\/03-give-it-a-brief\/\">\u2190 Give it a brief<\/a> \u00b7 <a style=\"color:#2727E6\" href=\"https:\/\/nmi.cool\/ai\/getting-started-with-codex\/\">Workbook home<\/a> \u00b7 <a style=\"color:#2727E6\" href=\"https:\/\/nmi.cool\/ai\/05-make-it-better\/\">Make it better \u2192<\/a><\/p><\/div>","protected":false},"excerpt":{"rendered":"<p>LESSON 04 \/ 25 MINUTES Okay, let\u2019s make the thing. You have a folder, a goal, and a short plan. Now we\u2019ll turn that plan into a first version you can actually use. EXAMPLE PROJECT \u00b7 A WEBSITE YOU\u2019LL BUILD \u25cf \u25cf \u25cf &nbsp; nmi-codex-lab \/ index.html MY WEEK, UNSTUCK. What can you finishin 30 &hellip; <a href=\"https:\/\/nmi.cool\/ai\/04-build-something\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">04 Build something<\/span><\/a><\/p>\n","protected":false},"author":27,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-19","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/nmi.cool\/ai\/wp-json\/wp\/v2\/pages\/19","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nmi.cool\/ai\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/nmi.cool\/ai\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/nmi.cool\/ai\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/nmi.cool\/ai\/wp-json\/wp\/v2\/comments?post=19"}],"version-history":[{"count":3,"href":"https:\/\/nmi.cool\/ai\/wp-json\/wp\/v2\/pages\/19\/revisions"}],"predecessor-version":[{"id":56,"href":"https:\/\/nmi.cool\/ai\/wp-json\/wp\/v2\/pages\/19\/revisions\/56"}],"wp:attachment":[{"href":"https:\/\/nmi.cool\/ai\/wp-json\/wp\/v2\/media?parent=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}