This guide will help you make basic text edits to your website's HTML files. You can do this directly from this GitHub repository using GitHub's built-in editor.
-
Open the HTML File You Want to Edit:
- In the repository, you'll see a list of files and folders.
- Click on the file you want to edit (e.g.,
index.html
for the homepage,contact.html
for the contact page).
-
Edit the File:
-
After clicking the file, click the pencil icon in the top-right corner of the file view. This opens the file in edit mode.
-
You'll see a lot of code, but don't worry! Look for the text you want to change—it will be between
<p>
,<h1>
,<h2>
, or other tags. For example:<h1>Welcome to My Website</h1>
If you want to change "Welcome to My Website" to something else, just edit the text inside the tags:
<h1>Edit the text</h1>
-
-
Save Your Changes:
- You'll see a "Commit changes" section. In the "Commit message" field, describe what you changed (e.g., "Updated homepage title").
- Click the "Commit changes" button.
- Backup: Always double-check before saving your changes. It's easy to undo mistakes, but it's better to avoid them.
- Formatting: Be careful not to delete any tags (like
<h1>
,<p>
, etc.), as this might affect the page's layout. - Contact for Help: If you're unsure about anything or accidentally delete something important, feel free to reach out to me.