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

Added a new feature - " Tools and Language " #6

Open
wants to merge 2 commits 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
49 changes: 48 additions & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ form button {
#Form3 {
display: none;
}

#Form4 {
display: none;
}
.step-row {
width: 100%;
height: 50px;
Expand Down Expand Up @@ -388,3 +390,48 @@ input:checked + .slider:before {
.slider.round:before {
border-radius: 50%;
}
.checkbox{
display: inline-flex;
align-items: center;
cursor: pointer;
outline:#f04446
}

.checkbox input{
display: none;
}

.checkmark{
width: 0.64em;
height: 0.64em;
border: 2px solid #fc115f;
border-radius: 30px;
align-items: center;
justify-content: center;
margin-right: 10px;
flex-shrink: 0;
}

.checkmark:after{
content: "";
position: absolute;
display: none;
}
.container input:checked ~ .checkmark :after {
display: block;
}
.container input:checked ~ .checkmark {
background-color: #fc115f;
}
.container .checkmark:after {
border: solid #fc115f;
}
.checkboxes{
padding: 5px;
width: 105px;
white-space: nowrap;

}
.upper{
padding-top: 10px;
}
211 changes: 210 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
<div class="step-col"><small>Step 1</small></div>
<div class="step-col"><small>Step 2</small></div>
<div class="step-col"><small>Step 3</small></div>
<div class="step-col"><small>Step 4</small></div>

</div>
<!-- Form 1 -->
<form id="Form1">
Expand Down Expand Up @@ -143,6 +145,213 @@ <h3 class="center">About You</h3>
</form>
<!-- Form 3 -->
<form id="Form3">
<h3 class="center">Languages</h3>
<div class="upper">
<div class="checkboxes">
<label for="c" class="checkbox">
<input type="checkbox" id="c" class="checkbox input" >
<div class="checkmark"></div>
C
</label>

<label for="c++" class="checkbox">
<input type="checkbox" id="c++" class="checkbox input" >
<div class="checkmark"></div>
C++
</label>
<label for="java" class="checkbox">
<input type="checkbox" id="java" class="checkbox input" >
<div class="checkmark"></div>
Java
</label>
<label for="python" class="checkbox">
<input type="checkbox" id="python" class="checkbox input" >
<div class="checkmark"></div>
Python
</label>
</div>
<div class="checkboxes">
<label for="C#" class="checkbox">
<input type="checkbox" id="C#" class="checkbox input" >
<div class="checkmark"></div>
C#
</label>

<label for="js" class="checkbox">
<input type="checkbox" id="js" class="checkbox input" >
<div class="checkmark"></div>
JS
</label>
<label for="r" class="checkbox">
<input type="checkbox" id="r" class="checkbox input" >
<div class="checkmark"></div>
R
</label>
<label for="sql" class="checkbox">
<input type="checkbox" id="sql" class="checkbox input" >
<div class="checkmark"></div>
SQL
</label>
</div>
<div class="checkboxes">
<label for="go" class="checkbox">
<input type="checkbox" id="go" class="checkbox input" >
<div class="checkmark"></div>
Go
</label>

<label for="swift" class="checkbox">
<input type="checkbox" id="swift" class="checkbox input" >
<div class="checkmark"></div>
Swift
</label>
<label for="css" class="checkbox">
<input type="checkbox" id="css" class="checkbox input" >
<div class="checkmark"></div>
CSS
</label>
<label for="html" class="checkbox">
<input type="checkbox" id="html" class="checkbox input" >
<div class="checkmark"></div>
HTML
</label>
</div>
<div class="checkboxes">
<label for="kotlin" class="checkbox">
<input type="checkbox" id="kotlin" class="checkbox input" >
<div class="checkmark"></div>
Kotlin
</label>

<label for="dart" class="checkbox">
<input type="checkbox" id="dart" class="checkbox input" >
<div class="checkmark"></div>
dart
</label>
<label for="cobol" class="checkbox">
<input type="checkbox" id="cobol" class="checkbox input" >
<div class="checkmark"></div>
Cobol
</label>
<label for="matlab" class="checkbox">
<input type="checkbox" id="matlab" class="checkbox input" >
<div class="checkmark"></div>
MATLAB
</label>
</div>
<div class="checkboxes">
<label for="shell" class="checkbox">
<input type="checkbox" id="shell" class="checkbox input" >
<div class="checkmark"></div>
Shell
</label>

<label for="julia" class="checkbox">
<input type="checkbox" id="julia" class="checkbox input" >
<div class="checkmark"></div>
Julia
</label>
<label for="typescript" class="checkbox">
<input type="checkbox" id="typescript" class="checkbox input" >
<div class="checkmark"></div>
TypeScript
</label>
<label for="fortran" class="checkbox">
<input type="checkbox" id="fortran" class="checkbox input" >
<div class="checkmark"></div>
Fortran
</label>
</div>
<div class="checkboxes">
<label for="asm" class="checkbox">
<input type="checkbox" id="asm" class="checkbox input" >
<div class="checkmark"></div>
ASM
</label>

<label for="mongodb" class="checkbox">
<input type="checkbox" id="mongodb" class="checkbox input" >
<div class="checkmark"></div>
MongoDB
</label>
<label for="rust" class="checkbox">
<input type="checkbox" id="rust" class="checkbox input" >
<div class="checkmark"></div>
Rust
</label>
<label for="sas" class="checkbox">
<input type="checkbox" id="sas" class="checkbox input" >
<div class="checkmark"></div>
SAS
</label>
</div>
<div class="checkboxes">
<label for="nodejs" class="checkbox">
<input type="checkbox" id="nodejs" class="checkbox input" >
<div class="checkmark"></div>
Node JS
</label>

<label for="angular" class="checkbox">
<input type="checkbox" id="angular" class="checkbox input" >
<div class="checkmark"></div>
Angular
</label>
<label for="lua" class="checkbox">
<input type="checkbox" id="lua" class="checkbox input" >
<div class="checkmark"></div>
Lua
</label>
<label for="elixir" class="checkbox">
<input type="checkbox" id="elixir" class="checkbox input" >
<div class="checkmark"></div>
Elixr
</label>
</div>
</div>
<h3 class="center">Tools</h3>
<div class="upper">
<div class="checkboxes">
<label for="photoshop" class="checkbox">
<input type="checkbox" id="photoshop" class="checkbox input" >
<div class="checkmark"></div>
Photoshop
</label>

<label for="figma" class="checkbox">
<input type="checkbox" id="figma" class="checkbox input" >
<div class="checkmark"></div>
Figma
</label>
<label for="illustrator" class="checkbox">
<input type="checkbox" id="illustrator" class="checkbox input" >
<div class="checkmark"></div>
Illustrator
</label>
<label for="canva" class="checkbox">
<input type="checkbox" id="canva" class="checkbox input" >
<div class="checkmark"></div>
Canva
</label>
</div>
<div class="checkboxes">
<label for="premiere" class="checkbox">
<input type="checkbox" id="premiere" class="checkbox input" >
<div class="checkmark"></div>
Premiere
</label>
</div>
</div>

<div class="btn-box">
<button type="button" id="Back2">Back</button>
<button type="button" id="Next3">Next</button>
</div>
</p>
</form>

<!-- Form 4 -->
<form id="Form4">
<h3 class="center">Social Links</h3>
<p class="message"><i
class="fa fa-info-circle tooltip">
Expand Down Expand Up @@ -183,7 +392,7 @@ <h3 class="center">Social Links</h3>
</label>
</div>
<div class="btn-box">
<button type="button" id="Back2">Back</button>
<button type="button" id="Back3">Back</button>
<button type="button" onclick="readme()">Submit</button>
</div>
</form>
Expand Down
20 changes: 16 additions & 4 deletions js/afterload.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,41 @@
const Form1 = document.getElementById('Form1'),
Form2 = document.getElementById('Form2'),
Form3 = document.getElementById('Form3'),
Form4 = document.getElementById('Form4'),
Next1 = document.getElementById('Next1'),
Next2 = document.getElementById('Next2'),
Next3 = document.getElementById('Next3'),
Back1 = document.getElementById('Back1'),
Back2 = document.getElementById('Back2'),
progress = document.getElementById('progress');

Next1.onclick = function () {
Form1.style.display= 'none';
Form2.style.display = 'block';
progress.style.width = '270px';
progress.style.width = '240px';
};
Back1.onclick = function () {
Form1.style.display = 'block';
Form2.style.display = 'none';
progress.style.width = '135px';
progress.style.width = '125px';
};
Next2.onclick = function () {
Form2.style.display = 'none';
Form3.style.display = 'block';
progress.style.width = '500px';
progress.style.width = '350px';
};
Back2.onclick = function () {
Form2.style.display = 'block';
Form3.style.display = 'none';
progress.style.width = '250px';
progress.style.width = '240px';
};
Next3.onclick = function () {
Form3.style.display = 'none';
Form4.style.display = 'block';
progress.style.width = '500px';
};
Back3.onclick = function () {
Form3.style.display = 'block';
Form4.style.display = 'none';
progress.style.width = '350px';
};
Loading