diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 2b03226..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 Meisgithub - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/images/git-logo.png b/images/git-logo.png new file mode 100644 index 0000000..daf4806 Binary files /dev/null and b/images/git-logo.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..b65f42e --- /dev/null +++ b/index.html @@ -0,0 +1,55 @@ + + + + Git Demo + + + +
+ +

We are learning Git.

+
+ +
+

Terminologys

+
+
    +
  1. +
  2. +
  3. +
  4. +
  5. +
  6. +
  7. +
  8. +
  9. +
  10. +
+
+

Basic Commands

+
+
    +
  1. config
  2. +
  3. +
  4. +
  5. +
  6. +
  7. +
  8. +
  9. +
  10. +
  11. +
+
+ +
+ + + + + + diff --git a/js/script.js b/js/script.js new file mode 100644 index 0000000..ab80565 --- /dev/null +++ b/js/script.js @@ -0,0 +1,15 @@ +var acc = document.getElementsByClassName("accordion"); +var i; + +for (i = 0; i < acc.length; i++) { + acc[i].onclick = function(){ + this.classList.toggle("active"); + var panel = this.nextElementSibling; + if (panel.style.display === "block") { + panel.style.display = "none"; + } else { + panel.style.display = "block"; + } + } +} + diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..7c2bad2 --- /dev/null +++ b/readme.md @@ -0,0 +1,2 @@ +Hi,we are learning Git together. +Have a good time! diff --git a/styles/styles.css b/styles/styles.css new file mode 100644 index 0000000..ef3f137 --- /dev/null +++ b/styles/styles.css @@ -0,0 +1,50 @@ +body{ + background-color: orange; + font-family: 'Monaco', sans-serif; + color: white; +} + +body a{ + color: white; +} + +header{ + text-align: center; + margin-top: 50px; +} + +h3{ + color: red; +} + +header-img{ + width: 400px; +} + +header-words{ + line-height: 10px; + font-size: 50px; + font-family: 'Monaco', sans-serif; + margin-bottom: 75px; +} + +section{ + padding: 0 50px 0px 50px; + text-align: left; +} + +div.accordion { + cursor: pointer; + border: none; + outline: none; +} + +div.accordion.active, div.accordion:hover { + background-color: white; + color: #1D2031; +} + +div.panel { + padding: 0 18px 0 0; + display: none; +}