Demo: HTML & CSS Basics

What is HTML?

Basic explanation of HTML and its uses.
Discussion

Discussion

3 questions

Log in to join the discussion.

  • Demo Student 2 months ago
    What's a good follow-up resource after finishing this section? I want to dive deeper into this specific topic.
  • Demo Student 2 months ago
    Can I follow along if I'm using a different operating system than the one shown in the video? I'm on Linux but the demo uses macOS.
    • Demo Instructor Instructor 2 months ago
      Absolutely! All commands and tools used in this course are cross-platform. The only difference is keyboard shortcuts (Ctrl on Linux/Win vs Cmd on Mac) and how you open the terminal. The code itself runs identically.
  • Demo Student 2 months ago
    Hi! I'm getting confused with the second example in this lesson — when you call the function inside the loop, does it create a new scope each time? Or share the outer one?
    • Demo Instructor Instructor 2 months ago
      Great question! Each function call creates a new scope. So variables declared inside the function don't leak to the loop's scope. If you need to share state, declare the variable in the outer scope before the loop. There's a deeper dive in the next module under 'Closures'.