An open API service indexing awesome lists of open source software.

https://github.com/smenjas/chemistry-explorer

A chemistry app built with vanilla JavaScript
https://github.com/smenjas/chemistry-explorer

chemical-compounds chemical-elements chemistry isotopes periodic-table

Last synced: 4 months ago
JSON representation

A chemistry app built with vanilla JavaScript

Awesome Lists containing this project

README

          

# Chemistry Explorer

This is a chemistry app built with vanilla JavaScript. It's an exercise to
learn web development fundamentals, using the simplest technology stack: HTML,
CSS, & JS.

## Exercise Constraints
- No server-side processing required
- No libraries, frameworks, templates, or preprocessors
- Limited dev tools:
- [Node.js](https://nodejs.org/)
- [ESLint](https://www.npmjs.com/package/eslint)
- [JSDoc](https://www.npmjs.com/package/jsdoc)
- [nodemon](https://www.npmjs.com/package/nodemon)
- [Stylelint](https://stylelint.io/)

## Goals
- [x] Show the periodic table of the elements
- [x] Show details about each element
- [x] Show info about simple chemicals (e.g. H2, H2O, NH3)

![Periodic Table of the Elements (large)](screenshots/periodic-table-large.png)
![Silicon element details](screenshots/silicon.png)
![SiO2 compound details](screenshots/SiO2.png)
![Group 14](screenshots/group-14.png)
![Period 3](screenshots/period-3.png)
![Isotopes](screenshots/isotopes.png)

## Development
Install the dependencies by running:
```sh
npm install
```
Start the node server with:
```sh
npm run dev
```
Identify syntax and style issues with:
```sh
npm run lint
```
Generate documentation with:
```sh
npm run doc
```
Run automated tests with:
```sh
npm run test
```

[Molecule](https://icons8.com/icon/C1tk3b2DIflx/molecule) icon by [Icons8](https://icons8.com)