Skip to content

This project returns those elements from the periodic table that form a given word

Notifications You must be signed in to change notification settings

EduardoZepeda/elementalNames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elemental names

This web app was inspired by this code wars kata

Functionality

Given a word it uses symbols of elements to construct it, in order, of course. If the given word can be formed by elements it'll show all the ways it can be formed, otherwise, it won't return anything.

For example:

Beach can be formed by the following elements:

  • Be (Beryllium) Ac (Actinium) H (Hydrogen)

Some words, like snack, can be formed in several ways:

  • S (Sulfur), N (Nitrogen), Ac (Actinium), K (Potassium)
  • S (Sulfur), Na (Sodium), C (Carbon)m K (Potassium)
  • Sn (Tin), Ac (Actinium), K (Potassium)

You can see the project running on Vercel here

Stack

This project was made using React, Create-React-App, TailwindCSS and CRACO, therefore all the default commands are available. For further and detailed information. Please refer to the Create-React-App official documentation

About

This project returns those elements from the periodic table that form a given word

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages