ndburrus

size your images @seananthony813

Aug 15th, 2016
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. <!-- @seananthony813
  2. size your images -->
  3.  
  4. <!-- we need the link address here. The link address is:
  5. <link href="http://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
  6.  
  7. <!-- in the following style section, we need to have 4 elements:
  8. .red-text {color: red;} - you have this one already.
  9. .smaller-image {width: 100px;}
  10. h2 {font-family: Lobster,Monospace;} &
  11. p {font-size: 16px; font-family: Monospace;} - you have this already also.
  12.  
  13. <style>
  14. .red-text {
  15. color: red;
  16. }
  17.  
  18. p {
  19. font-size: 16px;
  20. }
  21. </style>
  22.  
  23. <h2 class="red-text">CatPhotoApp</h2>
  24.  
  25. <!-- <style> this code that is commented can be removed.
  26. {
  27. font-family,
  28. sans-serif,
  29. monospace;
  30. } there is only one set (opening/closing) of style tags. -->
  31.  
  32. <!-- we need the image element here. the img element is
  33. <img class="smaller-image"; src="https://bit.ly/fcc-relaxing-cat">
  34. you may need to add an alt to it -->
  35.  
  36.  
  37. <!-- the </p> needs to be removed. --> </p> <p class="red-text">Kitty ipsum dolor sit amet,
  38. shed everywhere shed everywhere stretching attack your ankles chase the red dot,
  39. hairball run catnip eat the grass sniff.</p>
  40.  
  41. <!-- the following p element needs to have the class red-text, like the 1st p element. -->
  42. <p>Purr jump eat the grass rip the couch scratched sunbathe,
  43. shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
Add Comment
Please, Sign In to add comment