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

Hactoberfest #4

Open
wants to merge 1 commit into
base: master
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
11 changes: 10 additions & 1 deletion index.html → Hactoberfest2020index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,16 @@

<body>

<h1>Array Visualization</h1>
<img src="img/hack.jpeg">
<h2>Hacktoberfest is a "month-long celebration of open source software." It's organized by DigitalOcean and DEV and open to anyone. In my experience, Hacktoberfest is an easy way for users of open source to become contributors to open source.</h2>
<p style="text-align: center;">To Visit Offiaial page of <strong>Hacktoberfest</strong> <a href="https://hacktoberfest.digitalocean.com/">Click Here</a></p>

<h4>The project below is the part if this event.</h4>


<hr>

<h1>Array Visualization</h1>


<br>
Expand Down
107 changes: 107 additions & 0 deletions Hactoberfest2020index.html.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="index.css" />
<script src="index.js"></script>
<script>
function allowDrop(ev) {
ev.preventDefault();
}

function drag(ev) {
ev.dataTransfer.setData("text", ev.target.id);
}

function drop(ev) {
ev.preventDefault();
var data = ev.dataTransfer.getData("text");
ev.target.appendChild(document.getElementById(data));
}
</script>
</head>

<body>

<img src="img/hack.jpeg">
<h2>Hacktoberfest is a "month-long celebration of open source software." It's organized by DigitalOcean and DEV and open to anyone. In my experience, Hacktoberfest is an easy way for users of open source to become contributors to open source.</h2>
<p style="text-align: center;">To Visit Offiaial page of <strong>Hacktoberfest</strong> <a href="https://hacktoberfest.digitalocean.com/">Click Here</a></p>

<h4>The project below is the part if this event.</h4>


<hr>

<h1>Array Visualization</h1>


<br>


<section id="box" class="first">
<div class="container-each">
<p>0</p>
<div class="container" ondrop="drop(event)" ondragover="allowDrop(event)"></div>
</div>
<div class="container-each">
<p>1</p>
<div class="container" ondrop="drop(event)" ondragover="allowDrop(event)"></div>
</div>
<div class="container-each">
<p>2</p>
<div class="container" ondrop="drop(event)" ondragover="allowDrop(event)"></div>
</div>
<div class="container-each">
<p>3</p>
<div class="container" ondrop="drop(event)" ondragover="allowDrop(event)"></div>
</div>
<div class="container-each">
<p>4</p>
<div class="container" ondrop="drop(event)" ondragover="allowDrop(event)"></div>
</div>
<!-- <div class="container-each">
<p>5</p>
<div class="container" ondrop="drop(event)" ondragover="allowDrop(event)"></div>
</div>
<div class="container-each">
<p>6</p>
<div class="container" ondrop="drop(event)" ondragover="allowDrop(event)"></div>
</div>
<div class="container-each">
<p>7</p>
<div class="container" ondrop="drop(event)" ondragover="allowDrop(event)"></div>
</div> -->


</section>
<section class="element-holder">
<div id="drag1" draggable="true" ondragstart="drag(event)" class="each-block">
<p>1</p>
</div>
<div id="drag2" draggable="true" ondragstart="drag(event)" class="each-block">
<p>2</p>
</div>
<div id="drag3" draggable="true" ondragstart="drag(event)" class="each-block">
<p>3</p>
</div>
<div id="drag4" draggable="true" ondragstart="drag(event)" class="each-block">
<p>4</p>
</div>
<div id="drag5" draggable="true" ondragstart="drag(event)" class="each-block">
<p>5</p>
</div>
<div id="drag6" draggable="true" ondragstart="drag(event)" class="each-block">
<p>+</p>
</div>
</section>
<section class="button-holder">
<button type="button">Add New Row</button>

</section>


</body>

</html>
Binary file added img/hack.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.