Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

only in javaScript Task 1 (DOM Methods) You are required to build a small news application. The application will create and display snippets from news

only in javaScript

image text in transcribed

Task 1 (DOM Methods) You are required to build a small news application. The application will create and display snippets from news articles at the top of a HTML page. The articles are in HTML format (See fma_t1.html). The application should make extensive use of the JS DOM methods we studied in session 5 of the module (e.g. createElement, appendChild, etc.). The application should iterate through the news articles. It should get the article headline and the first sentence of each article. It should then create a snippet, and display the snippet towards the top of the HTML page. The output of the application will be as follows: Bizzare News Mash Up Bizzare News Summary What a load of Bull! ... Chinese Kung Fu Masters are seeking the ultimate opponents. Has Anybody got a Tissue? ... A Hawaiian monk seal got an el caught in its nose - and it wasn't the first time for these endangered creatures. Dog Pulls Off Spectacular Save During Argentina Soccer Match.... A pooch invaded the pitch during a Federal A league match between Juventud Unida and Defensores de Belgrano over the weekend. Nobody Beats The Laws of Nature. ... A 69-year-old Dutch man has failed in his attempt to legally declare himself 20 years younger News Stories in Full What a load of Bull! Chinese Kung Fu Masters are seeking the ultimate opponents. Several times a week, kung fu teacher Ren Ruzhi enters a ring to spar with a bovine opponent around five times his weight and capable of killing him. Make sure you study the markup and CSS carefully before you begin your work. Save your work as username_jv_fma_task1.js and username_jv_fma_task1.html in a folder called jv_fma_task1. Task 1 (DOM Methods) You are required to build a small news application. The application will create and display snippets from news articles at the top of a HTML page. The articles are in HTML format (See fma_t1.html). The application should make extensive use of the JS DOM methods we studied in session 5 of the module (e.g. createElement, appendChild, etc.). The application should iterate through the news articles. It should get the article headline and the first sentence of each article. It should then create a snippet, and display the snippet towards the top of the HTML page. The output of the application will be as follows: Bizzare News Mash Up Bizzare News Summary What a load of Bull! ... Chinese Kung Fu Masters are seeking the ultimate opponents. Has Anybody got a Tissue? ... A Hawaiian monk seal got an el caught in its nose - and it wasn't the first time for these endangered creatures. Dog Pulls Off Spectacular Save During Argentina Soccer Match.... A pooch invaded the pitch during a Federal A league match between Juventud Unida and Defensores de Belgrano over the weekend. Nobody Beats The Laws of Nature. ... A 69-year-old Dutch man has failed in his attempt to legally declare himself 20 years younger News Stories in Full What a load of Bull! Chinese Kung Fu Masters are seeking the ultimate opponents. Several times a week, kung fu teacher Ren Ruzhi enters a ring to spar with a bovine opponent around five times his weight and capable of killing him. Make sure you study the markup and CSS carefully before you begin your work. Save your work as username_jv_fma_task1.js and username_jv_fma_task1.html in a folder called jv_fma_task1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

c. What groups were least represented? Why do you think this is so?

Answered: 1 week ago

Question

7. Describe phases of multicultural identity development.

Answered: 1 week ago