Advertisement
TZinovieva

Show More JS Advanced

Jul 20th, 2023
792
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function showText() {
  2.     let readMoreElement = document.getElementById('more');
  3.     let displayTextElement = document.getElementById('text');
  4.  
  5.     readMoreElement.style.display = 'none';
  6.     displayTextElement.style.display = 'inline';
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement