Category: Uncategorized
-
Introduction to OOP
Begin with an overview of what OOP is, its principles (encapsulation, inheritance, polymorphism, abstraction), and its benefits in software development.
-
Name some font-related CSS attributes
The font-related attributes are Font- style, variant, weight, family, size, etc.
-
List Basics
jQuery Mobile will automatically enhance any native HTML list (<ul> or <ol>) into a mobile optimized view when we add the data-role=”list” attribute to our list element. The enhanced list will display edge-to-edge by default, and if our list items contain links, they will be displayed as touch-friendly buttons with a right-aligned arrow icon (see Figure 5–1 and the code snippet…
-
DOM Manipulation
jQuery provides a number of methods to manipulate DOM in efficient way. You do not need to write big and complex code to set or get the content of any HTML element. jQuery DOM Manipulation jQuery provides methods such as attr(), html(), text() and val() which act as getters and setters to manipulate the content from HTML documents. Here are some…
-
jQuery Event Methods
What are Events? All the different visitors’ actions that a web page can respond to are called events. An event represents the precise moment when something happens. Examples: The term “fires/fired” is often used with events. Example: “The keypress event is fired, the moment you press a key”. Here are some common DOM events: Mouse Events Keyboard…
-
Squares And Perfect Squares
In these lessons, we will learn what are perfect squares and how to calculate the square root of a perfect square. What Is The Square Of A Number? The square of a number means to multiply the number by itself. Example:The square of 3 is 3 × 3 = 9 The square of a number can be…
-
Least Common Multiple
In these lessons, we learn how to find the least common multiple of two or more numbers. The following diagrams show how to find the Least Common Multiple (LCM): by Listing out the Multiple, by using Prime Factorization, by using Repeated Division. Scroll down the page for examples and solutions. The smallest number among the…
-
Greatest Common Factor (GCF)
In these lessons, we will learn how to find the GCF of two or more numbers The following diagrams show how to find the GCF by listing out the factors, by using Factor Trees and by Repeated Division. Scroll down the page for more examples and solutions to find the greatest common factor (GCF). Listing…
-
Factors And Multiples
Factors And Multiples If a is divisible by b, then b is a factor of a, and a is a multiple of b. For example, 30 = 3 × 10, so 3 and 10 are factors of 30 and 30 is a multiple of 3 and 10 Take note that 1 is a factor of every number. Understanding factors and multiples is essential for solving many math problems. Prime…
-
Rounding Numbers
In these lessons, we will learn how to round whole numbers to the nearest ten, hundred and thousand. Sometimes, we do not need to work with very accurate numbers. For example, suppose that the attendance at a football match was 26,239. Most people may just want to know there were 26,000 at the football match…