Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions 01_05/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
</head>
<body></body>
</html>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<title>Version Control Test</title>

Hello World

This is a test for version control.

<script> // Adding a new paragraph to the body const newParagraph = document.createElement('p'); newParagraph.textContent = 'This paragraph was added using JavaScript.'; document.body.appendChild(newParagraph); // Changing the text of the existing h1 element const heading = document.getElementById('main-heading'); heading.textContent = 'Hello JavaScript'; // Adding an event listener to the heading heading.addEventListener('click', () => { alert('Heading was clicked!'); }); // Logging a message to the console to indicate the script ran console.log('Script executed and HTML was manipulated.'); </script>

<!--just added to test version control-->
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<title>Version Control Test</title>

Hello World

This is a test for version control.

<script> // Adding a new paragraph to the body const newParagraph = document.createElement('p'); newParagraph.textContent = 'This paragraph was added using JavaScript.'; document.body.appendChild(newParagraph); // Changing the text of the existing h1 element const heading = document.getElementById('main-heading'); heading.textContent = 'Hello JavaScript'; // Adding an event listener to the heading heading.addEventListener('click', () => { alert('Heading was clicked!'); }); // Logging a message to the console to indicate the script ran console.log('Script executed and HTML was manipulated.'); </script>