File tree Expand file tree Collapse file tree 2 files changed +2
-26
lines changed Expand file tree Collapse file tree 2 files changed +2
-26
lines changed Original file line number Diff line number Diff line change 10
10
content ="Web site created using create-react-app "
11
11
/>
12
12
< link rel ="apple-touch-icon " href ="%PUBLIC_URL%/logo192.png " />
13
- <!--
14
- manifest.json provides metadata used when your web app is installed on a
15
- user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
16
- -->
17
13
< link rel ="manifest " href ="%PUBLIC_URL%/manifest.json " />
18
- <!--
19
- Notice the use of %PUBLIC_URL% in the tags above.
20
- It will be replaced with the URL of the `public` folder during the build.
21
- Only files inside the `public` folder can be referenced from the HTML.
22
-
23
- Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
24<
8000
/code>
- work correctly both with client-side routing and a non-root public URL.
25
- Learn how to configure a non-root public URL by running `npm run build`.
26
- -->
27
- < title > React App</ title >
14
+ < title > Github Search JS</ title >
28
15
</ head >
29
16
< body >
30
- < noscript > You need to enable JavaScript to run this app.</ noscript >
31
17
< div id ="root "> </ div >
32
- <!--
33
- This HTML file is a template.
34
- If you open it directly in the browser, you will see an empty page.
35
-
36
- You can add webfonts, meta tags, or analytics to this file.
37
- The build step will place the bundled scripts into the <body> tag.
38
-
39
- To begin the development, run `npm start` or `yarn start`.
40
- To create a production bundle, use `npm run build` or `yarn build`.
41
- -->
42
18
</ body >
43
19
</ html >
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export default class Main extends Component {
30
30
containerName . setAttribute ( 'id' , 'containerName' ) ;
31
31
32
32
let buttonElement = document . createElement ( 'button' ) ;
33
- buttonElement . setAttribute ( 'id' , ' buttonElement' ) ;
33
+ buttonElement . setAttribute ( "id" , " buttonElement" ) ;
34
34
buttonElement . setAttribute ( 'onclick' , `${ window . open ( html_url , '_blank' ) } ` ) ;
35
35
let textElement = document . createTextNode ( 'Acessar' ) ;
36
36
buttonElement . appendChild ( textElement ) ;
You can’t perform that action at this time.
0 commit comments