Skip to main content

Command Palette

Search for a command to run...

My first www project

world wide web project

Updated
3 min read

Creating your first web project and pushing it to GitHub involves several steps. Here's a basic guide to get you started:

  1. Up Your Development Environment:

    • Install a text editor or an Integrated Development Environment (IDE) such as Visual Studio Code.

    • Ensure you have a web browser for testing your project locally.

  1. Create Your Project Directory:
  • Create a new folder on your computer where you'll store your project files.
  1. Initialize Git in Your Project:
  • Open a terminal or command prompt.

  • Navigate to your project directory.

  • Run the command git init to initialize a new Git repository in your project folder.

  1. Create Your HTML File:

    Use your text editor or IDE to create an HTML file (e.g., index.html) inside your project directory.

    Write some basic HTML code to create the structure of your webpage..

     <!DOCTYPE html>
     <html lang="en">
     <head>
         <meta charset="UTF-8">
         <meta name="viewport" content="width=device-width, initial-scale=1.0">
         <title>world wide web project</title>
     </head>
     <body>
      <h1>world wide web</h1>
     <p>The WorldWideWeb (W3) is a wide-area <a href="">hypermedia</a> information retrieval initiative aiming to give universal access to a large universe of documents.</p>
     <p>Everything there is online about W3 is linked directly or indirectly to this document, including an <a href="">executive</a> <a href="">summary</a>of the project,<a href="">Mailing Lists,Policy</a>, November's <a href="">W3 news,Frequently Asked Questions</a>.</p>
     <h4> <a href="">What's out there?</a></h4>
     <p>Pointers to the world's online information, ,<a href="">subjects,W3servers</a>, etc</p>
     <h4><a href="">Help</a></h4>
     <p>on the browser you are choosing</p>
     <h4><a href="">software products</a></h4>
     <p>A list of W3 project components and their current state. (e.g. <a href="">Line Mode,X11 Viola,NeXTStep,Servers,Tools,Mail robot,Library</a>)</p>
     <h4><a href="">Technical</a></h4>
     <p>Details of protocols, formats, program internals etc</p>
     <h4><a href="">Bibliography</a></h4>
     <p>Paper documentation on W3 and references.</p>
     <h4><a href="">people</a></h4>
     <p>A list of some people involved in the project.</p>
     <h4><a href="">History</a></h4>
     <p>A summary of the history of the project.</p>
     <h4><a href="">How can I help ?</a></h4>
     <p>If you would like to support the web..</p>
     <h4><a href="">Getting code</a></h4>
     <p>Getting the code by <a href="">anonymous FTP</a> , etc.</p>
     </body>
     </html>
    
    1. Test Your Project Locally:

Open your HTML file in a web browser to ensure it displays as expected.

Make any necessary adjustments to your code

  1. Create a GitHub Repository:

Go to GitHub.com and log in or sign up for an account.

Click on the "+" icon in the top-right corner and select "New repository."

Give your repository a name, choose whether it's public or private, and add a description if you like.

Click "Create repository."

  1. Add Remote Repository:
  1. Verify on GitHub:
  • Go to your GitHub repository in your web browser and refresh the page. You should see your project files listed there

    This is vs code push to github:

More from this blog

Untitled Publication

7 posts