---
title: "bot5am (@bot5am) | Hashnode"
description: "The Myth of Sisyphus. Recovering Perfectionist. Real Progress vs. Fantastic Delusions. Read the latest articles by bot5am on Hashnode."
url: "https://hashnode.com/@bot5am"
---

@bot5am

# bot5am

@bot5am · metaverse · Joined June 2019

The Myth of Sisyphus. Recovering Perfectionist. Real Progress vs. Fantastic Delusions.

### [How to Get the File Size of an Image imported by CSS Background URL Method in Javascript](https://bot5am.hashnode.dev/how-to-get-the-file-size-of-an-image-imported-by-css-background-url-method-in-javascript?utm_source=hashnode&utm_medium=feed)

The HTML and CSS Here is the HTML <div id="hello" class="container1"></div> <div id="hello" class="container2"></div> We have two <div> elements with different classes applied to them. But they both share the same id hello The CSS: .container1 { ...

5 min read · [bot5am.hashnode.dev](https://bot5am.hashnode.dev/how-to-get-the-file-size-of-an-image-imported-by-css-background-url-method-in-javascript?utm_source=hashnode&utm_medium=feed)

[Dec 23, 2022](https://hashnode.com/posts/how-to-get-the-file-size-of-an-image-imported-by-css-background-url-method-in-javascript/63a5f6d5c561add8ea1b5e6b)

### [Day 9 of 100 - .indexOf()](https://bot5am.hashnode.dev/day-9-of-100-indexof?utm_source=hashnode&utm_medium=feed)

Learnt 1 JS Feature .indexOf() Syntax: arr.indexOf(searchElement\[, fromIndex\]) The indexOf() method returns the first index at which a given element can be found in the array, or -1 if it is not present. searchElement Element to locate in the ar...

[bot5am.hashnode.dev](https://bot5am.hashnode.dev/day-9-of-100-indexof?utm_source=hashnode&utm_medium=feed)

[May 22, 2020](https://hashnode.com/posts/day-9-of-100-indexof/5ec80087627c645c120afa08)

### [Day 8 of 100 - Autocomplete .filter()](https://bot5am.hashnode.dev/day-8-of-100-autocomplete-filter?utm_source=hashnode&utm_medium=feed)

Learnt 1 JS Feature Built 1 JS App JS Features .filter() .includes() .filter() Array.prototype.filter Syntax: let newArray = arr.filter(callback(element\[, index, \[array\]\])\[, thisArg\]) . Parameters . callback Function is a predicate, to test each ...

[bot5am.hashnode.dev](https://bot5am.hashnode.dev/day-8-of-100-autocomplete-filter?utm_source=hashnode&utm_medium=feed)

[May 21, 2020](https://hashnode.com/posts/day-8-of-100-autocomplete-filter/5ec7a069a7a2c43b12374e26)

### [Day 7 of 100 - Flexbox #2](https://bot5am.hashnode.dev/day-7-of-100-flexbox-2?utm_source=hashnode&utm_medium=feed)

Learnt 1 CSS Feature Flexbox align-items: flex-start flex-end\` center baseline stretch https://codepen.io/samir-patnaik/pen/GRpPzLd

[bot5am.hashnode.dev](https://bot5am.hashnode.dev/day-7-of-100-flexbox-2?utm_source=hashnode&utm_medium=feed)

[May 19, 2020](https://hashnode.com/posts/day-7-of-100-flexbox-2/5ec57cfdc3a6003a777e3be9)

### [Day 4 of 100 - window.setTimeout()](https://bot5am.hashnode.dev/day-4-of-100-windowsettimeout?utm_source=hashnode&utm_medium=feed)

Learnt 1 JS Feature Built 1 CSS + JS UI Element Javascript WindowOrWorkerGlobalScope.setTimeout() window.setTimeout(() => { var tooltip = document.querySelector('\[class="tooltip open"\]'); if (tooltip !== null) { tooltip.classList.remo...

[bot5am.hashnode.dev](https://bot5am.hashnode.dev/day-4-of-100-windowsettimeout?utm_source=hashnode&utm_medium=feed)

[May 17, 2020](https://hashnode.com/posts/day-4-of-100-windowsettimeout/5ec1883aa4db0c222f222d0e)
