Last active
          March 12, 2020 16:11 
        
      - 
      
 - 
        
Save elijahmanor/51c0a1ffda41f9b9d87170618044582d to your computer and use it in GitHub Desktop.  
    react-playground
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <div id="app"></div> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "scripts": [ | |
| "react", | |
| "react-dom" | |
| ], | |
| "styles": [ | |
| "font-awesome" | |
| ] | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | function App() { | |
| return <div> | |
| <h1>Hi, I'm GistPad 👋</h1> | |
| <p>Feel free to edit the HTML, JavaScript and CSS in this playground. The preview will update in real-time, so that you can visually explore your ideas.</p> | |
| <button onClick={() => alert("Hi!")}>Say Hi <span className="fa fa-heart" /></button> | |
| </div>; | |
| } | |
| ReactDOM.render(<App />, document.getElementById("app")); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | body { | |
| background-color: lightblue; | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment