Skip to content

Commit fe12a13

Browse files
authored
Merge branch 'swapnilsparsh:master' into simon-game
2 parents cf78916 + a8b3dcb commit fe12a13

13 files changed

Lines changed: 1994 additions & 0 deletions

File tree

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Bug Report
2+
description: Report a bug you found
3+
title: "[Bug Title here] "
4+
labels: "bug"
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to fill out this bug report!
10+
11+
- type: textarea #description
12+
attributes:
13+
label: What happened?
14+
description: Also tell us, what did you expect to happen?
15+
placeholder: Tell us what you see!
16+
validations:
17+
required: true
18+
19+
- type: textarea #reproduce
20+
attributes:
21+
label: How can we reproduce this bug?
22+
description: Are there any specific steps you had to take in order to trigger the bug, and what is the expected behaviour we should expect?
23+
placeholder: Kindly elaborate.
24+
validations:
25+
required: true
26+
27+
- type: textarea #desktop info
28+
attributes:
29+
label: Desktop Information (Optional)
30+
description: Please provide the desktop configuration (OS,Browser, dependency version etc)
31+
placeholder: Type here.
32+
33+
- type: dropdown #urgent
34+
attributes:
35+
label: Urgency (Optional)
36+
description: How urgent do you think it is to fix this bug?
37+
options:
38+
- Low priority
39+
- Medium priority
40+
- High priority
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Feature Request
2+
description: Request/Suggest any feature you think is missing
3+
title: "Title: "
4+
labels: "Feature Request"
5+
body:
6+
- type: textarea #description
7+
attributes:
8+
label: Is your feature request related to a problem? Please describe.
9+
description: A clear and concise description of what the problem is.
10+
placeholder: Ex. I'm always frustrated when [...]
11+
validations:
12+
required: true
13+
14+
- type: textarea #solution
15+
attributes:
16+
label: Describe the solution you'd like.
17+
description: A clear and concise description of what you want to happen.
18+
placeholder: Kindly elaborate.
19+
validations:
20+
required: true
21+
22+
- type: textarea #alternatives
23+
attributes:
24+
label: Describe alternatives you've considered.
25+
description: A clear and concise description of any alternative solutions or features you've considered.
26+
placeholder: Type here.
27+
validations:
28+
required: true
29+
30+
- type: textarea #Additional Context
31+
attributes:
32+
label: Add any other context or screenshots about the feature request here.
33+
description: Any miscellaneous suggestions you'd like to give.

.github/workflows/assign.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Assign
2+
on:
3+
issue_comment:
4+
created:
5+
body:
6+
- /assign
7+
8+
jobs:
9+
auto-assign:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: 'Auto-assign issue'
13+
uses: pozil/auto-assign-issue@v1.4.0
14+
with:
15+
assignees: octocat,cat,dog
16+
numOfAssignee: 2

.github/workflows/greetings.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Greetings
2+
3+
on: [pull_request, issues]
4+
5+
jobs:
6+
greeting:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
issues: write
10+
pull-requests: write
11+
steps:
12+
- uses: actions/first-interaction@v1
13+
with:
14+
repo-token: ${{ secrets.GITHUB_TOKEN }}
15+
issue-message: 'Thank you for opening your first issue in our repository, one of our maintainers will get in touch with you soon.'
16+
pr-message: 'Thank you for opening your first pull request in our repository, one of our maintainers will get in touch with you soon.'

30DaysOfJavaScript/assets/54.png

87.4 KB
Loading

30DaysOfJavaScript/assets/55.png

836 KB
Loading
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<title>Project Idea Generator</title>
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
8+
<meta name="description" content="A tool to generate your next programming side project">
9+
<meta name="keywords" content="Coding, Side Project, Project, Programming, Learning, Tutorials, Computer Science">
10+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
11+
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
12+
<link href="src/css/styles.css" rel="stylesheet">
13+
</head>
14+
<body>
15+
<h1><span class="title">Project Idea Generator</span></h1>
16+
<h2>
17+
Generate your next coding project <i class="fa fa-code"></i><br />
18+
<br />
19+
<strong>Note:</strong> Some projects may be in a specific language but you can try doing them in a language you like!
20+
</h2>
21+
22+
<div id="project-generation">
23+
<button id="generate-project">New Idea!</button>
24+
<p id="new-project"></p>
25+
</div>
26+
27+
<div id="new-idea">
28+
<h3>Have your own project ideas?</h3>
29+
<a href="https://github.com/Asmit2952/Project-Idea-Generator.git" target="_blank"><button id="give-idea">Contribute here <i class="fa fa-github" aria-hidden="true"></i></button></a>
30+
</div>
31+
32+
<script type="text/javascript" src="src/js/main.js"></script>
33+
<script type="text/javascript" src="src/js/projects.js"></script>
34+
</body>
35+
</html>
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
* {
2+
box-sizing: border-box;
3+
padding: 10px
4+
}
5+
body {
6+
position: relative;
7+
margin: 0;
8+
padding: 0;
9+
font-family: 'Poppins', sans-serif;
10+
text-align: center;
11+
color: black;
12+
background: #3498DB;
13+
}
14+
15+
h1 {
16+
display: block;
17+
font-family: 'Poppins', sans-serif;
18+
text-align: center;
19+
}
20+
21+
h2 {
22+
font-weight: 500;
23+
font-size: 24px;
24+
}
25+
26+
.fa-code {
27+
font-size: 30px;
28+
font-weight: bolder;
29+
color: white;
30+
}
31+
32+
h3 {
33+
font-weight: 500;
34+
}
35+
36+
a {
37+
color: inherit;
38+
text-decoration: underline;
39+
}
40+
41+
p {
42+
color: white;
43+
}
44+
45+
.title {
46+
font-weight: 600;
47+
color: white;
48+
font-size: 54px;
49+
padding: 0 16px;
50+
}
51+
52+
#generate-project {
53+
padding: 15px 40px;
54+
background: none;
55+
border: 3px solid white;
56+
border-radius: 10px;
57+
font-family: 'Poppins', sans-serif;
58+
font-size: 24px;
59+
cursor: pointer;
60+
transition: all 0.3s ease;
61+
}
62+
63+
#generate-project:hover {
64+
background: white;
65+
}
66+
67+
#give-idea {
68+
padding: 10px 20px;
69+
background: none;
70+
border: 3px solid white;
71+
border-radius: 10px;
72+
font-family: 'Poppins', sans-serif;
73+
font-size: 16px;
74+
cursor: pointer;
75+
transition: all 0.3s ease;
76+
}
77+
78+
.fa-github {
79+
font-size: 20px;
80+
font-weight: 600;
81+
}
82+
83+
#give-idea:hover {
84+
background: white;
85+
}
86+
87+
#new-project {
88+
margin-top: 20px;
89+
font-size: 44px;
90+
}
91+
92+
#project-generation {
93+
font-size: 50px;
94+
}
95+
96+
#project-generation span {
97+
margin-top: 70px;
98+
}
99+
100+
ul li {
101+
list-style-type: none;
102+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
document.getElementById("generate-project").addEventListener(
2+
"click",
3+
function() {
4+
let project = projects[Math.floor(Math.random() * projects.length)];
5+
let link = document.getElementById('new-project')
6+
7+
if (project.link !== "") {
8+
link.innerHTML = `
9+
<a href="${project.link}" target="_blank">${project.title}</a>
10+
`;
11+
} else {
12+
link.innerHTML = `${project.title}`;
13+
};
14+
}
15+
);

0 commit comments

Comments
 (0)