Skip to content

facility to add more text and also delete them#22

Open
KIRTIKUMARKK21 wants to merge 2 commits intoContriHUB:mainfrom
KIRTIKUMARKK21:Issue#8
Open

facility to add more text and also delete them#22
KIRTIKUMARKK21 wants to merge 2 commits intoContriHUB:mainfrom
KIRTIKUMARKK21:Issue#8

Conversation

@KIRTIKUMARKK21
Copy link
Contributor

Added feature to add text and also added to feature to delete text.Delete button occurs while we hover over the text.

Copy link
Contributor

@dev-lovedeep dev-lovedeep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i noticed your files are missing some changes from previous commit

one of them is , text was showing on the image.FIX that

fetch(api_url)
.then((data) => data.json())
.then((data) => setAllMemes(data.data.memes));
}, []);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you have removed the catch part from some older commit or pull again


//this state stores information about the current meme
const [meme, setMeme] = useState({
text: [],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

texts would be better, bcz we have many

@KIRTIKUMARKK21
Copy link
Contributor Author

@dev-lovedeep I have taken pull from main branch , Please review my new code and suggest if something is not right

Copy link
Contributor

@dev-lovedeep dev-lovedeep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you extension or something, when i am checking the diff all the files have been changes although the content is same

};
//this is for handling the input
function handleChange(event) {
const { name, value } = event.target;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add check for empty input

name="texts"
onChange={handleChange}
/>
<button type="submit" className="form__button">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

button should be coming next to the input box(in large screen view). Make it responsive

@dev-lovedeep
Copy link
Contributor

@KIRTIKUMARKK21 are you working on this issue?

@KIRTIKUMARKK21
Copy link
Contributor Author

I thought 48 hrs is over and i will not able to contribute,still can I make changes?

@dev-lovedeep dev-lovedeep linked an issue Oct 6, 2022 that may be closed by this pull request
@dev-lovedeep
Copy link
Contributor

I thought 48 hrs is over and i will not able to contribute,still can I make changes?

48 hours is limit for making the first commit

@KIRTIKUMARKK21
Copy link
Contributor Author

Okay ,I am trying to solve the issues

@KIRTIKUMARKK21 KIRTIKUMARKK21 closed this by deleting the head repository Oct 7, 2022
@dev-lovedeep
Copy link
Contributor

closed the PR?

@KIRTIKUMARKK21
Copy link
Contributor Author

Sir I came back to hostel and was getting error while pushing through terminal .I am still not able to push ,my terminal git is not working under college proxy and my mobile network is very slow here. So i have deleted that repo and clones gain .

@KIRTIKUMARKK21
Copy link
Contributor Author

I will go to library and try to push with mobile network.

@KIRTIKUMARKK21
Copy link
Contributor Author

i have made another PR ,Please look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

facility to add more text and also delete them

2 participants