I want my app to take text from other web pages!
If I insert the word "computer" I want to go to the URL of Cambridge's website and to take data I need.
insertingNewWord(insertedWord){
var pageHTML = "https://dictionary.cambridge.org/dictionary/english/"+insertedWord;
var definition = pageHTML.getElementByClasName("def-head");
return definition;
}
Any idea how I could take any tag by Class or ID name from another page, and printed in my app. If I get a solution in ReactJs that would be even better.