This project is coded in React and SCSS, which means you can't directly insert majority of this code into an existing HTML, CSS, or JS file.
As SCSS is a CSS preprocessor you can convert it into plain css easily, either via running npm run sass
after downloading the project, downloading the file and running sass yourself, or by using an online converter.
Unfortunately, React isn't simply a JS/HTML preprocessor and as such cant be compiled in such a simple manner. Some areas of the code can be used in an HTML file or JS file separately, although you have to be careful.
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.
Compile the .scss file to a .css file. This allows you to freely copy paste any code into an existing project.
Note that comments aren't copied into the compiled .css file.
After building the project, run this command to see the build running locally (via the serve package)