How to find screen size in JavaScript?

How to find screen size in JavaScript?

Today we will learn how to deal with the screen size in JavaScript. Sometimes there is a need to know the height or width of the device’s screen and the scenarios can be to hide/show any element or perform different click operation based on the screen size that could include opening a different popups/modals based … Read more

Add/Create a Search Icon Inside Input Box with HTML and CSS

Create a Search Icon Inside Input Box with HTML and CSS

There’s hardly any website nowadays that you’ll come across which doesn’t have a search button. And it has become one of the most important elements of a website now. Keeping a search icon inside the input box gives users a more clear idea that the input box is created for searching something. Every website has … Read more

LRU Page Replacement Algorithm in C with Output of Program

LRU Page Replacement Algorithm in C with Output of Program

The processes in an operating system occupy dedicated memory and the memory is divided into smaller parts called pages. On demand of the CPU, these pages are brought from secondary memory to primary memory and this is done using an algorithm which is discussed elaborately in this article. Paging is primarily used for memory management … Read more

Optimal Page Replacement Algorithm in C with Output of Program

Optimal Page Replacement Algorithm in C with Output of Program

The processes in an operating system occupy dedicated memory and the memory is divided into smaller parts called pages. On demand of the CPU, these pages are brought from secondary memory to primary memory and this is done using an algorithm which is discussed elaborately in this article. In operating systems, when new pages are … Read more

Pure CSS Sticky Header | HTML with Demo

Pure CSS Sticky Header

A sticky header is a navigation bar or a menu bar which remains on top of our web page even when we scroll down. In simpler words, a sticky header remains fixed on top of the page. This allows users to access other routes easily without scrolling back to top. Sticky headers cover a significant … Read more