---
title: "Ratan Sharma (@rat211) | Hashnode"
description: "Student. Read the latest articles by Ratan Sharma on Hashnode."
url: "https://hashnode.com/@rat211"
---

@rat211

# Ratan Sharma

@rat211 · Mumbai, India · Joined March 2023

Student

### [React Lesson #5 - Components](https://ratansharma.co.in/react-lesson-5-components?utm_source=hashnode&utm_medium=feed)

Hands-on tutorial - making react components

3 min read · [ratansharma.co.in](https://ratansharma.co.in/react-lesson-5-components?utm_source=hashnode&utm_medium=feed)

[Apr 7, 2024](https://hashnode.com/posts/react-lesson-5-components/6612f3f6e64ade7f0d080d9a)

### [React Lesson #4 - Inline Styling for React Elements](https://ratansharma.co.in/react-lesson-4-inline-styling-for-react-elements?utm_source=hashnode&utm_medium=feed)

We normally write inline CSS like this: <h1 style="color: red"> Hello World </h1> But, in JSX we cannot write it like this since a lot of things are happening on the background. It will give an error saying that we are trying to pass a string. JSX ...

2 min read · [ratansharma.co.in](https://ratansharma.co.in/react-lesson-4-inline-styling-for-react-elements?utm_source=hashnode&utm_medium=feed)

[Apr 7, 2024](https://hashnode.com/posts/react-lesson-4-inline-styling-for-react-elements/66126f836ca765852941b972)

### [React Lesson #3 - JSX Attributes & Styling React Elements](https://ratansharma.co.in/react-lesson-3-jsx-attributes-styling-react-elements?utm_source=hashnode&utm_medium=feed)

Our goal is to change the color of this heading to red: Before moving forward, let's organize the file structure and the basic HTML structure. index.html <!DOCTYPE html> <html lang="en"> <head> <title>JSX</title> <link rel="stylesheet" h...

1 min read · [ratansharma.co.in](https://ratansharma.co.in/react-lesson-3-jsx-attributes-styling-react-elements?utm_source=hashnode&utm_medium=feed)

[Apr 6, 2024](https://hashnode.com/posts/react-lesson-3-jsx-attributes-styling-react-elements/661188e8b9db14bb6c3c0a98)

### [React Lesson #2 - More on JSX, ES6 Template Literals](https://ratansharma.co.in/react-lesson-2-more-on-jsx-es6-template-literals?utm_source=hashnode&utm_medium=feed)

By using JSX, we can insert HTML inside JavaScript and JavaScript inside that HTML. Before moving forward make sure you have these codes/files in the following structure: index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8...

2 min read · [ratansharma.co.in](https://ratansharma.co.in/react-lesson-2-more-on-jsx-es6-template-literals?utm_source=hashnode&utm_medium=feed)

[Apr 4, 2024](https://hashnode.com/posts/react-lesson-2-more-on-jsx-es6-template-literals/660f11c5c722dcf5152f5ed3)

### [React Lesson #1 - Hello World! (JSX)](https://ratansharma.co.in/react-lesson-1?utm_source=hashnode&utm_medium=feed)

Printing our first "Hello World" on the webpage using React.

1 min read · [ratansharma.co.in](https://ratansharma.co.in/react-lesson-1?utm_source=hashnode&utm_medium=feed)

[Apr 4, 2024](https://hashnode.com/posts/react-lesson-1/660ee1fa31188f74da5f4bd3)
