Quotes help make search much faster. Example: "Practice Makes Perfect"

Tuesday, May 9, 2017

Codecademy Learn ReactJS: Part 1 Exercise 12 of 15


<!--sample solution to index.html-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/styles.css">
<title>Learn ReactJS</title>
</head>

<body>
  <span id="container"></span>
  <script src="/app.compiled.js"></script>
</body>

</html>


//sample solution to app.js
var React = require('react');
var ReactDOM = require('react-dom');

// Write code here:
ReactDOM.render(<h1>Render me!</h1>, document.getElementById('container'));

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts