Advanced features general directions

Assignment Help Basic Computer Science
Reference no: EM131483598

Advanced Features General Directions

Overview

Remember, in order to meet the "creativity and problem-solving skills" objective, the student is required to produce programming project solutions from given problem descriptions. Note that this objective is not met if a student is able to produce solutions only by pasting together given code fragments. Although pasting code fragments together is sometimes appropriate, it does not enforce the development of creativity and problem-solving skills. Therefore, the homework directions and grading will be tightly aligned to these course learning outcomes.

  1. Demonstrate creativity and problem-solving skills.
  2. Analyze web programs in order to test, debug, and improve them.
  3. Evaluate web pages and web programs to ensure that they use proper coding conventions and documentation.
  4. Create web pages and web programs that use: HTML5, cascading style sheets, dynamic HTML, JavaScript, forms with controls, and Canvas.

Please review the general directions from week 1.

This week you will be spending time learning how to integrate multimedia and other content into your web pages as well as create interactive and animations using the canvas element and javascript. The first program is very easy to implement because of the power of HTML 5. However, the second,will include using JavaScript and the canvas element and require planning on your part in designing your program.

Remember your site this term is a 'Rummage Sale" site.

Problem 1

Your boss wants to develop web pages that show the success of the rummage sale. So your goal is to create web pages that display video, audio and other content in web pages.

Learning Outcomes

  • Demonstrate creativity and problem-solving skills.
  • Create web pages and web programs that use: HTML5, cascading style sheets, dynamic HTML, JavaScript, forms with controls, and Canvas.
  • Evaluate web pages and web programs to ensure that they use proper coding conventions and documentation.

Step 1. Create the overall HTML structureGather your data and create your basic page navigation structure

  1. Save a Word document with copies of your code and screen shots. Add this to your web site in the homework folder after you have completed both problems.
  2. Edit the week7-1.htmlweek7-2.html and week7-3.html pages to have the same style sheet: homework.css
  3. Make sure you have links to all of the pages for this week and the home button in your main navigation menu. You should have a consistent style or theme for your web site that is unique. Don't copy off of other web sites!
  4. Make sure there is some place on the home page that has links to all of the other pages. You can do this in the main menu if you chose the first page layout from week 2. If you chose the Jumbotron, just create a link to at least to the first page for each week.
  5. For Problem 1, we'll work with week7-1.html.
  6. Make sure you add sufficient content to the page!!!! 

Step 2. Insert Multimedia with HTML

Program Requirements: Use the window object methods to create a conversation between you and the visitor to collect information from the user. Determine if the user supports cookies. If yes, then store the information in cookies and then display the results in the web page.

Insert video media with HTML

  1. You will be editing the week7-1.html page.
  2. First you need to find videos or create your own.
  • Sample files you can download https://techslides.com/sample-webm-ogg-and-mp4-video-files-for-html5 (Links to an external site.)Links to an external site.. Because of the file size limitations with online classrooms, it's acceptable to point to the video that is on the web.
  • However you need to have at least 2 different video formats. Again, make sure to have multiple formats for the same video. The purpose is to that everyone can see the same video.
  • Although there are many YouTube downloading programs, please only use media that is in the public domain or has no copyright restrictions. Again, the Gutenberg Library is a great resource for older content (Gutenberg.org), or the Library of Congress for media (www.loc.gov (Links to an external site.)Links to an external site.). An alternative is to download a video from online. In Google, you can right click on a link and select Save Link As, which allows you to save the target file locally. Try to keep The video on this page above is provided in multiple formats, and each is less than 1 MB.
  • If you need to convert your video, there are many free video converters out there. But it's not a requirement and there are plenty of sample videos you could use.

All media should be in media folder off the root folder.

Insert the video in the web page using the video and source elements.

<source type= "video/webm" src="https://techslides.com/demos/sample-videos/small.webm">

Save and preview the page in the browser. 

Insert video from a media server

  1. Insert a video from a media server such as YouTube using iFrame. In the YouTube web site, locate the code they provide.
  2. Your task is to embed a video into your week7-1.html page. TIP: Notice the pattern if you embed a video.So be careful with what videos you use and respect copyright! View the top lists of YouTube Videos at https://www.youtube.com/playlist?list= PLirAqAtl_h2r5g8xGajEwdXd3x1sZh8hC.
  3.  (Links to an external site.)Links to an external site.
  4.  (Links to an external site.)Links to an external site.For example, this would embed the video of Katy Perry Fireworks. Not all of the videos will allow you to embed the content, even if they provide the code.
  5. <iframe width="560" height="315" src="https://www.youtube.com/embed/QGJuMBdaqIw?list=PLirAqAtl_h2r5g8xGajEwdXd3x1sZh8hC" frameborder="0" allowfullscreen></iframe>
  6. Look at the pattern. It's the same pattern for the Taylor Swift video. Notice the querystring attached after the questionmark (?) in the url.
  7. <iframe width="560" height="315" src="https://www.youtube.com/embed/e-ORhEE9VVg?list=PLirAqAtl_h2r5g8xGajEwdXd3x1sZh8hC" frameborder="0" allowfullscreen></iframe>

Insert audio media with HTML

  1. First you need to find audio files or create your own. Samples you can use are located at https://techslides.com/sample-webm-ogg-and-mp4-video-files-for-html5 (Links to an external site.)Links to an external site.. Because of the file size limitations with online classrooms, it's acceptable to point to the video that is on the web.
  2. However you need to have at least 2 different audio file formats. Again, make sure to have multiple formats for the same audio. The purpose is to that everyone can listen to the same audio. Try to keep the audio file small.
  3. If you need to convert your audio, there are many free audio converters out there. But it's not a requirement and there are plenty of sample videos you could use.
  4. All media should be in media folder off the root folder

Step 3. Review and document your HTML

Review and document your program

  1. Review your program to make sure you also used descriptive names for the variables, classes and other elements and stuctures.
  2. Preview and test your program. Again, make sure there is adequate documentation in the programs!
  3. If you need additional screen shots to show your program, just add them here.
  4. Screen shots go here. Show the web page in the browser with the values displayed!
  5. Screen shots go here. Show the HTML code (and any JavaScript if you used anything new)

Problem 2:Step 1. Create the overall HTML structure

The owner wants to have a drawing of some of the objects in the rummage sale on the web site. You will modify the page to create a design using the canvas object and JavaScript. Then you will animate the canvas object in some way.

  1. Gather your data and create your basic page navigation structure
  2. Make a new copy of your page and name it week week7-2.html.
  3. Make sure to include sufficient content in your pages! 
  4. Your goal is to draw an object that is for sale at the rummage sale. This semester you will create: two different lamps on a table.  It would be helpful if you drew out your drawing first on paper or in a computer program like Illustrator or even PowerPoint.You might want to look at some videos on how to draw a lamp. There are several on YouTube.

Step 2. Create an graphical scene using the Canvas object and JavaScriptInsert the canvas element in the page using HTML

  1. You must include:
  • Text elements with different font properties configured.
  • Insert the date of the event.

You need a combination of a variety of elements including:

  • A variety of shapes: squares, circle, ellipse, rectanglepolygonlines and clipping regions
  • A variety of paths and arcs and curves.
  • Use a variety of different colorsgradients and images
  • A variety of special effects such as patternsshadowopacity and transformations

Remember that it's a variety of elements and techniques that we are looking for. We are looking for creativity.

 Use your knowledge of JavaScript to organize your code. For example you might use a function for the lamp and pass parameters or you might want to have a function for each lamp.

There are many ways to create your code. The key is to demonstrate your ability to organize and maintain your code and solve the problem.

Modify the canvas with JavaScript

  1. Modify the canvas drawing in some way, which can be animations, or interactivity.
  • For example, you can have the user click the mouse to start drawing and stop.
  • You can 'move' the lamp using simple linear movement with animation frames
  • You can have the user click and change a property such as the ben color.
  • You can have the user change the color fill of the lampshade.
  • Or come up with your own interactive program.

This will require you doing additional independent reading beyond what is in the book. So this is a 'challenge' to show your problem solving skills and programming creativitiy.

Step 3. Review and document your programs

Review the documentation for your program

  1. Review your programs to make sure you also used descriptive names for the variables, classes and other elements and stuctures.
  2. Preview and test your programs. Again, make sure there is adequate documentation in the programs!
  3. If you need additional screen shots to show your program, add them here
  4. Include a screen shot of your web pages showing your web page in the browser.
  5. Show the HTML, CSS, and JavaScript code.

Reference no: EM131483598

Questions Cloud

Find the absence of the migrants : Remittances from developed countries are over $200 billion each year. These funds are sent to their home countries by migrants in developed nations.
How organizational structure contribute to increased : Describe how organizational structure contribute to increased effectiveness in an organization where the leadership clearly communicates the vision, mission.
Failure of the others : Give examples of how failure of one security property (confidentiality/integrity/availability) can lead to the failure of the others.
Attachment methods for databases : Discuss drive types and attachment methods for databases to be stored on servers. Should the data and the database logs be stored on the same drive?
Advanced features general directions : Remember, in order to meet the "creativity and problem-solving skills" objective, the student is required to produce programming
This company do to improve its organizational effectiveness : What would you recommend that this company do to improve its organizational effectiveness?
Consider when developing successful loyalty-reward program : What are at least three key aspects that a company must consider when developing a successful loyalty/reward program?
Are both countries better off after trade : The figure below shows the production possibilities frontiers (PPFs) for Italy and India for their domestic production of olives and tea.
Write a problog program that takes a particular size of file : You task is to write a ProbLog program that takes a particular size of parkinfo.txt file and calculates probabilities

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Which is better suited for web applications

Explain the difference between two-tier and three-tier architectures.

  How many entries are contained in a map

What is the difference in the result of returning the words in a Hash Set compared with returning them in an Array List?

  Driving force causing this evolution

Discuss the evolution of client-server computing from file server to multilayer applications to Web-based applications. What has been the driving force causing this evolution? Where do you think network computing will be in the next five years? Ten y..

  Designing the most secure network possible,

Term paper involves putting together the various concepts learned throughout this course. You are tasked with designing the most secure network possible, keeping in mind your goal of supporting three (3) IT services: email, file transfer (centralized..

  Who is impacted by cultural competency or the lack thereof

Why is this an important topic? Who is impacted by cultural competency or the lack thereof? Discuss how this topic relates to your studies and how you might apply these ideas in the workplace.

  Knowledgeable and proactive about threats

1. If you could, what would you do to help create a national "security culture" in which everyone is more knowledgeable and proactive about threats to information security?

  Generate a cluster model with the training data set

Using the same variables as the previous exercise, provide a two-dimensional scatter plot, with an overlay of binned silhouette values, as shown in this chapter. Comment on the relationship between your two scatter plots.

  Remove any duplicates from a sequence of numbers

Write a program to remove any duplicates from a sequence of numbers. For example, if the list consisted of the numbers 5, 4, 5, 5, and 3, the program would output 5, 4, 3.

  What is the message

The following padded ASCII-coded message is stored in successive memory locations in a computer.

  A company called fastcabs provides a taxi service to clients

Identify the functional dependencies that exist between the columns of the table in Figure 14.21 and identify the primary key and any alternate key(s) (if present) for the table.

  Mission and values of better world books

What are the mission and values of Better World Books? Critically evaluate their usefulness to the company's management in formulating strategy.

  What is an instance variable in java

What is an instance variable in java? How do I create one and what is it's function?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd