Food-Static-Data / Food-Static-Data/sd

display data that created Elnur and Wahaj

Open
#236 10 comments 0 reactions 1 assignee Claimed by @elnur004 View on GitHub
enhancement in-progress
Dominant language
JavaScript
Stars
9
Forks
11
PR merge metrics
No merged PRs in 30d

Description

1. Create folder play and file paly.js there.
2. In play.js import files that you have added from filesObjects.js https://github.com/GroceriStar/sd/blob/master/filesObjects.js
To import from filesObjects.js you need to use this import
```
const staticData = require("../../filesObjects")
// to get access to allergies use staticData.dash
```
`staticData` contains data of all files that is stored in src/data. staticData is array that contains all objects. Object contains property name - filename, value - object that was got from file.
staticData.dash returns object.
`dash` is a value of property dash
3. Create loop that will display in console.log objects.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.