Welcome

∼ Gandul si ideea zilei:

Gandurile si starile omului sunt schimbatoare ca vantul si valurile.

Nu-i nimic daca te lasi dus de val, doar sa fii atent sa vezi unde te duce.

∼ Thought and idea of the day:

The human thoughts and moods are changeable like the wind and the waves.

Doesn`t matter if you let yourself get carried away, just be watchful to see where it goes you.

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which attribute is used in <a> tag for the address of the link?
src href rel
<a href="http://coursesweb.net/" title="CoursesWeb.net">CoursesWeb.net</a>
Which CSS property sets the type of the text font?
font-family text-decoration font-size
h2 {
  font-family:"Calibri",sans-serif;
}
What instruction selects all the <div> tags with class="cls"?
querySelector("div.cls") getElementsByTagName("div") querySelectorAll("div.cls")
var elm_list = document.querySelectorAll("div.cls");
var nr_elms = elm_list.length;       // number of selected items
alert(nr_elms);
Indicate the function that can be used to get the sum of values in an array.
array_sum() array_diff() array_shift()
$arr =[1, 2, 3, 4);
$arr_sum = array_sum($arr);
echo $arr_sum;       // 10

Latest Articles on CoursesWeb.net

The Four Agreements

- The Four Agreements, by don Miguel Ruiz in PDF format and audio/video MP4. Spirituality book.
In The Four Agreements, don Miguel Ruiz reveals the source of self-limiting beliefs that rob us of joy and create ...

jsSHA - SHA Hashes and HMAC in JavaScript

- jsSHA JavaScript library for the SHA hash family: SHA-1, SHA-224, SHA3-224, SHA-256, SHA3-256, SHA-384, SHA3-384, SHA-512, SHA3-512, SHAKE128, SHAKE25
Calculate online SHA Hashes and HMAC
jsSHA is a JavaScript implementation of the entire family of SHA hashes as defined in ...

One Minute Wisdom

- The book One Minute Wisdom by Anthony de Mello, in PDF format, free. Collection of anecdotes and spiritual little stories.
One Minute Wisdom is a book written by Anthony de Mello with short but profound religious and spiritual anecdotes. It will take less then a minute to ...

Render Function

- Vue js tutorial about render function, a way to make Vue components more dynamically
This tutorial is a basic presentation of the Vue js render function.
Render Function is an alternative to string templates, allowing you to make the Vue component dynamic ...

Mixins

- Tutorial Vue.js about mixins, basic presentation and examples, merged and replaced mixin`s data
Mixins are JS objects that can be used to distribute reusable code among components. When a component uses mixin, all options of mixin become a part of ...

Vue JS - Transition and Animation

- JS tutorial, the transition and animation features available in Vue.js. How to create CSS Transition and Animation with Vue js.
Transition with v-if and v-else CSS Animation with Vue js Transition at ...

Using v-model in form input fields

- Using Vue.js v-model directive in form input fields. Examples with textarea, checkbox, radio, select. Modifiers for input fields
Textarea field Checkbox input element Radio buttons Select list
The Vue.js v-model directive can be used to ...

Class and Style with Vue.js


- Vue.js tutorial, binding styles and classes dynamically to elements with v-bind:style and v-bind:class. Class in component
Binding CSS Classes Dynamically CSS class in Vue Components
Binding inline styles With v-bind:style we can dynamically ...

Vue JS Components


- Vue Components, basic presentation, creating and reusing components in html. Passing data to Component with Props and Slot
Events and Methods in Components Passing data to Component with Props Global ...

VueJS - Binding, v-bind


- How to manipulate or assign values to HTML attributes, change the CSS style, and assign classes with v-bind. Using v-bind with components
Binding HTML Style and Classes Dynamic attributes with v-bind v-bind and Components
v-bind ...

Vue JS - Events


- How to define and use events in Vue.js with v-on directive. Dinamically events, shorthand and modifiers.
Multiple events in v-on Event Modifiers Key Modifier Dynamic events
Listening for Events VueJS uses the ...

Creating Lists with v-for


- How to create html lists with the v-for directive in vue.js. v-for with array and objects
v-for with an object v-for - detecting changes in source Data ...

Latest Subjects on Forum

Extract number and periods from string in php I have a string with numbers and periods. For example '123456...'I want to separate 123456 and ... and still get the number and the period in php.I tried ..
Invert key value in js object I can't figure out how I can change the following object in JavaScript:{"first":["de"], "second":["ab","de"], "third":["de"]}to:{"de":["first", "second", "third"], "ab":["second"]}I want to associate unique values with list of containing keys ..
Immune cells - a hope for curing neurodegenerative diseases A promising new study, published in the journal Nature Immunology, is describing the discovery of a novel kind of immune cell with the ability to not only prevent ..
NASA announces that it has discovered water on the Moon Water has been discovered on the sunlit surface of the moon, NASA announced, an important revelation that indicates water may be distributed across the lunar surface – and ..
Reverse the characters added in text field I have the following html and JavaScript code. An input text box and a button.Buttonconst bkinp = document.getElementById('backwards-input');const bkbtn = document.getElementById('backwards-button');const revtxt = document.getElementById('backwards-container');How can I make, when ..
Solar pavements for energy supply A Hungarian tech company is taking small steps with recycled plastic waste to make solar panels built into pavements to power buildings and charge electronic devices in public ..
The disable attribute in option tag not working I have designed a html page, but in option tag I have set disabled="true", still it is not disabling the option.Things I have tried:disabled="true"disabled="disabled"And in JS with jQuery:$(".dis").prop("disabled", ..
Random object from multiple arrays with percent chance in JS I have 3 arrays of objects in JavaScript:const fruits = [{name: "Banana"}, {name: "Apple"}, {name: "Peach"}]const car = [{name: "Audi"}, {name: "Bentley"}]const books = [{name: "Alice in wonderland"}, ..
Electric-wheeled Veelo is pulling for rollerbladers Although there are electric rollerblades and skateboards, sometimes people just want a temporary boost while using their existing non-electric set of wheels. That's why Veelo was invented. Created ..
Biomass plastic with high heat resistance Scientists in Japan have produced a plastic with the highest heat resistance ever reported, and done so by using natural materials. This biomass-derived plastic therefore promises not just ..

Today I want to learn ...

HTML

The language used to create web pages.

Learn HTML
Example HTML
HTML code

CSS

The language used for web pages design.

Learn CSS
Example CSS
CSS code

JavaScript

Add interactivity and effects to webpages.

JavaScript Node.js
Example JavaScript code
JavaScript code

PHP - MySQL

Creates dynamic and interactive webpages with data from database.

PHP - MySQL Course PHP Laravel
PHP Code
PHP code

Ajax

Calls in JavaScript PHP scripts from server.

Ajax Course
Example Ajax function
Ajax code
Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS

Last accessed pages

  1. Sending data with GET and POST in the same request (5379)
  2. Read Excel file data in PHP - PhpExcelReader (78088)
  3. CSS Course - Free lessons (13350)
  4. Cookies (487)
  5. File Handling with fopen (2733)

Popular pages this month

  1. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (738)
  2. querySelector and querySelectorAll (405)
  3. Read Excel file data in PHP - PhpExcelReader (363)
  4. PHP-MySQL free course, online tutorials PHP MySQL code (348)
  5. JavaScript Course - Free lessons (273)