Spaces and Carriage Returns are not working in my Markdown Previewer

Tell us what’s happening:
Y’all I’ve been beating my head against this problem for a week now, and I cannot figure out what I’m doing wrong. Some markup features are working, but spaces and hitting the enter key have ABSOLUTELY NO EFFECT on what is shown in the previewer. Furthermore, I cannot seem to make lists (ordered or unordered) or blockquotes work properly either. WHAT AM I DOING WRONG???

Your code so far
https://codepen.io/ballek/pen/RwWxymR

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36.

Challenge: Build a Markdown Previewer

Link to the challenge:

Hello,

It looks like your stylesheet is causing this because you are setting padding and margin to 0 for everything and removing list-styles.

* {
  margin: 0;
  padding: 0;
  list-style: none;
  vertical-align: baseline;
}
1 Like

HOISTED BY MY OWN PITARD this made everything work perfectly, thanks so much for taking a look, friend!

1 Like