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
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 2 additions & 1 deletion 01_05/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Console demo</title>
<script src="script.js" defer></script>
</head>
<body></body>
<script src="script.js" defer></script>
</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>

2 changes: 1 addition & 1 deletion 02_02/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Module demo</title>
<script src="script.js"></script>
</head>
<body></body>
<script src="script.js"></script>
</html>
Loading