File tree 1 file changed +27
-30
lines changed
1 file changed +27
-30
lines changed Original file line number Diff line number Diff line change @@ -3,37 +3,34 @@ import { h } from "preact";
3
3
4
4
export default function Home ( ) {
5
5
return (
6
- < div >
7
- < a href = "https://www.active-connector.com/" >
8
- < img
9
- src = "/logo.png"
10
- alt = "Active Connector company logo"
11
- />
12
- </ a >
13
- < h2 >
14
- Skill Test (Software Engineer)
15
- </ h2 >
16
-
17
- < p >
18
- < input type = "text" id = "jobInput" />
19
- </ p >
20
- < button id = "search" onclick = "search()" > Search</ button >
6
+ < div >
7
+ < a href = "https://www.active-connector.com/" >
8
+ < img
9
+ src = "/logo.png"
10
+ alt = "Active Connector company logo"
11
+ />
12
+ </ a >
13
+ < h2 >
14
+ Skill Test (Software Engineer)
15
+ </ h2 >
16
+ < p >
17
+ < input type = "text" id = "jobInput" />
18
+ </ p >
19
+ < button id = "search" onclick = "search()" > Search</ button >
20
+ < script >
21
+ function search(){
22
+ var input = document . getElementById ( "jobInput" ) . value
21
23
22
-
23
- < script >
24
- function search(){
25
- var input = document . getElementById ( "jobInput" ) . value
26
-
27
- if ( input == "engineer" ) {
28
- document . getElementById ( "div" ) . innerText = "Job \"engineer\" is open for you!"
29
- } else {
30
- document . getElementById ( "div" ) . innerText = "Job \"" + input + "\" is not available"
31
- }
32
-
33
- location.replace("http://localhost:8000/jobs/" + input)
34
- }
35
- </ script >
36
- </ div >
24
+ if ( input == "engineer" ) {
25
+ document . getElementById ( "div" ) . innerText = "Job \"engineer\" is open for you!"
26
+ } else {
27
+ document . getElementById ( "div" ) . innerText = "Job \"" + input + "\" is not available"
28
+ }
29
+
30
+ location.replace("http://localhost:8000/jobs/" + input)
31
+ }
32
+ </ script >
33
+ </ div >
37
34
38
35
) ;
39
36
}
You can’t perform that action at this time.
0 commit comments