fmFutureMindSCHOOLMy Learning
LESSON 1 OF 18Learn at your pace
Free preview · first lesson of every course View access

Set up your practice project

1 · Your first web page

BY THE END OF THIS LESSON
  • Create the three named files.
  • Render the heading and paragraph locally.

Words you’ll use

Editor
An application for changing plain-text source files.
Browser
An application that renders web pages.
Extension
The ending of a filename, such as .html.

You will build a fictional Bright Desk service page and a small task list. Start with a computer, a plain-text editor such as VS Code and a browser. Phone reading is useful, but the coding exercises are easier with a keyboard and access to project files.

Create a folder named bright-desk. Inside it, create index.html, styles.css and app.js. HTML supplies the content structure, CSS its presentation and JavaScript interactive behaviour. Save files as plain text, not a word-processing document.

Opening index.html directly in your browser is sufficient for the early HTML and CSS exercises. Later fetch and React lessons need a development server. The course distinguishes these environments so a file-opening limitation is not mistaken for a code error.

Keep a practice copy and use fictional content. A local file is visible to you, but is not a published website. After saving a change, refresh the browser and compare what you see with the expected result.

SEE IT IN PRACTICE
Folder: bright-desk
  index.html
  styles.css
  app.js

Put this in index.html for the first check:
<h1>Bright Desk</h1>
<p>Practical support for small businesses.</p>
FOLLOW ALONG

A worked example, step by step.

  1. 1
    Create the bright-desk folder.

    Keep related files together.

  2. 2
    Create index.html as a plain-text file.

    The extension tells the browser how to treat it.

  3. 3
    Paste the two HTML lines and save.

    Saving updates the disk copy.

  4. 4
    Open index.html in a browser.

    You should see a heading and sentence.

  5. 5
    Change small businesses to local teams and refresh.

    Confirm that your edit appears.

Common mistakes to avoid

  • Skipping the expected-result check after editing.
  • Copying code into a different file or environment without checking the instructions.
YOUR PRACTICAL TASK

Put this skill to use.

  1. Create the three named files.
  2. Render the heading and paragraph locally.
  3. Change the paragraph and explain why refreshing matters.

Check your work

  • I attempted the practical task.
  • I compared the actual result with the expected result.
  • I can explain the change and any remaining problem.
Compare with a worked solution

Try the task first, then use this example to review your work.

The page shows Bright Desk as a heading and the updated sentence beneath it. If source text appears, check the file extension; if old text remains, save the correct file and refresh the matching browser tab.

Complete this task in your own tools. Keep the result in your project folder.

KNOWLEDGE CHECK
QUESTION 1 OF 3

Which file contains the page structure?

QUESTION 2 OF 3

Does opening a local file publish it?

QUESTION 3 OF 3

What should you do after editing?

Answer all 3 questions before checking your answers.

Try the practical task and tick the box above before completing this lesson.

Sign in with ChatGPT to save progress across devices.

Official help & further reading

MDN: web development learning modules