What do you want to save?
Add Code snippet
New code examples
-
Python 2022-03-21 19:20:16
solve a second degree equation in python
import math print ("The second degree equation comes in the form") print("ax²+bx+c") a =int (input("Enter a: ")) b =int (input("Enter b: ")) c =int (input("Enter c: ")) d = (b**2)-(4*a*c) if d <... Add solution -
Javascript 2022-03-20 05:45:24
what does sanitize do javascript
// our input string to clean const stringToClean = 'Some text <b><i>with</i></b> <blink>tags</blink>, including a rogue script <script>alert(1)</script> def.'; const result = new Sanitizer().sanitize(string... Add solution -
Javascript 2022-03-20 04:30:10
profile Image Picture Preview
<---------------------------------- HTML -------------------------------> <div class="container"> <div class="picture-container"> <div class="picture"> <img src="https:/... Add solution -
Javascript 2022-03-20 02:25:33
9.6.4. Beyond for Loops // Input Validation // while loops
const input = require('readline-sync'); let num = input.question('Please enter a positive number:'); num = Number(num); while (num <= 0) { num = input.question('Invalid input. Please enter a positive number:'); num = Number(num); } /*This prog... Add solution -
CSS 2022-03-19 18:00:12
how to saturate colors in css
/* syntax: The amount of the conversion, specified as a <number> or a <percentage>. A value under 100% desaturates the image, while a value over 100% super-saturates it. A value of 0% is completely unsaturated, while a value of 100% leaves th... Add solution
Best helpers
Ranking is empty