Skip to content

tvyami/flw1-u1l2-23-24-student-exercises

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lesson 1.2: GitHub, IDEs & HTML/CSS Review

🎯 Objectives

  • Navigate coding platforms.
  • Fork and pull a repository into an integrated development environment (IDE).

Table of Contents

  1. ⌨️ IDEs
    • What is an IDE?
    • Key Features of an IDE
  2. 👾 Replit & GitHub
    • Replit
    • Setting up a Replit account
    • Forking from GitHub
    • Importing a Repo to Replit
    • Navigating Replit
    • Making/Saving Changes in Replit

IDEs

Let's begin by understanding what an IDE is. IDE stands for Integrated Development Environment, which is a software application providing a comprehensive set of tools for software development. It is the place where we can create and edit our code efficiently.

Key features of an IDE include:

  • Text Editor: Where you write your code.
  • Code Autocompletion: Suggests code snippets and functions to speed up coding.
  • Syntax Highlighting: Colors different elements of the code for better readability.
  • Debugger: Helps find and fix errors in the code.
  • Version Control: Allows tracking changes to code.

Replit & GitHub

Replit is an online IDE that enables coding in various programming languages directly from the browser. It offers a user-friendly and collaborative coding environment without requiring any installations.

Setting up a Replit account

  1. Go to www.replit.com.
  2. Click on 'Sign Up'.
  3. Choose the 'Continue with GitHub' option.
  4. Click on 'Authorize Replit'.

Forking from GitHub

  1. Find the Repo to Fork by going to the link provided for today's lesson.
  2. On the top right corner of the repo page, click the "Fork" button. This creates a copy of the repo in your GitHub account.
  3. Wait for the Fork to Complete, and you'll be redirected to the copied repo in your account.

Importing a Repo to Replit

  1. In Replit, click on the "+" icon on the top right corner and choose "Import from GitHub".
  2. Find and Copy the GitHub Repo URL by clicking the green "Code" button on GitHub and copying the URL.
  3. In Replit, paste the URL you copied from GitHub and click on the "Import from GitHub" button.
  4. Wait for the Import to Finish; it may take a few seconds or minutes.

Navigating Replit

  • Files: Displays the project files.
  • Tools: Various tools available for coding and managing the project.
  • Code Editor: The area where you write code.
  • Output: Shows your web page when you run the code.

Making/Saving Changes in Replit

Remember to press "Run" to see your code updates on the webpage. Projects autosave in your account. If you make changes and try to exit without running the code, you might receive an alert. In that case, press "Run" before exiting.

Happy coding! 😊

About

Unit one lesson 2 flw1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 69.8%
  • CSS 30.2%