# Failing github format test no 5 and 6

**URL:** <https://forum.freecodecamp.org/t/failing-github-format-test-no-5-and-6/401302>\
**Category:** General\
**Created:** [June 9, 2020, 8:44pm UTC](https://forum.freecodecamp.org/t/failing-github-format-test-no-5-and-6/401302 "2020-06-09T20:44:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShaheenHuzir](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/shaheenhuzir/32/107941_2.png) [@ShaheenHuzir](https://forum.freecodecamp.org/u/ShaheenHuzir)\
**Post date:** [June 9, 2020, 8:44pm UTC](https://forum.freecodecamp.org/t/failing-github-format-test-no-5-and-6/401302/1 "2020-06-09T20:44:11Z")

</div>

```auto
let header = '# Heading level 1';
let header2 = '## Heading level 2';
let link = '[Duck Duck Go](https://duckduckgo.com)';
let inlineCode = `foo`;
let codeBlock =
  '``Use `x=y y= z z=u` in your Markdown file.\n`\n`\n`\n`\n` `hello` \n`\n`\n`';
let listItem = '1. First item 2.Second item 3. Third item 4. Fourth item ';
let blockQuote = '\n> # Foo \n>bar \n> baz';
let picture =
  '![P!](https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-12/256/eagle.png "logo")';
let boldText = ' **bold text**.';

marked.setOptions({
  gfm: true,
});

let markText =
  header +
  '\n\t' +
  header2 +
  '\n\t' +
  link +
  '\n\t' +
  inlineCode +
  '\n\t' +
  codeBlock +
  '\n\t' +
  listItem +
  '\n\t' +
  blockQuote +
  '\n\t' +
  picture +
  '\n\t' +
  boldText;

class Marker extends React.Component {
  constructor(props) {
    super(props);
    this.state = {
      text: markText,
    };
  }

  changeText = (e) => {
    this.setState({
      text: e.target.value,
    });
  };

  render() {
    let { text } = this.state;

    return (
      <div className='container'>
        <textarea
          id='editor'
          className='screen'
          onChange={(e) => {
            this.changeText(e);
          }}
          type='text'
          value={text}
        />
        <div id='hello'></div>
        <div
          id='preview'
          className='screen'
          dangerouslySetInnerHTML={{ __html: marked(text) }}
        />
      </div>
    );
  }
}

export default Marker;

```

Failing test no 5 and no 6 .

I have done everything possible

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 6:50pm UTC](https://forum.freecodecamp.org/t/failing-github-format-test-no-5-and-6/401302/2 "2021-06-01T18:50:14Z")

</div>

Closed on June 1, 2021, 6:50pm UTC


