I am trying to create a header on top of an image and the script should reduce the length of the text if it is longer than 40 characters and add 3 dots at the end of the string let content = document.getElementById('videoText') I tried searching this on other questions as well but I don't seem to understand this method.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |