PHP OOP : Constructor function

What is Constructor ?

Constructor is a special type of function of a class which is automatically executed when object of that class is created. Constructor is also called as magic function because in php constructor is start usually with two underscore characters. It saves lot of time on big project.

function __constructor(){
body part;
}

Example of Constructor :-

Tagged : / / / / / / / / / / / /

How to Use change CSS styles in jQuery?

So in this blog, we’re going to learn that How to Use change CSS styles in jQuery?

So let’s go ahead and do that for first in index.html, with help of style.css & main.js and define-

To retrieve or set the value of a CSS property, you can use css(). This works similar to attr() and prop(): pass one argument to read or two arguments to set a new value. For instance, you can achieve the same as with hide() like this:

 $(“p:first”).css(“display”, “none”);

You can change any CSS property in this simple way.

  redBox.css(“background-color”, “#AA5500”);

  $(“p”).css(“font-size”, “20px”);

You can even change the value of a property relative to its previous value

redBox.css(“width”, “+=20px”);
redBox.css(“height”, “-=20px”);

Also, you can retrieve multiple values by passing an array as the argument

 var properties = $(“p”).css([“font-size”, “line-height”, “color”]);

You can see that in the Developer Tools (F12 in browser) in the Inspector tab.

redBox.css(“user-select”, function() {
// [some logic here…]
return “none”;
});

Use change CSS styles in jQuery
Tagged : / / / / /

How to become a TypeScript Developer?

Developing a large application requires the developer to have the functional knowledge of a wide range of languages including TypeScript. The Skills of TypeScript are necessary to become a Full-stack developer. This will allow you to advance your career and develop interesting web applications. TypeScript is among the top programming language demanded by major companies.

TypeScript Developer:

TypeScript developers are generally responsible for providing the best user experience with a company’s applications and platforms. In order to attract the TypeScript developer who best matches your needs, it is very important to write a clear and accurate TypeScript developer job description.

TypeScript Developer Roles and Responsibilities:

  • Plan, develop and implement user interface strategy
  • Work with designers and developers to develop modern, intuitive user interfaces for our web properties
  • Work on design, look and feel of our web properties
  • Continuously improve the user experience
  • Research user preferences
  • Research new technologies and best practices
  • Work in a team environment with shared code; disciplined use of source code control and process documentation
  • Improve JS and CSS quality by conducting code analysis, and recommending changes in policies and procedures

TypeScript Developer requirements and qualifications:

  • Experience with AngularJS, ReactJS, KnockoutJS, Backbone.
  • Good time-management skills.
  • Great interpersonal and communication skills.
  • Experience with SASS/LESS, HTML, CSS, DOM, AJAX.

Scope of TypeScript Developers:

The Future of TypeScript is Bright. Today. NET Framework has become an enterprise name to build Windows, Web, and mobile applications and C# is the prime language to build.

Salary of TypeScript Developer:

The average salary of TypeScript Programming Language skills in India is ₹4L to ₹10L.

If you are planning to learn the TypeScript programming language, then I would be recommended you go with DevOpsSchool institute for better knowledge.

Tagged : / / / /

How to Using CSS Selectors in jQuery?

So in this blog, we’re going to learn that how to Using CSS Selectors in jQuery.

So let’s go ahead and do that for first in index.html, with help of style.css & main.js.

In this image Using CSS Selectors in jQuery which code define in index.html, style.css & main.js.

Tagged : / / / / /

How to use Timing Animations Using Callback Functions in jQuery?

So in this blog, we’re going to create a little bit more at Timing Animations Using Callback Functions in jQuery.

In the previous blog, we also learn how can animate multiple C S S properties at once. So let’s go ahead and do that for the blue box first in index.html, with help of style.css & main.js.

Timing Animations Using Callback Functions in jQuery
Timing Animations Using Callback Functions in jQuery after animations effects
Tagged : / / / / / / / /

How to use Creative Custom Animations in jQuery?

So in this blog, we’re going to create a little bit more at creative custom animation using the animate in jQuery.

In the previous blog, we also learn how can animate multiple C S S properties at once. So let’s go ahead and do that for the blue box first in index.html, with help of style.css & main.js.

So let’s go ahead and check this page in the browser.

Creative Custom Animations in jQuery after custom effect
Tagged : / / / / /

How to use Moving Elements in jQuery?

In this blog, I am creating a page using HTMLCSS jQuery after that define Moving Elements. So, Let’s create an index.html, main.js & style.css below-

Are right let’s create our first animation that’s not actually built in any nation but a custom one. And to get started with custom animations we’re just going to create a very simple one and this blog-

Moving Elements in jQuery which just moves around elements on the page.
Moving Elements in jQuery values to change the position of element.
Tagged : / / / /

How to use Sliding Elements Up And Down in jQuery?

In this blog, I am creating a page using HTMLCSS jQuery after that define Sliding Elements Up And Down. So, Let’s create an index.html, main.js & style.css below-

Sliding Elements Up And Down using jQuery
Sliding Elements Up And Down using jQuery after effects
Tagged : / / / /