---
title: "Discussion on \"Getting Started with React: Understanding Ternary Operators, Lists, and Styling in react\" | Hashnode"
description: "Discussion on \"Getting Started with React: Understanding Ternary Operators, Lists, and Styling in react\". Learn how to use ternary operator, logical and operator, map in react"
url: "https://hashnode.com/posts/getting-started-with-react-understanding-ternary-operators-lists-and-styling-in-react/63d75d3638c3bcb791318673"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Getting Started with React: Understanding Ternary Operators, Lists, and Styling in react](https://abhinandanmishra1.hashnode.dev/getting-started-with-react-understanding-ternary-operators-lists-and-styling-in-react?utm_source=hashnode&utm_medium=feed)

Learn how to use ternary operator, logical and operator, map in react

Jan 30, 2023 · 6 min read · abhinandanmishra1.hashnode.dev  
Updated Feb 13, 2023  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#react](https://hashnode.com/tag/react)
-   [#styling](https://hashnode.com/tag/styling)
-   [#css](https://hashnode.com/tag/css)
-   [#best-practices](https://hashnode.com/tag/best-practices)

## Written by

[Abhinandan Mishra](https://hashnode.com/@abhinandanmishra1)

@abhinandanmishra1 · Gorakhpur, India

  
[View profile](https://hashnode.com/@abhinandanmishra1)

Full Stack Developer | Loves Frontend Development

Fullstack Developer | CSS | JavaScript | React | Angular | Web3

## Responses 2

Markdown supported · ⌘↵ to post

[Rahul Ahuja](https://hashnode.com/@rahulahuja)

[Feb 19, 2023](https://hashnode.com/posts/getting-started-with-react-understanding-ternary-operators-lists-and-styling-in-react/63d75d3638c3bcb791318673/comment/63f20ff3b03d6d90b68aa59d)

Easy to understand! thanks for sharing! One would find this article helpful for Render in React JS: [blog.geekster.in/difference-between-render-and-re…](https://blog.geekster.in/difference-between-render-and-return-method-in-reactjs/)

[Niranjan Singh](https://hashnode.com/@Niranjan018)

[Jan 30, 2023](https://hashnode.com/posts/getting-started-with-react-understanding-ternary-operators-lists-and-styling-in-react/63d75d3638c3bcb791318673/comment/63d76bf4e7e4ee42376ee701)

This really helped me in understanding the concept in an easy & faster way.

[Abhinandan Mishra](https://hashnode.com/@abhinandanmishra1)

[Jan 30, 2023](https://hashnode.com/posts/getting-started-with-react-understanding-ternary-operators-lists-and-styling-in-react/63d75d3638c3bcb791318673/comment/63d76bf4e7e4ee42376ee701#reply-63d77059e7c69a3e5b2dbe40)

Thanks Niranjan 😊
