[Solved] How to change all my value with onclick?

You have a function, but you’re not calling it. Try changing the onclick() to change() and selecting the element using this, (as a parameter). function change(elem) { if (elem.value == “E”) elem.value += “\u266D”; else elem.value = “E”; } <!DOCTYPE html> <html> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″> <link href=”https://fonts.googleapis.com/css?family=Ubuntu” rel=”stylesheet”> <title>Afinador de Violão</title> <meta name=”viewport” … Read more

[Solved] Undefined In JavaScript

Note you read the values of “jobValue” and “twoPeople” just once when the site is loading. Here is a possible solution: <!DOCTYPE html> <html> <title>Lets See</title> <link href=”https://fonts.googleapis.com/css?family=Josefin+Sans” rel=”stylesheet”> <style> h1 { font-family: cursive; } button { font-family: josefin sans; font-size: 30px; border-radius: 10px; background-color: red; color: white; } input { font-family: josefin sans; font-size: … Read more

[Solved] HTML and questions [closed]

You could do: p span { display: block; height: 1em; } However, you should put a class on that span, so it doesn’t affect everything else. EDIT: inline-block would probably be better. solved HTML and questions [closed]

[Solved] ngStyle background-image [duplicate]

Try this <div class=”parallax” [ngStyle]=”{‘background-image’: ‘url(‘+ parallaxImage+’)’}”></div> or getParallaxImage(){ return “url(” + this.parallaxImage + “)”; } Both solutions will work now, use as per your requirements. 0 solved ngStyle background-image [duplicate]

[Solved] Meaning please

this works as below : <script type=”text/java-script”> //javascript code goes here </script> this only tell the compiler o the browser or whatever that the code or script in between the scripts tag is a javascript. solved Meaning please

[Solved] Create three “sections” for information [closed]

It would be good to learn Bootstrap for this, though it’s not mandatory. In Bootstrap you could just define it like this: <div class=”container”> <div class=”row”> <div class=”col-md-4″>Content 1</div> <div class=”col-md-4″>Content 2</div> <div class=”col-md-4″>Content 3</div> </div> </div> A basic way to do this without Bootstrap is here: http://jsfiddle.net/7Zs9f/1/ solved Create three “sections” for information [closed]

[Solved] How To replace Space by ‘+’ sign using javascript

“demo” is not an id that exists in your example. Also, I’m fairly certain you are trying to use php as javascript in there. <a id=’demo’ href=””>is you good</a> <script> const spaceToPlus = (content) => { return content.replace(/ /g, ‘+’); } let anchor = document.getElementById(‘demo’) let attributeHref = spaceToPlus(anchor.innerHTML); anchor.setAttribute(‘href’, attributeHref); </script> 0 solved How … Read more

[Solved] Issue with my website url [closed]

You need to move the home.html file in to the start directory, in other words not in any folders or just out of the OBI1.0 folder, and rename it index.html. Then you can go to obiventures.com / http://obiventures.com / http://obiventures.com/ and it will be there. Oh, and nice website by the way. 0 solved Issue … Read more