Posts

Creating Your Portfolio Website

Image
 Hello, fellow developers and aspiring developers all around the world. First of all, if you see this article, I hope you doing well. Let's dive into the main thing this blog is being written about. Having your own portfolio website can bring you as many clients to your work. The following is my portfolio website:  Portfolio . The website is created using Next.js, a framework for React.js with Styled-Components for the CSS and hosted on Vercel. There is no backend used for the website. The link for the source code is  Source Code .                                                       Figure: Image for My Portfolio Website Also, I have a Blog website. Check this:  Blog   Suppose you want to create your own portfolio website with blog posts on the site. This is how I would have created my own Blog website ...

MongoDB shell version v4.4.4 connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed: SocketException: Error connecting to 127.0.0.1:27017 :: caused by :: No connection could be made because the target machine actively refused it. : connect@src/mongo/shell/mongo.js:374:17 @(connect):2:6 exception: connect failed exiting with code 1

 Solution for windows :  The solution that worked for me is: Opened the  Task Manager  ( ctrl + shift + esc ) ->  Services  tab and  there was a MongoDB row  with the  status stopped . Then I  right-clicked and clicked start  and everything worked perfectly  😀 https://stackoverflow.com/a/53635485/6393408

First Backend Website

Image
 Today I built a website that shows the current temperature of any location using Express Node.js. This is the first complete website that I understood mostly each and every portion of the code except some of the CSS code. Took many hours to write this code and of course, took breaks in between writing codes. And the website looks like as shown in the figure below:

Promises in JavaScript

Image
 Code :  // resolve // reject // pending console . log ( "We are at tutorial 39b" ); // Pretend that this response is coming from the server const   students =[     { name : "Ram" ,  subject : "JavaScript" },     { name : "Rohan" ,  subject : "Machine Learning" } ] function   enrollStudent ( student ){      return   new   Promise ( function ( resolve ,  reject ){          setTimeout ( function (){              students . push ( student );              console . log ( "Student has been enrolled" );              const   error = false ;       ...

History for the Indian Cricket Team

 Today, January 19, 2021, has been written into the history of the Indian Cricket Team as they beat Australian Cricket Team by 3 wickets. With the team struggling with injuries, the team gave a debut to likes of Washington Sundar, who batted and bowled confidentially throughout the match. Shubman Gill produced limelight throughout the whole series. He batted beautifully and confidentially. Actually, the team received set back when the whole team was bowled out only for 36 runs in the second innings of the first test match which eventually they lost. Surely, then the players played as a team when it mattered the most. Ajinkya Rahane batted beautifully and made good decisions. Mohammad Siraj was magnificent throughout the series. He must have made his father proud who passed a few days back. Chetwesar Pujara, Shardul Thakur and Ravindra Jadeja when mattered the most. Chetwesar Pujara obviously frustrated Aussie bowlers throughout the series. Rishab Pant who was trolled for many reaso...
Image
              Hello everybody, this is my GitHub profile :   Click Here 👉👉  My GitHub Profile  ðŸ‘ˆðŸ‘ˆ

Covid 19 - Stay Home Stay Safe

  Corona viruses are a large family of viruses which may cause illness in animals or humans. In humans, several coronaviruses are known to cause respiratory infections ranging from the common cold to more severe diseases such as Middle East Respiratory Syndrome (MERS) and Severe Acute Respiratory Syndrome (SARS). The most recently discovered coronavirus causes coronavirus disease COVID-19. What is COVID-19 COVID-19 is the infectious disease caused by the most recently discovered corona virus. This new virus and disease were unknown before the outbreak began in Wuhan, China, in December 2019. What are the symptoms of COVID-19 The most common symptoms of COVID-19 are fever, tiredness, and dry cough. Some patients may have aches and pains, nasal congestion, runny nose, sore throat or diarrhea. These symptoms are usually mild and begin gradually. Some people become infected but don’t develop any symptoms and don't feel unwell. Most people (about 80%) recover from the disease without ne...