 and Description values correctly in the console
}

  return (
      <Fragment>
            <div className='header text-center'>
                <h1>Todo List</h1>
                <button className='btn btn-primary mt-2' onClick={()=>{setModal(true)}} >Create a Task</button>
            </div>

            <div className='task-container'>

             //Displaying the task name here. 

              { taskList.map((list)=> {                    
                
                  <li>{list.Name}</li>             
               
                
                 }) 
              }
 
            </div>
            <CreateTask modal={modal}  toggle={toggle} save={saveTask}/>
    </Fragment>

  )
}

export default TodoList

This is the CreateTask Function Component
    import React, { useState } from'react'
    import {Button, Modal, ModalBody, ModalHeader,  ModalFooter} from'reactstrap';
    
    
    const CreateTask = ({modal, toggle, save}) => {
    
            const[taskName, setTaskName] = useState("");
            const[description, setDescription] = useState("");
    
            // FUNCTION handleChange
            const handleChange = (e)=>{
    
            const{name, value} = e.target;
                if(name === "taskName"){
                    setTaskName(value);
                }else{
                    setDescription(value);
                }
    
            }
    
            // FUNCTION handleSave
            const handleSave = ()=>{
                let taskObject ={}
               
                taskObject.Name = taskName;
                taskObject.Description = description;
                save(taskObject);
                // console.log(taskObject)
            }
    

  return (
<div>
    <Modal
        isOpen={modal}
        toggle={toggle}
        // animation={false}
    >
        <ModalHeader toggle={toggle}>
             Create Task
        </ModalHeader>
        <ModalBody>
            <form>

                <div className='form-group'>
                    <label>Task Name</label>
                    <input type="text" className='form-control' name="taskName" value ={taskName} onChange ={handleChange}/>
                </div>

                <div className='form-group mt-4'>
                    <label>Description</label>
                    <textarea className='form-control' name="description" value={description} onChange ={handleChange}/>
                </div>

            </form>
        </ModalBody>
        <ModalFooter>

       // BUTTON which is associate with FUNCTION handleSave
            <Button
                color="primary"
                onClick={handleSave}
            >
                Create
            </Button>
            {' '}
            <Button onClick={toggle}>
                Cancel
            </Button>
        </ModalFooter>
    </Modal>
</div>
  )
}

export default CreateTask


A: Change saveTask to this:
const saveTask = function (taskOBJ){

    setTaskList([...taskList, taskOBJ]);
    setModal(false);

}


A: Your todos are not rendering because you are not returning anything from the iterated array,
{taskList.map((list)=> {
  <li>{list.Name}</li>
})}

// Should be
{taskList.map((list)=> {
  return <li>{list.Name}</li>
})}

// Or 
{taskList.map((list)=> <li>{list.Name}</li>)}

Also, your saveTask should manage the state like so,
const saveTask = function (taskOBJ) {
  // Since your state is an array, 
  // you can't spread the current state array into the updating function. 
  // setTaskList(...taskList, arr)

  // Here you take the `prev` state, and return a new array that
  // contains a spread of `prev` and the new task.
  setTaskList((prev) => [...prev, taskOBJ]);
  setModal(false);

  // Another way of achieving the same could be
  const newTaskList = [...taskList, taskObj];
  setTaskList(newTaskList);
  setModal(false);
};

-12/22/03
Terrorism and National Security: Issues and Trends -- Updated
-12/22/03 The Islamic Traditions of Wahhabism and Salafiyya -- NEW!
-12/15/03 Campaign Finance -- Updated
-12/05/03 Drug Trafficking and North Korea: Issues for U.S. Policy -- NEW!
-12/03/03 India-U.S. Relations -- Updated
-12/03/03 India: Chronology of Events -- Updated
-12/02/03 Pakistan-U.S. Relations -- Updated
-12/02/03 Pakistan: Chronology of Events -- Updated
The Office of Website Management, Bureau of Public Affairs, manages this site as a portal for information from the U.S. State Department.
External links to other Internet sites should not be construed as an endorsement of the views or privacy policies contained therein.Should You Get a Window Unit or Central Air?
Has your current AC unit stopped providing the cool it used to or simply stopped working altogether? Whatever your situation, you might think that an AC replacement is your best answer. However, you might not be sure whether a window unit or central is better for your home. Discover some reasons that can help you decide which option is best for you.
When Are Window Units Better?
Window units fit right in your window and cool the air inside a specific room. When is a window unit a better solution for your needs?
Smaller homes can be mobile homes, apartments, or older homes with less square footage. In any case, they sometimes do not need much to cool the air inside for cool and comfortable surroundings. A window unit can be a good choice if you only need to cool down a small amount of space or a couple rooms. Additionally, a window unit does not take up floor space, which is vital in a smaller home.
Want to have adequate cooling but are not sure that central air is in your price range? A window unit is a good alternative option if you are concerned about budget. Both the initial installation and subsequent maintenance costs are usually affordable. And window units can help you save on your energy bills as well.
A window unit can work effectively as a cooling system if you have adequate fans or ventilation to pair it with.
If moving is in your near future, a window unit is ideal for cooling your home right now and great for moving once moving day arrives. A window unit is also versatile, meaning you can install it in most windows in any type of living situation.
When Is Central Air Better?
Central air comprises of a unit, usually outside, and an indoor thermostat. When should you consider central air as your primary cooling source?
A home with medium or large square footage or multiple rooms often needs a versatile and thorough central air system for complete cooling. A window unit simply cannot provide the air a medium-size or larger home needs to keep its occupants cool and comfortable.
Central air technology improves by the day. Most new models are energy-efficient, which helps the environment and your energy bills. Additionally, newer thermostats are more adjustable and customizable. Whether you want to set temperatures for certain times of the day or switch your AC on and off remotely, many central air systems come with state-of-the-art thermostats.
A central air unit is often quieter than other AC units, mainly because the unit is outdoors. That way, you can enjoy cool air without suffering from loud AC.
Have you considered moving and want to ensure you get the best price for your home? Central air can help, especially if this is a feature that other homes in your area do not have. Central air could increase your home’s value by potentially thousands of dollars.
Whatever your choice in AC, rely on Advanced Heating & Cooling. If your existing AC system was working effectively in the past, but not currently, we can often repair it to bring it back to effective operation. We are happy to answer your questions about air conditioning and recommend an AC unit type based on your housing needs, preferences, and budget. Call us today to learn more and find the AC unit that is right for you.You can pay your Best Buy Credit Card bill at any Best Buy store location, using cash or a check.
Just ask a cashier for assistance or go to the customer service desk. They'll be able to look up your account and process your payment right away.
Best Buy also enables members to make payments online, by mail, or by phone.
The Best Buy Credit Card offers a 25-day grace period, which means that you have 25 days to pay your bill after your statement is made available each month before interest charges begin to accrue.
Keep in mind that only purchases have a grace period, and you’ll only benefit from it when you pay your bill in full each month.
Cash advances and balance transfers do not have a grace period, so finance charges get assessed immediately.
Minimum payment