Advertisement
koderkaran

web-cheatsheet

Oct 23rd, 2020 (edited)
2,186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <h4>
  2. </h4>
  3.  
  4. <h4 id = "">
  5. </h4>
  6.  
  7. <button>
  8. </button>
  9.  
  10. <button onclick = "">
  11. </button>
  12. <br/>
  13.  
  14. var computer =
  15.  
  16. function calculate ()
  17. {
  18.  
  19. }
  20.  
  21. function calculate (player)
  22. {
  23.  
  24. }
  25. function getComputerNumber ()
  26. {
  27.  
  28. }
  29.  
  30. <body onload = "getComputerNumber ();">
  31. if ()
  32. {
  33.  
  34. }
  35.  
  36. document.getElementById ("").innerHTML =
  37.  
  38. Math.random ()
  39.  
  40. Math.random () * 10
  41.  
  42. Math.floor ()
  43.  
  44.  
  45. CSS:
  46. h4{
  47.  
  48. }
  49. font-family: sans-serif;
  50.  width:45px;
  51.   height:35px;
  52.   font-size: 22px;
  53.  
  54. -------------------------------------------------------------------------------------------
  55.  
  56.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement