Skip to content

sairamya93/js-quality-activity

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

✨ JS Quality Activity ✨

Let's practice tidying some messy code.

This code prints a list of names and then checks that exactly two inputs match the expected number.

πŸ—Ί Instructions

πŸ‘‰ Run npm start. You'll see a list of names printed to the console. Notice that the code is currently failing.

πŸ‘‰ Read /src/index.js

πŸ‘‰ Together with your partner, tidy the code up until the marker saying "β›” STOP".

πŸ‘‰ Aim to make the code more readable, clean, and data-driven.

πŸ‘‰ You should also fix the bug somewhere in lines 0-43 which is causing the code to fail.

β˜‘οΈ When you're finished, the section after the "β›” STOP" marker should be unaltered. Running npm start should list all the names just like before, and then show a "βœ… SUCCESS" message.

πŸ™Œ Happy coding!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%