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

titan2.jpg image added #359

Open
wants to merge 4 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
Binary file added Task1/img/titan2.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions Task1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@ <h6 class="text-center">(Collaborator)</h6>
<div class="row">
<!-- paste below this line -->
<!-- start row -->
<div class="col-md-2 col-sm-6 my-12 mx-auto p-relative bg-white shadow-1 blue-hover mycard mycard" style="width: 360px; overflow: hidden; border-radius: 1px;">
<img src="./img/titan2.jpg" class="pic w-full">
<div class="card-body">
<h5 class="card-title text-center">Enter Your Name</h5>
<div class="text-center">
<a href="Your Github Home URL"><i class="fa fa-github-square icon fa-3x"></i></a>
<a href="Your LinkedIn Profile URL"><i class="fa fa-linkedin-square fa-3x"></i></a>
</div>
</div>
</div>

<div class="col-md-2 col-sm-6 my-12 mx-auto p-relative bg-white shadow-1 blue-hover mycard mycard"
style="width: 360px; overflow: hidden; border-radius: 1px;">
Expand Down
15 changes: 15 additions & 0 deletions Task3/javascript/factorial.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//to find factoial of a number 10
function factorial(n){
let answer = 1;
if (n == 0 || n == 1){
return answer;
}else{
for(var i = n; i >= 1; i--){
answer = answer * i;
}
return answer;
}
}
let n = 10;
answer = factorial(n)
console.log("The factorial of " + n + " is " + answer);