Skip to content

agzaiyenth/99x

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gizmo Gazette : Tech Gadget Review Platform

Dive into our comprehensive analyses of the latest gadgets, from smartphones to smart home devices. Stay ahead with our expert opinions and find your next tech obsession with us. Join our community of tech enthusiasts and navigate the ever-evolving world of technology with confidence.

Pre-requisites

Step 1: Install NodeJS

NodeJS is a tool that helps you run JavaScript code on your computer. Follow these simple steps to install it:

  1. Visit the NodeJS website by clicking on this link: NodeJS Download.
  2. You'll see two versions to choose from: "LTS" and "Current." For simplicity and stability, let's go with the "LTS" (Long Term Support) version. Click on it.
  3. On the download page, you'll find installers for different operating systems like Windows, macOS, and Linux. Select the one that matches your computer's operating system, and click to download it.
  4. Once the installer is downloaded, run it by double-clicking on the file. Follow the installation instructions, which are usually straightforward. You can use the default settings in most cases.
  5. After the installation is complete, you can check if NodeJS is properly installed by opening your computer's terminal or command prompt and typing node -v. If you see a version number, it means NodeJS is installed.

Step 2: Install Git

Git is a tool that helps you manage and track changes in your code. Here's how to install it:

  1. Visit the Git website by clicking on this link: Git Download.
  2. You'll see download options for different operating systems. Choose the one that matches your computer's operating system, and click to download it.
  3. Once the Git installer is downloaded, run it by double-clicking on the file. Follow the installation instructions. Again, you can typically use the default settings.
  4. After the installation is complete, you can check if Git is properly installed by opening your computer's terminal or command prompt and typing git --version. If you see a version number, it means Git is installed.

Running the tests

Install project dependencies:

npm install

Run tests:

jest

Running the app

You can open the index.html in a browser directly from the directory itself.

Tasks to complete

Task 1

In our tech gadget rating system, the admin has decided to rename the header to "Gizmo Gazette : Tech Reviews Platform"

The solution should be implemented within the index.html file.

Task 2

In our tech gadget rating system, accurate ratings are paramount, and it's important to note that the lowest rating may not always accurately represent a product's quality. To address this, we need to refine our rating criteria for a more balanced and informative system.

The solution should be implemented within the findLowestRatedProduct function in the app.js file.

Task 3

Additionally, our system highlights the highest-rated product, a key feature that deserves attention. Your expertise in enhancing this aspect is vital to ensure our system effectively presents the top-rated products, making a significant impact on our user experience.

To address this, the solution should be implemented within the findHighestRatedProduct function in the app.js file.

Task 4

it is important to provide users with accurate average ratings for tech gadgets. This task is a crucial component of our technical assessment, and your expertise in optimizing this feature will contribute significantly to the precision and value of our platform.

To address this, the solution should be on the implementation of the calculateAverageRating function located in app.js.

Task 5

Identify the algorithm used for sorting reviews in the tech review system. Ensure that it prioritizes (Desecnding order) and displays reviews based on their ratings.

To address this, the solution should be on the implementation of the sortProductsByRating function located in app.js.

Task 6

In our Tech Gadget review system, we identify verified products based on a unique criterion: if the reviewId is a palindrome number, it qualifies as a verified product. Your expertise in optimizing this feature will significantly enhance the reliability and user experience of our platform.

To address this, the solution should be implemented within the isPalindrome function in the app.js file.

Task 7

Furthermore, in our Tech Gadget review system, obtaining the count of verified products is a key metric for our users. Your expertise in optimizing this functionality is integral to accurately providing users with insights into the number of verified products, enhancing the overall user experience on our platform.

To address this, the solution should be on the implementation of the noOfVerifiedReviews function within app.js.

In conclusion, these enhancements are vital for our Tech Gadget review system, as they empower us to deliver more accurate product. Your contributions in optimizing these functionalities are instrumental in providing an enhanced user experience within our tech-oriented domain

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published