Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_version control #73

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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>

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-->

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>