Educate Website - README Introduction Welcome to the "Educate" website! This is a simple education-based website that can be run locally for development and testing purposes. The site includes features like a blog, course categories, and more. Below are the instructions on how to get it up and running on your local machine, as well as some tips for customizing and making changes to the website.
Prerequisites Before you can run the website on your local machine, make sure you have the following installed:
Code Editor: A code editor like VS Code is recommended. Live Server Extension: The Live Server extension for Visual Studio Code (VS Code) is required to easily view your site on your local machine. Getting Started
- Clone or Download the Repository If you received the project as a ZIP file, extract it to a location on your machine. If you're using Git, clone the repository using the following command: bash Copy code git clone https://github.com/AbdulHaseeb262/HaseebDev
- Open the Project in VS Code Open the extracted or cloned folder in Visual Studio Code (VS Code). You should see all the necessary files like index.html, blog.html, and style.css inside the folder.
- Install Live Server Extension To view the website on your local machine, you need to install the Live Server extension in VS Code.
Open VS Code. Go to the Extensions view by clicking the Extensions icon in the Activity Bar on the side of the window. Search for "Live Server" and click Install. 4. Run the Website Locally Once Live Server is installed, open your index.html file in VS Code. Right-click on the index.html file and select Open with Live Server. This will automatically open the website in your browser, usually at http://127.0.0.1:5500/. Customizing the Website If you want to make changes to the website, here's how you can do it:
- Updating Content
Home Page (index.html): You can modify the text, links, and images on the homepage by editing the index.html file.
Blog Page (blog.html): To add or edit blog posts, update the content in the
section inside the blog.html file. Other Pages: The rest of the website, including the "About," "Contact," and "Studying Process" pages, are located in their respective .html files. Modify the content of these files to suit your needs. - Changing Styles The website's look and feel are controlled by the style.css file. You can change the layout, colors, fonts, and more by editing the styles in this file. For example, to change the background color of the website, find the body section in style.css: css Copy code body { background-color: #f0f0f0; /_ Change to any color you prefer _/ }
- Adding New Blog Posts To add a new blog post:
Copy one of the existing
html Copy code
Your blog post content goes here. Describe the topic and provide valuable insights.
Read MoreCreate a new HTML file (e.g., new-page.html). Add content for the new page similar to the structure used in index.html or blog.html. Update the navigation links (e.g., in the navbar) to point to the new page. Example:
html Copy code
- section in the index.html file. For example, change "Web Development" to a new course name:
html
Copy code
- Your New Course 3. Can I add more blog posts? Yes, you can add more blog posts by following the instructions under the "Adding New Blog Posts" section above. Conclusion With these simple steps, you can run and customize the Educate website on your local machine. Feel free to make any changes as needed to suit your content and branding. If you have any further questions, don't hesitate to reach out!