added code tag snippet instead of images

This commit is contained in:
SHREYAS SUKHADEVE 2022-10-12 23:54:26 +05:30 committed by GitHub
parent 8da5f0164b
commit 76becd4e73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,10 +26,17 @@
<summary>see code:</summary>
<p>
The code to implement this editable content function in a list is as below:<br>
<img src="../code-example-images/content-editable.png" alt="couldn't load image"/>
```html
<h2> Shoppping List (Content Editable) </h2>
<ul class="content-editable" contenteditable="true">
<li> 1. Milk </li>
<li> 2. Bread </li>
<li> 3. Honey </li>
</ul>
```
</p>
</details>
</div>
</body>
</html>
</html>