I'm Harshith.
23 |WEB DESIGNER
24 |Web designer and developer
25 |Just a newbie developer in a learning process
26 |please do contact me if you are interested in my work
27 | Hire Me 28 |
31 | ├── portfolio ├── bg.jpg ├── boy.png ├── logo.png ├── index.html └── style.css ├── landingpage ├── travelbg.jpg └── index.html └── calculator ├── index.js ├── styles.css └── index.html /portfolio/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshithss07/CODESOFT/HEAD/portfolio/bg.jpg -------------------------------------------------------------------------------- /portfolio/boy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshithss07/CODESOFT/HEAD/portfolio/boy.png -------------------------------------------------------------------------------- /portfolio/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshithss07/CODESOFT/HEAD/portfolio/logo.png -------------------------------------------------------------------------------- /landingpage/travelbg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Harshithss07/CODESOFT/HEAD/landingpage/travelbg.jpg -------------------------------------------------------------------------------- /calculator/index.js: -------------------------------------------------------------------------------- 1 | //calculator program 2 | 3 | const display=document.getElementById("display"); 4 | 5 | function appendToDisplay(input){ 6 | display.value += input; 7 | } 8 | 9 | function clearDisplay(){ 10 | display.value = ""; 11 | } 12 | 13 | function calculate(){ 14 | display.value = eval(display.value); 15 | } -------------------------------------------------------------------------------- /calculator/styles.css: -------------------------------------------------------------------------------- 1 | body{ 2 | margin: 0; 3 | display: flex; 4 | justify-content: center; 5 | align-items: center; 6 | height: 100vh; 7 | background-color: hsl(0, 0%, 95%); 8 | } 9 | #calculator{ 10 | font-family: Arial, sans-serif; 11 | background-color: hsl(0, 0%, 15%); 12 | border-radius: 15px; 13 | max-width: 500px; 14 | overflow: hidden; 15 | } 16 | #display{ 17 | width: 100%; 18 | padding: 25px; 19 | font-size: 5rem; 20 | text-align: left; 21 | border: none; 22 | background-color: hsl(0, 0%, 20%); 23 | color: white; 24 | } 25 | #keys{ 26 | display: grid; 27 | grid-template-columns: repeat(4, 1fr); 28 | gap: 10px; 29 | padding: 25px; 30 | } 31 | button{ 32 | width: 100px; 33 | height: 100px; 34 | border-radius: 50px; 35 | border: none; 36 | background-color:hsl(0, 0%, 30%); 37 | color: white; 38 | font-size: 3rem; 39 | font-weight: bold; 40 | cursor: pointer; 41 | } 42 | button:hover{ 43 | background-color: hsl(0, 0%, 40%); 44 | } 45 | button:active:{ 46 | background-color: hsl(0, 0%, 50%); 47 | } 48 | .operator-btn{ 49 | background-color: hsl(35, 100%, 55%); 50 | } 51 | .operator-btn:hover{ 52 | background-color: hsl(35, 100%, 65%); 53 | } 54 | .operator-btn:active{ 55 | background-color: hsl(35, 100%, 75%); 56 | } -------------------------------------------------------------------------------- /portfolio/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 |
31 |