Explain Codes LogoExplain Codes Logo

Best Articles — Page 13

Naming "class" and "id" HTML attributes - dashes vs. underlines

html
responsive-design
best-practices
web-development

How to delete from multiple tables in MySQL?

sql
join
foreign-key
subqueries

I want to use CASE statement to update some records in SQL Server 2005

sql
join
case-statement
update-queries

How to call reduce on an array of objects to sum their properties?

javascript
reduce
array
functions

What is the difference between single quotes and double quotes in PostgreSQL?

sql
best-practices
sql-queries
database-management

How to keep the header static, always on top while scrolling?

html
responsive-design
css
sticky-header

Javascript to get row count of a HTML table

javascript
prompt-engineering
best-practices
selectors

Sql query to get most recent row for each instance of a given key

sql
prompt-engineering
best-practices
performance

Passing variables to the next middleware using next() in Express.js

javascript
middleware
express-js
best-practices

Check if all values of an array are equal

javascript
functions
promises
callbacks

Sql - many-to-many table primary key

sql
data-integrity
indexing-strategies
orm-tools

Jdbc ResultSet: I need a getDateTime, but there is only getDate and getTimeStamp

sql
datetime
jdbc
timestamp

Regular Expression to get a string between parentheses in JavaScript

javascript
regex
string-manipulation
javascript-features

How do I select an element with its name attribute in jQuery?

javascript
prompt-engineering
selectors
performance

Counting number of joined rows in left join

sql
join
best-practices
performance

How can I mock an ES6 module import using Jest?

javascript
mocking
jest
testing

How do I pre-populate a jQuery Datepicker textbox with today's date?

javascript
prompt-engineering
best-practices
responsive-design

Requirejs domReady plugin vs Jquery $(document).ready()?

javascript
prompt-engineering
javascript-ecosystem
performance

Why does CSS padding increase size of an element?

html
responsive-design
best-practices
css-box-model

Get element at specified position - JavaScript

javascript
prompt-engineering
functions
callbacks