Practice
Games
A short quiz and a set of myth-or-fact cards, using the same sourced wording as the rest of the site.
1. JavaScript and Java
Should JavaScript be treated as the same language as Java?
2. What HTML is for
According to MDN, what does HTML define?
3. Where client-side code runs
When a web page is viewed, where does its client-side code run?
4. The default sort
If you call sort() on numbers with no compare function, does MDN say 9 will always come before 80?
Myth or fact?
JavaScript is just another name for Java.
Myth or fact?
A default array sort always puts numbers into numeric order.
Myth or fact?
innerHTML is a safe way to put any visitor-provided string onto a page.
Myth or fact?
HTML (HyperText Markup Language) is the most basic building block of the Web: it defines the meaning and structure of web content. MDN: HTML Besides HTML, other technologies are generally used to describe a web page's appearance (CSS) or its behaviour (JavaScript). MDN: HTML