Skip to content

Commit 2587436

Browse files
save file
1 parent 62a342e commit 2587436

File tree

1 file changed

+3
-3
lines changed
  • blog/25-07-24/http-server/ex

1 file changed

+3
-3
lines changed

blog/25-07-24/http-server/ex/ex1.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@
142142

143143
res.writeHead(200,{'content-type':'text/html'});
144144
res.end(`
145-
146-
<h3>hello</h3>
147-
145+
<style>html{font-family:arial}</style>
146+
<h3>It Works!</h3>
147+
<h4 style='color:blue'>hello</h4>
148148
`);
149149

150150
}//hello

0 commit comments

Comments
 (0)