For our Lab #14 we had to write two paragraphs about our favorite subject and why it was our favorite subject. We had to do this so that we could make a block quote for each of the paragraphs. in each of the block quotes we had to have something stand out from our paragraph. In order to do this we made a HTML file and put our paragraphs in <p> tags so that they were displayed. We then gave each paragraph a class so that we would be able to choose what we wanted to stand out. Wherever we wanted the block quote to end is when we closed the <span> tag.
After closing this tag we had to add the jQuery code in order to make the block quote work. We also had to add CSS to the block quote so that we would be able to see it with our background. In the CSS that we inputted we were able to change the text color size of the box and many different specifications. This lab wasn't really challenging, it was kind of simple but it was cool to see it after writing the code and seeing how it works. I think I will be able to use the knowledge and skills I got from this lab in future projects if I would include a lot of text and wanted something in specific to stand out.

No comments:
Post a Comment