Written in JavaScript, this program takes an input of a paragraph of text and validates if the psuedo HTML tag syntax is correct
- VSCode. Or whatever your favourite IDE is.
checkTags.test.js takes the input test values from tests.js
It verifies 3 functions within checkTags.js file:
-
_opposingTag
-
_checkTags
-
checkTags
To run the tests execute npm test
Run main.js file which will prompt for user input. Enter a paragraph to be checked
node main.js