How to Lint Code and Prose in Documentation
Shahed Nasser's Blog
by Shahed Nasser
1y ago
An essential part of the documentation is being consistent. You must be consistent with how you write and present your documents and the information in them. This includes both the written content and the code blocks. Your documentation should follow a style guide that keeps your content across pages consistent. However, ensuring that your content follows the style guide manually is difficult. You might easily miss small mistakes here and there. This is especially the case when your documentation is open source, where contributors can make fixes or changes to it. This article covers the diffe ..read more
Visit website
How to Track the Rank of Keywords in Google SERPs using Python
Shahed Nasser's Blog
by Manthan Koolwal
1y ago
Keyword rank tracking is very common in the world of marketing. Many marketing teams use expensive tools to track their website ranks for multiple keywords on a regular basis. Since they have to do it on a daily basis this comes quite costly for new businesses, individuals, or startups. So in this post, we will create a crawler that will keep you updated with your latest rank on any keyword you want to track. We will create a web scraper to scrape google search results using python. I am assuming that you have already installed python on your computer. We will begin with coding the web scrape ..read more
Visit website
How to Get Elements From the DOM Using JavaScript
Shahed Nasser's Blog
by Shahed Nasser
1y ago
While creating a website and working with JavaScript, you'll often need to get access to elements in the DOM for different purposes. This tutorial shows you different ways to get an element from the DOM using JavaScript. getElementById The getElementById() method allows you to retrieve an element from the DOM using the element's ID. If no element exists in the DOM with the supplied ID, null will be returned instead. For example: const mainElement = document.getElementById('main'); getElementsByTagName The getElementsByTagName() allows you to retrieve an HTMLCollection of elements that have ..read more
Visit website
How to Become a Technical Writer?
Shahed Nasser's Blog
by Shahed Nasser
1y ago
This year I transitioned from a full-stack developer to a technical writer. I started casually looking into technical writing and building my experience in it the year before until I realized that this was the path for me and decided to make the change. This article explains briefly what technical writing is, and how you can become a technical writer. What is Technical Writing? Technical writing is the practice of writing down an explanation of how something technical works or can be used. It can be in the format of a blog post or software documentation. For someone to become a technical writ ..read more
Visit website
What are Events in JavaScript and How to Handle Them?
Shahed Nasser's Blog
by Shahed Nasser
1y ago
Events in JavaScript allow developers to listen for changes in the document and handle them as necessary. For example, you can listen to when a button is clicked to open a modal. Another example is showing the "scroll up" button when the user scrolls halfway through the page. This article helps beginners understand what Events are in JavaScript and how to handle them. Why Use Events Modern websites have evolved to be interactive and reactive. Instead of presenting information or functionalities all at once, some can be shown to the user based on a specific action performed. The example mentio ..read more
Visit website
React (TanStack) Query Tutorial for Beginners
Shahed Nasser's Blog
by Shahed Nasser
1y ago
React Query (now rebranded to TanStack Query) is a React library used to make fetching and manipulating server-side data easier. Using React Query, you can implement, along with data fetching, caching, and synchronization of your data with the server. In this tutorial, you'll build a simple Node.js server and then learn how to interact with it on a React website using React Query. Please note that this version uses v4 of React Query which is now named TanStack Query. You can find the code for this tutorial in this GitHub repository. Prerequisites Before starting with this tutorial make sure y ..read more
Visit website
What are Prime Numbers?
Shahed Nasser's Blog
by Mohammad Nasser
1y ago
Prime numbers, by definition, are integers that could not be decomposed into two new numbers. In Number theory, a prime number P is an integer that has just two divisors: 1 and P. There is no known sequence in mathematics that could describe the chain of prime numbers. A long period ago, Mathematicians had a lot of challenges to prove that a number is prime. Moreover, a mathematician now could do new research that could be published in great journals just if he found a new prime number! The largest known prime number till now (May 2022) is the number 2^{82,589,933 }− 1, which has 24,862,048 d ..read more
Visit website
Beginner's Guide to Kubernetes: Understand the Basics
Shahed Nasser's Blog
by Shajith
1y ago
You probably have heard the term Kubernetes, somewhere or the other. K8S is an abbreviated form for Kubernetes, starting with the letter ‘K’, Ending with ‘S’, and has 8 characters between the letters, hence the name. In this blog, we will discuss what they are, how they are used, what is the workflow they have, and whether every application needs it. What is Kubernetes? Kubernetes is an open-source project initially developed by Google. It is a container orchestration tool. It can be used using on-premise systems, VMs, and clouds. Kubernetes is also provided as a service by many providers lik ..read more
Visit website
How to Create and Deploy a Documentation Website With Docusaurus and Netlify
Shahed Nasser's Blog
by Shahed Nasser
2y ago
Documentation websites are used to help people learn about your product or solution. More specifically for developers, it's an important resource to help other developers learn more about your tool and understand better how to use it. In this tutorial, you'll learn how to create documentation with Docusaurus. This documentation website will have features such as multi-language code blocks and local search. You'll then deploy the website with Netlify. Prerequisites Docusaurus requires Node.js version 14.3 or above. If you don't have Node.js installed you can install it from their website. To d ..read more
Visit website
Local Storage vs Cookies: What's the Difference?
Shahed Nasser's Blog
by Shahed Nasser
2y ago
Cookies in JavaScript are used to read from and store small data related to the user on the browser. Local Storage allows you to also read from and store data related to the user on the browser using JavaScript's Storage API. In this article, you'll learn about some of the main differences between local storage and cookies and which you should choose for your websites. What are Cookies? Cookies are pieces of data that are communicated between the server and the browser in the header of requests. This allows the server to learn more information about the user accessing the website but also giv ..read more
Visit website

Follow Shahed Nasser's Blog on FeedSpot

Continue with Google
Continue with Apple
OR