fix(curriculum): rewrite HTML Foundations Lesson H (#59659)

This commit is contained in:
Prashant Rathore
2025-04-11 08:58:50 +05:30
committed by GitHub
parent b81ed34e78
commit 2c1281d8ba
@@ -7,25 +7,25 @@ dashedName: html-foundations-lesson-h
# --description--
Many helpful resources out there keep referring to HTML and CSS as programming languages, but if you want to get technical, labeling them as such is not quite accurate. This is because they are only concerned with presenting information. They are not used to program logic. JavaScript, which you will learn in the next section, is a programming language because its used to make webpages do things. Yet, there is quite a lot you can do with just HTML and CSS, and you will definitely need them both. Throughout our curriculum, the following lessons focus on giving you the tools you need to succeed once you reach JavaScript content.
HTML and CSS are primarily concerned with presenting information. They are not used to program logic. JavaScript, which you will learn in the next section, is used to make webpages do things. There is quite a lot you can do with just HTML and CSS, and you will definitely need them both. Throughout our curriculum, the following lessons focus on giving you the tools you need to succeed once you reach JavaScript content.
# --questions--
## --text--
Why are HTML and CSS not typically classified as programming languages?
What is one way in which JavaScript is different than HTML and CSS?
## --answers--
They lack the ability to create webpages.
JavaScript is primarily concerned with presenting information.
---
They focus on presenting information rather than programming logic.
JavaScript makes webpages take actions.
---
They are outdated technologies.
You do not need HTML/CSS if you know JavaScript.
## --video-solution--