-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
77a548d
commit 20463e1
Showing
2 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Document</title> | ||
<title>Scientific Calculator</title> | ||
<link rel="stylesheet" href="style.css"> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" | ||
integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous"> | ||
|
@@ -23,11 +23,18 @@ <h1 class="text-center mt-3">Scientific Calculator</h1> | |
</div> | ||
<div class="input p-3"> | ||
<div class="row justify-content-center"> | ||
<button class="btn col-2 mx-md-2 mx-1 mb-2" onclick="percentage()">e</button> | ||
<button class="btn col-2 mx-md-2 mx-1 mb-2" onclick="factorial()">sin</button> | ||
<button class="btn col-2 mx-md-2 mx-1 mb-2" onclick="parenthesesOpen()">cos</button> | ||
<button class="btn col-2 mx-md-2 mx-1 mb-2" onclick="parenthesesClose()">tan</button> | ||
<button class="btn col-2 mx-md-2 mx-1 mb-2" onclick="clearData()">AC</button> | ||
</div> | ||
<div class="row justify-content-center"> | ||
<button class="btn col-2 mx-md-2 mx-1 mb-2" >π</button> | ||
<button class="btn col-2 mx-md-2 mx-1 mb-2" onclick="factorial()">x!</button> | ||
<button class="btn col-2 mx-md-2 mx-1 mb-2" onclick="parenthesesOpen()">(</button> | ||
<button class="btn col-2 mx-md-2 mx-1 mb-2" onclick="parenthesesClose()">)</button> | ||
<button class="btn col-2 mx-md-2 mx-1 mb-2" onclick="percentage()">%</button> | ||
<button class="btn col-2 mx-md-2 mx-1 mb-2" onclick="clearData()">AC</button> | ||
</div> | ||
<div class="row justify-content-center"> | ||
<button class="btn col-2 mx-md-2 mx-1 mb-2" onclick="logNatural()">ln</button> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters