+ 1

How make input number type (bold) for Calculator ? 🙏

24th Jul 2022, 2:42 AM
Zulpakar
Zulpakar - avatar
14 Answers
+ 9
If you want bold text in input textbox then you can use 👇 <input type="text" style="font-weight:bold;">
24th Jul 2022, 3:37 AM
Sujal
Sujal - avatar
+ 6
. display-box { font-weight:900; font-size:25px; } /* use this in css */
24th Jul 2022, 5:51 AM
Sujal
Sujal - avatar
+ 5
Infinity 21 Please link your code so I can help you
24th Jul 2022, 5:36 AM
Sujal
Sujal - avatar
+ 5
So what do you want to appear in bold ?
24th Jul 2022, 5:46 AM
Sujal
Sujal - avatar
+ 5
Infinity 21 this place is for discussion of code related topics and problems so please don't ask such questions here
24th Jul 2022, 6:02 AM
Sujal
Sujal - avatar
+ 2
<!DOCTYPE html> <html lang="en" dir="ltr"> <head> <meta charset="utf-8"> <title>Simple Calculator using HTML, CSS and JavaScript</title> <link rel="stylesheet" href="styles.css"> </head> <body> <table class="calculator" > <tr> <td colspan="3"> <input class="display-box" type="text" id="result" disabled /> </td> <!-- clearScreen() function clears all the values --> <td> <input type="button" value="C" onclick="clearScreen()" id="btn" /> </td> </tr> <tr> <!-- display() function displays the value of clicked button --> <td> <input type="button" value="1" onclick="display('1')" /> </td> <td> <input type="button" value="2" onclick="display('2')" /> </td> <td> <input type="button" value="3" onclick="display('3')" /> </td> <td> <input type="button" value="/" onclick="display('/')" /> </td> </tr> <tr> <td> <input type="button" value="4" onclick="display('4')" /> </td> <td> <input type="button" value="5" onclick="display('5')" /> </td> <td> <input type="button" value="6" onclick="display('6')" /> </td> <td> <inpu
24th Jul 2022, 5:44 AM
Zulpakar
Zulpakar - avatar
+ 1
Thanks for help me..
24th Jul 2022, 5:34 AM
Zulpakar
Zulpakar - avatar
+ 1
Cand make value cal "bold" ?
24th Jul 2022, 5:35 AM
Zulpakar
Zulpakar - avatar
+ 1
This my code
24th Jul 2022, 5:45 AM
Zulpakar
Zulpakar - avatar
+ 1
Sujal good code is working ..thanks 🙏🙏🙏
24th Jul 2022, 6:00 AM
Zulpakar
Zulpakar - avatar
0
2+2=4 I want to value is 4 type bold 🙏
24th Jul 2022, 5:46 AM
Zulpakar
Zulpakar - avatar
0
Sujal ok thanks🙏
24th Jul 2022, 6:34 AM
Zulpakar
Zulpakar - avatar
0
Mohamed Amr (Matsuki) tahanks this working..👌
24th Jul 2022, 12:24 PM
Zulpakar
Zulpakar - avatar