Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
cristian4699 committed Jul 15, 2024
1 parent 1902fd3 commit 2232df0
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 122 deletions.
25 changes: 25 additions & 0 deletions client/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!-- Carga React -->
<script crossorigin src="https://unpkg.com/react@16/umd/react.production.min.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script>

<title>C&P</title>
</head>
<body>
<p>Hola mundo</p>

<div id="root"> </div>

<script type="text/babel">
const divRoot = document.querySelector('#root');
const h1Tag = <h1> Hola mundo </h1>;
ReactDOM.render( h1Tag, divRoot);
</script>
</body>
</html>
38 changes: 0 additions & 38 deletions client/src/App.css

This file was deleted.

27 changes: 0 additions & 27 deletions client/src/App.js

This file was deleted.

8 changes: 0 additions & 8 deletions client/src/App.test.js

This file was deleted.

13 changes: 0 additions & 13 deletions client/src/index.css

This file was deleted.

18 changes: 1 addition & 17 deletions client/src/index.js
Original file line number Diff line number Diff line change
@@ -1,17 +1 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
console.log("Hola mundo 2");
1 change: 0 additions & 1 deletion client/src/logo.svg

This file was deleted.

13 changes: 0 additions & 13 deletions client/src/reportWebVitals.js

This file was deleted.

5 changes: 0 additions & 5 deletions client/src/setupTests.js

This file was deleted.

0 comments on commit 2232df0

Please sign in to comment.