List of CSS Selectors

CSS Selectors are what enable you to target HTML elements for style information. Elements Class ID Attribute Pseduo-class Elements Elements in HTML like <p> <div> <form> <input> etc. Can be targeted like this. Here are some of the elements that are valid to target. h1, h2, h3, h4, h5, h6 p form input div span …

List of CSS Selectors Read More »

PHP debugging using Xdebug

How to install Xdebug for XAMPPA guide focusing on the parts involved, and why they are involved. I’m trying to provide understanding on WHY when you’re trying to get Xdebug working. Sometimes following a guide and just running a few commands on your computer doesn’t teach you much about what’s going on, and if it …

PHP debugging using Xdebug Read More »

gateio

Math.floor is what you use to round numbers down to their nearest whole number. Making it so you end up with an integer. With negative numbers the number is brought to a lower value, so -3.21 would be rounded down to -4. When rounding down regular numbers, it will look like this. Although this is …

Round down in Javascript with Math.floor Read More »