Rebuilding VSC

return (
<div className="App">
<header className="App-header">
{moment().format('MMMM Do YYYY, hh:mm:ss a')}
</header>
<p className="App-intro">
In React apps, we write JSX - it looks like HTML, and uses a lot of HTML syntax.
JSX lets us include JavaScript functions right along with the HTML, and also
allows us to add in components, which are separate, self-contained chunks of JSX.
</p>
<ExampleComponent />
</div>
);
return (
<div className="App">
<header className="App-header">
Now
{/* {moment().format('MMMM Do YYYY, hh:mm:ss a')} */}
</header>
<p className="App-intro">
In React apps, we write JSX - it looks like HTML, and uses a lot of HTML syntax.
JSX lets us include JavaScript functions right along with the HTML, and also
allows us to add in components, which are separate, self-contained chunks of JSX.
</p>
<ExampleComponent />
<TestComponent />
</div>
);
import React, { Component } from 'react';class App extends Component {
render() {
// your code in the return statement below!
return (
<div className="App">
<CatComponent />
<GraceHopperQuoteComponent />

</div>
); }
}

export default App;
import React, { Component } from 'react';
import CatComponent from './CatComponent.js'
import {GraceHopperQuoteComponent} from './GraceHopperQuoteComponent.js'
import MouseComponent from './MouseComponent.js'
class App extends Component {
render() {
// your code in the return statement below!
return (
<div className="App">
<CatComponent />
<GraceHopperQuoteComponent />
<MouseComponent />
</div>
); }
}

export default App;

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Advanced debugging techniques for NodeJS applications

How to Become a Web Developer in 2021

Making Themes in Next.js Project using TailwindCSS

Writing Regex in JSX, without releasing Zalgo

Part 2: ZAF & Next.js — Deploy and Upload

10 Things of javascript

Angular — roles based protected page assets!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Parker Williamson

Parker Williamson

More from Medium

I fell in love with a war

Eliena: Hi @MindaugasSi Good day 🤗

Saudi Adventures to Put on your Bucket List

Canton Woman Wins $500K on Moneybag Multiplier