Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
To add in the content, let's open our snippets file. So in Dreamweaver let's choose File > Open. From the Desktop let's go to exercise files. Let's open snippets.html. Let's switch over to Code view. Inside of Code view let's do Edit > Select All, then choose Edit > Copy. Let's switch back to our faq.html. Let's switch over to Code view, and what we want to do inside of Code view is we want to take the class faq, select that entire div, delete it with all of the divs inside, and simply paste in all of the markup that we copied from the snippets file.
So we can scroll through and see all of the content now showing in the page. To test this out let's choose File > Save All, and then let's preview this in the browser. Once this loads in a browser we can scroll through the page in the browser and see all of individual questions. I can click on each question, and then it will open the corresponding answer to the question I clicked on. Then clicking on each question will close its corresponding answer as well. Now that we have all of our content in place, and we have all of the questions opening their corresponding answers, in the next movie we'll add some additional CSS rules for styling and positioning the Q and the A letters.
Get unlimited access to all courses for just $25/month.Become a member
58 Video lessons · 66302 Viewers
61 Video lessons · 96793 Viewers
56 Video lessons · 110494 Viewers
82 Video lessons · 105169 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.