Welcome to ATXYZ's Learning Docs
By the end of these tutorials, you will be able to build a website! For Free.
A bulk of this tutorial will be directed towards Windows as I do not have access to a Mac.
Prerequisites
Here are some prerequisites before you continue:
Create a Project Folder
Open your file explorer and create a folder.
You can name the folder whatever you'd like. However, for the tutorial, we will be using my-website
.
Create your index file
-
Open VSC and select "Open Folder", then select your folder.
-
Once the editor is opened, select "New File".
-
In the textbox, type
index.html
. This will make it an HTML file. -
Once this is completed, you should now have a new file named
index.html
located on the file explorer. -
In the
index.html
file, paste the code provided below.
<!DOCTYPE html>
<html>
<head>
<title>Main Page</title>
</head>
<body>
<h1>This is my Website</h1>
<p>Hello World.</p>
</body>
</html>
Congratulations! You have officially created the starting elements for your website. Happy Coding!