Skip to content

Harry Potter Magic Quiz!

AdamS edited this page Dec 3, 2021 · 3 revisions

Harry Potter Magic Quiz!


DEVELOPMENT INFO

Harry Potter API

https://hp-api.herokuapp.com/

Stack

  • HTML
  • JavaScript
  • SCSS
    • BEM

Our approach to JS coding

Airbnb JavaScript Style LINK

ESLint

INSTALLATION

npm i -D eslint

CONFIGURATION

./node_modules/.bin/eslint --init

How would you like to use ESLint? ...

To check syntax, find problems, and enforce code style

What type of modules does your project use? ...

JavaScript modules (import/export)

Which framework does your project use? ...

None of these

Does your project use TypeScript?

No

Where does your code run?

Browser

How would you like to define a style for your project?

Use a popular style guide

Which style guide do you want to follow? ...

Airbnb: https://github.com/airbnb/javascript

What format do you want your config file to be in?

JavaScript

The config that you've selected requires the following dependencies:

eslint-config-airbnb-base@latest eslint@^7.32.0 || ^8.2.0 eslint-plugin-import@^2.25.2

Would you like to install them now with npm?

Yes

HARRY POTTER COLORS

  • Gryffindor Red #740001
  • Gryffindor Gold #D3A625
  • Slytherin Green #1A472A
  • Slytherin Silver #5D5D5D
  • Hufflepuff Yellow #FFD800
  • Hufflepuff Black #000000
  • Ravenclaw Blue #0E1A40
  • Ravenclaw Bronze #946B2D