Latest XKCD Comic
+
+
+ Loading…
+diff --git a/fetch/programmer-humour/index.html b/fetch/programmer-humour/index.html new file mode 100644 index 00000000..09736e93 --- /dev/null +++ b/fetch/programmer-humour/index.html @@ -0,0 +1,18 @@ + + +
+ + +Loading…
+Could not load the comic. Please try again later.
`; + } +} + +getLatestComic(); diff --git a/fetch/programmer-humour/style.css b/fetch/programmer-humour/style.css new file mode 100644 index 00000000..ee1feeb2 --- /dev/null +++ b/fetch/programmer-humour/style.css @@ -0,0 +1,25 @@ +body { + font-family: Arial, sans-serif; + background: #f4f4f4; + margin: 0; + padding: 20px; + line-height: 1.6; +} + +h1 { + text-align: center; +} + +#comic-container { + display: flex; + flex-direction: column; + align-items: center; + max-width: 900px; + margin: 20px auto; +} + +#comic-container img { + max-width: 100%; + border: 2px solid #333; + border-radius: 8px; +}