Advertisement
ShadowEmbrace

zad_1-5_1

Sep 11th, 2024
437
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.41 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.     <title>Document</title>
  7. </head>
  8. <body>
  9.     <h1 id="title1">Initial Title</h1>
  10.     <button onclick="changeTitle()">Change Title</button>
  11.  
  12.     <p id="p1">It was a bright cold day in April, and the clocks were striking thirteen. Winston Smith, his chin nuzzled into his breast in an effort to escape the vile wind, slipped quickly through the glass doors of Victory Mansions, though not quickly enough to prevent a swirl of gritty dust from entering along with him.
  13.     </p>
  14.     <p id="p2">BIG BROTHER IS WATCHING YOU, the caption said, while the dark eyes looked deep into Winston’s own. Down at street level another poster, torn at one corner, flapped fitfully in the wind, alternately covering and uncovering the single word INGSOC. In the far distance a helicopter skimmed down between the roofs, hovered for an instant like a bluebottle, and darted away again with a curving flight. It was the police patrol, snooping into people’s windows. The patrols did not matter, however. Only the Thought Police mattered.</p>
  15.    
  16.     <button onclick="changeColorPText()">Change color /text/</button>
  17.     <button onclick="changeColorPBg()">Change color /background/</button>
  18.     <button onclick="switchText()">Switch text</button>
  19.  
  20.     <script src="main.js"></script>
  21. </body>
  22. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement