How shall I send the code?
To share the code just use
3 times “`” before and after the code…
like
it must be written like this :
```
<div>
<p>This parrot is pining for the fjords</p>
</div>
```
How shall I send the code?
To share the code just use
3 times “`” before and after the code…
like
it must be written like this :
```
<div>
<p>This parrot is pining for the fjords</p>
</div>
```
@Annabelle , You may try this 🙂
It works like a charm here.
Let me know…
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Step 6</title>
<script>
function disableCheckBoxes(){
var elmnts = document.getElementsByTagName("input");
for (var i=0; i < elmnts.length; i++) {
elmnts[i].checked=false;
}
}
</script>
</head>
<body>
<div class="col-sm-4">
<label class="checkbox">
<input name="optionalCeremonies" type="checkbox" value="plantingCeremony">
Tree-Planting
</label>
</div>
<div class="col-sm-4">
<label class="checkbox">
<input name="optionalCeremonies" type="checkbox" value="dancingCeremony">
Didgeridoo Circle
</label>
</div>
<div class="col-sm-4">
<label class="checkbox">
<input name="optionalCeremonies" type="checkbox" value="spam1">
Eat spam and bacon
</label>
</div>
<div class="col-sm-4">
<label class="checkbox">
<input name="optionalCeremonies" type="checkbox" value="parrot1">
Buy a parrot
</label>
</div>
<div class="col-sm-4">
<label class="checkbox">
<input name="optionalCeremonies" type="checkbox" value="pining">
Pining for the fjords
</label>
</div>
<button aria-pressed="false" onClick="javascript:disableCheckBoxes()">
Disable These
</button>
</body>
</html>
I have this HTML code that I’m writing for an app that I like to call Ceremony Script Generator. On the Wedding Ceremony Builder section of this app, there’s a page I’m writing about extra ceremonies. However, I’m having trouble building a button that says, “Disable These”. I want to make it a toggle button, but I’m not sure how to do this with HTML code. Here’s the code I have so far. Tell me if this looks right to you. How shall I send the code?
Hi Annabelle, I’m sure we can help you better if you show us your code
Here’s the code I’ve written so far. Tell me if this looks right to you.
“`