Introduction to ruby

Introduction to ruby

Ruby is not the universal panacea for programmers’ problems. There will always be times when you’ll need a particular language: the environment may dictate it, you may have special libraries you need, performance concerns, or simply an issue with training. We haven’t given up languages such as Java and C++ entirely (although there are times […]

How does React Work?

React is a JavaScript library created by Facebook. React is a tool for building UI components. React creates a VIRTUAL DOM in memory. Instead of manipulating the browser’s DOM directly, React creates a virtual DOM in memory, where it does all the necessary manipulating, before making the changes in the browser DOM. React only changes […]

Introduction to react

React is a JavaScript library for building user interfaces. React is used to build single page applications. React allows us to create reusable UI components. Our “Show React” tool makes it easy to demonstrate React, it shows both the code and the result. Create React App In order to learn and test React, you should […]

CSS Background

CSS background property is used to define the background effects on element. There are 5 CSS background properties that affects the HTML elements: background-color background-image background-repeat background-attachment background-position 1) CSS background-color The background-color property is used to specify the background color of the element 2) CSS background-image The background-image property specifies an image to use as the […]

CSS syntax

A CSS rule set contains a selector and a declaration block. The selector points to the HTML element you want to style. The declaration block contains one or more declarations separated by semicolons. Each declaration includes a CSS property name and a value, separated by a colon. A CSS declaration always ends with a semicolon, […]

Introduction to css

CSS is a language that describes the style of an HTML document. CSS describes how HTML elements should be displayed. This tutorial will teach you CSS from basic to advanced. CSS stands for Cascading Style Sheets. It is a style sheet language which is used to describe the look and formatting of a document written […]

JavaScript Sorting Arrays

The sort() method sorts an array alphabetically: Reversing an Array The reverse() method reverses the elements in an array. You can use it to sort an array in descending order: Numeric Sort By default, the sort() function sorts values as strings. This works well for strings (“Apple” comes before “Banana”). However, if numbers are sorted as strings, “25” is bigger than “100”, […]

JavaScript Arrays

JavaScript arrays are used to store multiple values in a single variable. There are 3 ways to construct array in JavaScript By array literal By creating instance of Array directly (using new keyword) By using an Array constructor (using new keyword) 1) JavaScript array literal The syntax of creating array using array literal is given […]

JavaScript Strings

The JavaScript string is an object that represents a sequence of characters. There are 2 ways to create string in JavaScript By string literal By string object (using new keyword) A JavaScript string is zero or more characters written inside quotes You can use quotes inside a string, as long as they don’t match the quotes surrounding […]

HTML DOM Events

HTML DOM events allow JavaScript to register different event handlers on elements in an HTML document. Events are normally used in combination with functions, and the function will not be executed before the event occurs (such as when a user clicks a button). HTML DOM Event Properties and Methods Property/Method Description Belongs To altKey Returns […]

RSS20
Follow by Email
Facebook20
Pinterest9