I'm creating a simple CRUD app using React for my front-end, and I'm having trouble with this error:
app.js:21988 Warning: Invalid DOM property `for`. Did you mean `htmlFor`?
Here's my code:
import React, { Component } from 'react';
import axios from 'axios';
export default class Add extends Component {
    constructor()
    {
        super();
        this.state={
            blogs_name:''
        }
    }
    render() {
        return (
            <div>
                <form>
                     <div className="form-group">
                        <label for="blogs_name">Title</label>
                        <input
                            type="text"
                            className="form-control"
                            id="blogs_name" 
                            value={this.state.blogs_name} 
                        />
                    </div>
                    <button type="submit">Submit</button>
                </form>
            </div>
        );
    }
}
I assume that it has to do something with the for property in my label.
Any help is appreciated.
 
     
     
     
     
    