1st Deck Flashcards
(15 cards)
How does JavaScript programming make applications dynamic and interactive?
By enabling them to adjust and respond to individual end users and their actions, such as clicking buttons or pressing keys. It also allows for the animation of displays.
What are the key differences between JavaScript, CSS, and HTML in terms of their focus and purpose?
JavaScript differs from CSS and HTML in that it focuses more on how things in a web application behave and interact, rather than just how they look. CSS and HTML are primarily concerned with styling and structure.
Can you show and hide elements using the HTML display attribute?
Yes
What is a function in programming?
A function in programming is a named segment of code that performs a specific task or operation.
How does using functions in programming relate to cooking recipes?
Using functions in programming is similar to using concise instructions in a recipe; it helps avoid repetition and keeps code organized.
What happens when you run a program that contains a function?
When you run a program with a function, it executes the code within the function to perform a specific task.
What are JavaScript identifiers?
JavaScript identifiers are names given to variables and functions in your code.
Can JavaScript identifiers include characters from non-English alphabets?
Yes, under certain circumstances, JavaScript identifiers may include characters from alphabets other than the English one.
Here are a few of my personal favorites:
“Ж” “Ы” “Й” “Ъ”
What are examples of third-party libraries other than jQuery?
Dojo, MooTools, and YUI
What HTML property is used to change the current content of HTML elements?
innerHTML
What is a programming library, and what does it contain?
A programming library contains reusable code snippets, subroutines, classes, and resources that programmers can use to build software.
What is a programming library?
A programming library contains snippets of code, subroutines, classes, and other resources you can re-use to create software.
Which JavaScript library is mentioned as one of the most popular?
jQuery
How can programmers benefit from using JavaScript libraries like jQuery?
By leveraging pre-written code and resources for common tasks, saving time and effort.