Skip to content

Commit

Permalink
Merge pull request #1 from rishabh-malik/master
Browse files Browse the repository at this point in the history
Updated_1
  • Loading branch information
vivek2188 authored Oct 5, 2018
2 parents 0ace479 + 48f0993 commit 7b337bb
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 0 deletions.
51 changes: 51 additions & 0 deletions HTML/hello-world.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Hacktoberfest 2018 | Hello Word</title>
</head>

<body>
<style>
body {
color: #fff;
background-color: #522b3f;
}

section {
width: 100vw;
height: 100vh;
display: grid;
align-items: center;
justify-content: center;
align-content: center;
text-align: center;
font-size: 16px;
}

h1 {
margin-bottom: 0;
font-size: 5rem;
font-family: cursive;
}

p {
color: #f8a45a;
font-size: 1.2rem;
font-family: monospace;
border-top: 2px solid #5afdff;
box-sizing: border-box;
padding: 1.2rem;
margin: 0 auto;
width: 90%;
}
</style>
<section>
<h1>Hello World</h1>
<p>Hacktoberfest 2018</p>
</section>
</body>

</html>
3 changes: 3 additions & 0 deletions Javascript/uniqueElements.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const uniqueElements = arr => [...new Set(arr)];

uniqueElements([1, 2, 2, 3, 4, 4, 5]);
9 changes: 9 additions & 0 deletions Python/sqaureNMultiply.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
def squareNMultiply(base,exp,mod):
f = 1
while exp > 0:
i = exp%2
f = (f*f) % mod
if i == 1:
f = (f*base) % mod
exp = exp/2
return f

0 comments on commit 7b337bb

Please sign in to comment.