This is a review of the basics from learning HTML, CSS and JavaScript.
Why is it important to use semantic elements in our HTML?
Semantics in HTML are crucial for enhancing accessibility, as they enable assistive technologies to accurately interpret and present web content to users with disabilities.
It plays a significant role in improving search engine optimization by helping search engines understand the structure and relevance of webpages.
Semantics contribute to maintainable and future-proof code, making it easier for developers to collaborate, update, and adapt web content to changing requirements and technologies.
How many levels of headings are there in HTML?
What are some uses for the < sup > and < sub > elements?
When using the < abbr > element, what attribute must be added to provide the full expansion of the term?
HTML Advanced Text Formatting.
What are ways we can apply CSS to our HTML?
Why should we avoid using inline styles?
Review the block of code below and answer the following questions:
h2 { color: black; padding: 5px; }
What is representing the selector? The h2 is the selector
Which components are the CSS declarations? The declarations are the color and padding with each corresponding value of black and 5px.
Which components are considered properties? The properties are the color and padding.
What data type is a sequence of text enclosed in single quote marks?
List 4 types of JavaScript operators.
Describe a real world Problem you could solve with a Function.
An if statement checks a value and if it evaluates to true , then the code block will execute.
What is the use of an else if?
List 3 different types of comparison operators.
=== and !==
< and >
<= and >=
| What is the difference between the logical operator && and | ? |
| The | operator only requires one of the expressions to evaluate to true in order for the whole expression to return true. |
Continue reading about best practice for writing git commit messages.