Message from JavaScript discussions

March 2019

— document.body.innerHTML = ""

— 

I am trying to add custom inline css in reactjs, I googled and found the following code can be followed. But this renders [object Object] in the style tag. I am not sure why this is happending. this is the code
`<form className={this.props.formClass}>
<div stlye={{ textColor: this.props.messageClass, padding: 5 }}>
{this.props.message !== "" ? this.props.message : ""}
</div>
<ul>
{inputs}
<li>{button}</li>
</ul>
</form>`

— The div with style attribute is not being renderned properly !

— You have a typo: it says stlye

— 😅😅 thanks, sorry for the question

— Np :)

— We have reached 1k members! 🎉
Thank you all for being part of this! We started this journey in March 15, 2016 and I hope we can stay around helping and sharing more and more.

Message permanent page

— Only 9 members. Hmm

— Wdym?

— 1001 in decimal is 9.

— Nice, I didn’t see that coming.

— Spectacular