javascript
const javascript = 'Hello world';
console.log(javascript);
javascript
const javascript = 'Hello world';
console.log(javascript);
javascript
const javascript = 'Hello world';
console.log(javascript);
javascript
// import styled from "styled-components";
const Component = styled.div`
color: red;
`;
render(
<Component
as="button"
onClick={() => alert('It works! Can be customised too!')}
>
Hello World!
</Component>
)// import styled from "styled-components";
const Component = styled.div` color: red;`;
render( <Component as="button" onClick={() => alert('It works!')} > Hello World! </Component>)
/**
* Reset the text fill color so that placeholder is visible
*/
.npm__react-simple-code-editor__textarea:empty {
-webkit-text-fill-color: inherit !important;
}
/**
* Hack to apply on some CSS on IE10 and IE11
*/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
/**
* IE doesn't support '-webkit-text-fill-color'
* So we use 'color: transparent' to make the text transparent on IE
* Unlike other browsers, it doesn't affect caret color in IE
*/
.npm__react-simple-code-editor__textarea {
color: transparent !important;
}
.npm__react-simple-code-editor__textarea::selection {
background-color: #accef7 !important;
color: transparent !important;
}
}
Hello World!
javascript
// import styled from "styled-components";
const Component = styled.div`
color: red;
`;
render(
<Component
as="button"
onClick={() => alert('It works! Can be customised too!')}
>
Hello World!
</Component>
)// import styled from "styled-components";
const Component = styled.div` color: red;`;
render( <Component as="button" onClick={() => alert('It works!')} > Hello World! </Component>)
/**
* Reset the text fill color so that placeholder is visible
*/
.npm__react-simple-code-editor__textarea:empty {
-webkit-text-fill-color: inherit !important;
}
/**
* Hack to apply on some CSS on IE10 and IE11
*/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
/**
* IE doesn't support '-webkit-text-fill-color'
* So we use 'color: transparent' to make the text transparent on IE
* Unlike other browsers, it doesn't affect caret color in IE
*/
.npm__react-simple-code-editor__textarea {
color: transparent !important;
}
.npm__react-simple-code-editor__textarea::selection {
background-color: #accef7 !important;
color: transparent !important;
}
}
Hello World!
javascript
// create
TestClass.prototype.hello = function () { return 'world'; };
var tc = new TestClass('test');
console.log(tc.hello())
// world
javascript
// create
TestClass.prototype.hello = function () { return 'world'; };
var tc = new TestClass('test');
console.log(tc.hello())
// world
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us