blog.shams-nahid.comThe Comprehensive Guide to REST API Architecture and ConventionsConsider that we are interacting with multiple entities. We should build the API path as follows, domain + /API + /Version + /Entity + /ID Parameter [Optional] + /SubEntity + /ID Parameter + ? + fromDate=01/02/2022 + & + endDate=02/02/2022 For instan...May 9, 2025·3 min read
blog.shams-nahid.comJavaScript Loading Strategies in Web Page: async and defer<script> tags are used to download and execute JavaScript on a web page. Consider these three operations on a web page: HTML Parsing JavaScript Download JavaScript Execution We can manipulate the sequence of these phases using the following attr...Apr 26, 2025·2 min read
blog.shams-nahid.comDOM PositioningOverview static: Default position. It does not allow setting properties like top, bottom, left, right, z-index relative: Acts the same as static. but allows positioning it relatively by putting properties like top, bottom, left, right, z-index absolu...Apr 25, 2025·2 min read
blog.shams-nahid.comCSS Selector SpecificityOverview When an element in the browser has a conflict of styles, the browser uses a set of rules to determine which style should be rendered. This set of rules is defined as CSS Selector Specificity. For instance, for an element, if we have the foll...Apr 25, 2025·2 min read
blog.shams-nahid.comUnderstanding CSS Display PropertyIn CSS, display is one of the most used CSS properties. As a value of display property, most commons are none, block, inline, inline-block and flex. Additionally, in different cases, grid, table, table-row, table-cell and list-item are used. Responsi...Sep 13, 2024·2 min read