---
title: "Mohit Saud (@mohitsaud) | Hashnode"
description: "Aspiring Software Developer. Read the latest articles by Mohit Saud on Hashnode."
url: "https://hashnode.com/@mohitsaud"
---

@mohitsaud

# Mohit Saud

@mohitsaud · Nepal · Joined January 2022

Aspiring Software Developer

### [What happens if Id and Class are applied to the same and have conflicting?](https://mohitsaud.hashnode.dev/what-happens-if-id-and-class-are-applied-to-the-same-and-have-conflicting?utm_source=hashnode&utm_medium=feed)

Learned from Free Code Camp's Responsive Web Design:One cool thing about id attributes is that, like classes, you can style them using CSS. However, an id is not reusable and should only be applied to one element. An id also has a higher specificity ...

1 min read · [mohitsaud.hashnode.dev](https://mohitsaud.hashnode.dev/what-happens-if-id-and-class-are-applied-to-the-same-and-have-conflicting?utm_source=hashnode&utm_medium=feed)

[Jan 25, 2022](https://hashnode.com/posts/what-happens-if-id-and-class-are-applied-to-the-same-and-have-conflicting/61efc5da87fd2728e7cd2bbb)

### [Handling Mongoose errors in a smart way](https://mohitsaud.hashnode.dev/handling-mongoose-errors-in-a-smart-way?utm_source=hashnode&utm_medium=feed)

Instead of using third-party applications or using your own code, there is another way to handle errors like Duplicate Key Error, Mongoose bad ObjectId and others. First create a Class like this:class ErrorResponse extends Error {constructor(messa...

1 min read · [mohitsaud.hashnode.dev](https://mohitsaud.hashnode.dev/handling-mongoose-errors-in-a-smart-way?utm_source=hashnode&utm_medium=feed)

[Jan 22, 2022](https://hashnode.com/posts/handling-mongoose-errors-in-a-smart-way/61eb93955fbc177f9f3b3afd)
