Lab 2 Report - HemanthDantu/Spring2018 GitHub Wiki

Part-1(News Api)

ToDo:

To create a webpage with login and Registration pages, upon login show top news articles from BBC, the page should ## contain a search bar to search for a topic and filter the results from a list of available Publishers.

Tools Used:

• Html5 • CSS • JavaScript • Angular JS • JQuery

Procedure:

A simple Login and Registration Html page are created.

Part 2

To Design Tic Tac Toe Game

Tic-tac-toe is a paper-and-pencil game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game

Procedure:

Empty grids for players to start the game. The boxes are named as 1 to 9 respectively The JavaScript logic is, ‘if’ conditions verifying all the possible cases that can occur for the player are verified if any of the case is true then the respective player wins.