# React-Redux Markdown previewer

**URL:** <https://forum.freecodecamp.org/t/react-redux-markdown-previewer/439311>\
**Category:** I Built This\
**Created:** [January 7, 2021, 9:44am UTC](https://forum.freecodecamp.org/t/react-redux-markdown-previewer/439311 "2021-01-07T09:44:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bedward](https://avatars.discourse-cdn.com/v4/letter/b/f4b2a3/32.png) [@bedward](https://forum.freecodecamp.org/u/bedward)\
**Post date:** [January 7, 2021, 9:44am UTC](https://forum.freecodecamp.org/t/react-redux-markdown-previewer/439311/1 "2021-01-07T09:44:31Z")

</div>

Greetings!  
link to the full:  
[https://codepen.io/BedwardVedicci/full/XWjYmLq](https://codepen.io/BedwardVedicci/full/XWjYmLq)

link to the pen:  
[https://codepen.io/BedwardVedicci/pen/XWjYmLq](https://codepen.io/BedwardVedicci/pen/XWjYmLq)

---

<div class="post-metadata">

**Author:** ![Roma](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/roma/32/112899_2.png) [@Roma](https://forum.freecodecamp.org/u/Roma)\
**Post date:** [January 7, 2021, 3:45pm UTC](https://forum.freecodecamp.org/t/react-redux-markdown-previewer/439311/2 "2021-01-07T15:45:12Z")

</div>

Your previewer looks good @bedward. Something to revisit;

It’s okay that a code block takes up the page width but it makes markdown hard to read when an inline code takes up the full page width too.

Put the following two paragraphs in your previewer to see what I mean.  
In general, an `id` is typically used when you want to target HTML elements with JavaScript. A `class` is used to style the page. You can use an `id` to style the page if you want but know that it has more weight than a `class` does and the `id` will override a `class` targeting the same element.  
In your own personal projects that you create outside of freeCodeCamp some people recommend only using a `class` to style the page and an `id` if using JavaScript in your project. However, JavaScript can target a `class` too, so you may not need `id`'s that much in your personal projects.

On a side note, the test script should be included, with all tests passing, when you submit your projects.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [July 9, 2021, 3:45am UTC](https://forum.freecodecamp.org/t/react-redux-markdown-previewer/439311/3 "2021-07-09T03:45:25Z")

</div>

Closed on July 9, 2021, 3:45am UTC

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
