Repo erstellt

master
chwrba 2024-01-19 09:16:42 +01:00
parent 8e8225799c
commit ee4319401f
6 changed files with 48 additions and 0 deletions

5
.idea/.gitignore vendored 100644
View File

@ -0,0 +1,5 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/my_computer.iml" filepath="$PROJECT_DIR$/.idea/my_computer.iml" />
</modules>
</component>
</project>

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
<excludeFolder url="file://$MODULE_DIR$/temp" />
<excludeFolder url="file://$MODULE_DIR$/tmp" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

15
index.html 100644
View File

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mein Computer</title>
<link href="main.css" rel="stylesheet" />
<script src="logic.js"></script>
</head>
<body>
<h1 id="myh">Hallo</h1>
<button onclick="alertHallo()">Klick mich</button>
</body>
</html>

5
logic.js 100644
View File

@ -0,0 +1,5 @@
function alertHallo(){
//alert("Hallo!");
document.getElementById("myh").innerText = "Tschüß";
}

3
main.css 100644
View File

@ -0,0 +1,3 @@
#myh {
color: blue;
}