How to Create Normal Calculator through HTML

Create Normal Calculator through HTML

How to Create Normal Calculator through HTML MTML code for Calculator: <!DOCTYPE html><html lang=”en”><head><meta charset=”UTF-8″><meta name=”viewport” content=”width=device-width, initial-scale=1.0″><title>User-Friendly Calculator</title><link rel=”stylesheet” href=”styles.css”></head><body><div class=”calculator”><input type=”text” id=”display” placeholder=”0″ disabled><div class=”buttons”><button id=”clear”>C</button><button id=”backspace”>⌫</button><button>%</button><button>÷</button><button>7</button><button>8</button><button>9</button><button>×</button><button>4</button><button>5</button><button>6</button><button>-</button><button>1</button><button>2</button><button>3</button><button>+</button><button class=”double”>0</button><button>.</button><button class=”double”>=</button></div></div><script src=”script.js”></script></body></html> CSS code for Calculator body {display: flex;justify-content: center;align-items: center;height: 340vh;background-color: #f0f0f0;margin: 0;font-family: ‘Arial’, sans-serif;} .calculator {width: 265px;padding: 20px;background: #fff;border-radius: 18px;box-shadow: 0 4px 10px … Read more

Largest Coastlines in the World – Complete List & Facts

Largest Coastlines in the World Coastlines are the meeting point of land and ocean, shaping countries’ geography, trade, culture, and tourism. Some nations are blessed with incredibly long coastlines, giving them access to abundant marine resources and stunning beaches.In this article, we’ll explore the countries with the largest coastlines in the world and interesting facts … Read more

Top 10 Longest Rivers in India – Complete List & Facts

Top 10 Longest Rivers in India Rivers are the lifelines of India, sustaining agriculture, providing drinking water, supporting industry, and nurturing diverse ecosystems.India is blessed with some of the longest rivers in the world, flowing through multiple states and even crossing international boundaries.In this article, we’ll explore the Top 10 Longest Rivers in India, their … Read more

Major Rivers of India: Origins, Tributaries & Their Importance

Major Rivers of India: Origins, Tributaries & Their Importance Discover the major rivers of India, their origins, tributaries, and importance in agriculture, culture, and the economy. Indian rivers list, Ganga river, Brahmaputra river, Godavari river.. Importance of Rivers in India River Length (km) States Indus 3,180 Ladakh, Gujarat Brahmaputra Around 2,900 km (916 km in India) … Read more

Exit mobile version