Demo: HTML & CSS Basics

What is HTML?

Basic explanation of HTML and its uses.
Discussion

Diskusi

3 questions

Log in untuk bergabung dalam diskusi.

  • Demo Student 3 minggu lalu
    What's a good follow-up resource after finishing this section? I want to dive deeper into this specific topic.
  • Demo Student 2 minggu lalu
    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 Pengajar 2 minggu lalu
      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 minggu lalu
    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 Pengajar 2 minggu lalu
      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'.