Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 49
» Latest member: antwantillman
» Forum threads: 4,492
» Forum posts: 4,495

Full Statistics

Online Users
There are currently 1054 online users.
» 0 Member(s) | 1052 Guest(s)
Yandex, Bing

Latest Threads
SELECT statement with MS ...
Forum: MS Access SQL Tutorials
Last Post: Qomplainerz
07-27-2023, 03:35 PM
» Replies: 0
» Views: 1,080
SELECT statement with the...
Forum: MS Access SQL Tutorials
Last Post: Qomplainerz
07-27-2023, 03:31 PM
» Replies: 0
» Views: 529
Creating hyperlinks in HT...
Forum: HTML5 Tutorials
Last Post: Qomplainerz
07-27-2023, 01:23 PM
» Replies: 0
» Views: 829
What's new in HTML5?
Forum: HTML5 Tutorials
Last Post: Qomplainerz
07-27-2023, 12:48 PM
» Replies: 0
» Views: 555
What is HTML5?
Forum: HTML5 Tutorials
Last Post: Qomplainerz
07-27-2023, 12:43 PM
» Replies: 0
» Views: 520
Neck isometric exercises
Forum: Exercises
Last Post: Qomplainerz
07-27-2023, 11:44 AM
» Replies: 0
» Views: 812
Shoulder shrug
Forum: Exercises
Last Post: Qomplainerz
07-27-2023, 11:43 AM
» Replies: 0
» Views: 476
Neck retraction
Forum: Exercises
Last Post: Qomplainerz
07-27-2023, 11:43 AM
» Replies: 0
» Views: 438
Neck flexion and extensio...
Forum: Exercises
Last Post: Qomplainerz
07-27-2023, 11:42 AM
» Replies: 0
» Views: 506
Neck rotation
Forum: Exercises
Last Post: Qomplainerz
07-27-2023, 11:42 AM
» Replies: 0
» Views: 478

 
  Check if an array contains a number in JavaScript
Posted by: Qomplainerz - 04-04-2023, 07:12 AM - Forum: JavaScript Tutorials - No Replies

// Check if an array contains a number

const ratings = [1, 2, 3, 4, 5];

let result = ratings.includes(4);

document.write(result);

Print this item

  Check if a variable is an array in JavaScript
Posted by: Qomplainerz - 04-04-2023, 07:12 AM - Forum: JavaScript Tutorials - No Replies

// Check if a variable is an array

let colors = ['red', 'green', 'blue'];

let isArray = Array.isArray(colors);

document.write(isArray);

Print this item

  Filter tables with JQuery
Posted by: Qomplainerz - 04-04-2023, 07:10 AM - Forum: JavaScript Tutorials - No Replies

The HTML part between the <body></body> tags looks like this:

Code:
<h2>Filterable Table</h2>
<p>Type something in the input field to search the table for first names, last names or emails:</p>
<input id="myInput" type="text" placeholder="Search...">
<br><br>

<table>
  <thead>
    <tr>
      <th>First name</th>
      <th>Last name</th>
      <th>Email</th>
    </tr>
  </thead>
  <tbody id="myTable">
    <tr>
      <td>John</td>
      <td>Doe</td>
      <td>john@example.com</td>
    </tr>
    <tr>
      <td>Mary</td>
      <td>Moe</td>
      <td>mary@example.com</td>
    </tr>
    <tr>
      <td>July</td>
      <td>Dooley</td>
      <td>july@example.com</td>
    </tr>
    <tr>
      <td>Anja</td>
      <td>Ravendale</td>
      <td>a_r@example.com</td>
    </tr>
  </tbody>
</table>

<p>Note that we start the search in tbody, to prevent filtering the table headers.</p>

The CSS part looks like this:

Code:
table
{
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td, th
{
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even)
{
  background-color: #dddddd;
}

The JQuery part looks like this:

Code:
$(document).ready(function()
                 {
  $("#myInput").on("keyup", function()
                  {
    var value = $(this).val().toLowerCase();
    $("#myTable tr").filter(function()
                           {
      $(this).toggle($(this).text().toLowerCase().indexOf(value) > -1)
    });
  });
});

You can see the full source code on my CodePen

Print this item

  Latin - Ablative case of nouns
Posted by: Qomplainerz - 04-02-2023, 02:54 AM - Forum: Latin Grammar - No Replies

Used for nouns that are by, with or from something.

For example:

papa ecclesiam carta confirmat – The pope confirms the church by a charter.

‘by a charter’ is in the ablative case.

The ablative case is also used after some prepositions

Print this item

  Latin - Dative case of nouns
Posted by: Qomplainerz - 04-02-2023, 02:53 AM - Forum: Latin Grammar - No Replies

Used for nouns that are to or for something.

For example:

terram ecclesie do – I give land to the church.

The verb is ‘I give’ (do). ‘land’ is the object – it is in the accusative. ecclesie, meaning ‘to the church’, is in the dative.

solvimus decem solidos carte – We pay 10 shillings for a charter.

‘for a charter’ is in the dative

Print this item

  Latin - Genitive case of nouns
Posted by: Qomplainerz - 04-02-2023, 02:52 AM - Forum: Latin Grammar - No Replies

Used for nouns that are ‘of’ something else and to show possession (who something belongs to).

For example:

terra ecclesie – The land of the church.

‘of the church’ is in the genitive.

filie vidue – The widow’s daughters. (Literally: the daughters of the widow).

‘of the widow’ is in the genitive.

Print this item

  Latin - Accusative case of nouns
Posted by: Qomplainerz - 04-02-2023, 02:51 AM - Forum: Latin Grammar - No Replies

Used for the object of a verb. The object is the person or thing the verb is done to.

For example:

domina cartam confirmat – The lady confirms the charter.

The verb (‘confirms’) is being done to ‘the charter’ – therefore ‘the charter’ is in the accusative.

The accusative is also used after some prepositions.

Print this item

  Latin - Vocative case of nouns
Posted by: Qomplainerz - 04-02-2023, 02:50 AM - Forum: Latin Grammar - No Replies

Used to call or address someone or something.

For example:

O Maria! – Oh Mary!
O domina! – Oh lady!
O regina! – Oh queen!

The vocative case is usually the same as the nominative.

The second declension masculine has a vocative case that is different from the nominative, which takes ‘-e’ or ‘-i’.

For example:

O domine! – Oh Lord!
O Georgii! – Oh George!

Not all parts of speech have a vocative case

Print this item

  Latin - Nominative case of nouns
Posted by: Qomplainerz - 04-02-2023, 02:49 AM - Forum: Latin Grammar - No Replies

Used for the subject of the verb. The subject is the person or thing doing the verb.
For example:

vidua laborat – the widow works.

‘the widow’ is the subject, as she is doing the verb (working). ‘the widow’ is in the nominative case.

Print this item

  The towns (plural)
Posted by: Qomplainerz - 04-02-2023, 02:41 AM - Forum: English - Latin Dictionary - No Replies

Oppida

Print this item