AI ProgrammingAcademy
Back to Home

Free Starter Project: AI Project Brief Builder

Turn an app idea into a clear development prompt. Free guided practice—no sign-in, card, or AI credits required.

Learning Objectives

  • Build a working browser app

    Connect an HTML form to JavaScript and display a structured project brief.

  • Understand what AI tools need

    Specify a goal, audience, constraints and tests instead of asking for an unspecified app.

  • Keep your code

    Download the complete single-file app, personalize it and use it as an introductory portfolio exercise.

Core Concepts

1. Try the working example

Scroll to Your finished project below. Enter an app goal and its audience, then select Build my brief. Notice how the result adds requirements and tests. This is a deterministic prompt template, not an AI-powered app. No paid service is needed.

2. Create your project file

On a computer, create a folder called brief-builder. Open a plain-text editor, create index.html, and paste the complete code from Show Solution below. Save it with the .html extension (not .html.txt). Double-click the file to open it in your browser. On a phone you can try the demo first and download the code for later.

3. Connect inputs to a result

HTML gives each input an id. JavaScript reads its value when the form is submitted. preventDefault keeps the browser from reloading. textContent displays the brief as text rather than interpreting user input as HTML.

form.addEventListener('submit', function(event) {
  event.preventDefault();
  const goal = document.getElementById('goal').value;
  const audience = document.getElementById('audience').value;
  document.getElementById('result').textContent = buildProjectBrief(goal, audience);
});

4. Personalize and test

Change the page title and add one requirement to the brief template, such as keyboard navigation. Save your file and reload it. Test a normal idea, blank input, a long idea, and text containing < or >. The page should reject empty fields and display special characters as text. Resize the browser to check a phone-sized layout.

5. Take it further

Copy your brief into an AI development tool you already use, if you wish. Third-party tools have their own limits and may charge; they are optional and not included in this free project. Save a screenshot of your app and a short explanation of your changes for your future portfolio.

A taste of the Academy: This standalone exercise does not unlock paid modules, AI grading, support, or a certificate. The full series adds deeper programming, guided projects, exams and an instructor-approved final project.

Practice Exercise

Make the brief your own

Build the app, add a sixth requirement to its generated brief, and verify it appears for two different ideas. Use the complete solution if you need a starting point.
Checklist:
□ Create index.html and open it
□ Add one requirement to the brief template
□ Test empty fields and two different ideas
□ Check the layout at phone width
□ Keep a screenshot and explain one change

Concept Quiz

Test your understanding with this quiz. Select the best answer for each question.

1. Does this app call an AI model?

2. Why display user input with textContent?

Are there any issues that Customer Support should be aware of?

Help optimize our AI programming lessons to ensure student success!

Sign in to send a comment to Customer Support.

Your finished project

Try the example, then download the complete app. It assembles a prompt from a fixed template—it does not call AI or send your idea anywhere.

Your project brief will appear here.

Save the HTML file and open it in a browser. No installation required. Changes in this demo are not saved.

Ready for a structured learning path?

Explore AI Foundations and AI Professional when you are ready to go beyond this starter project.

Hide Icons