Hyrax_

u/Hyrax_





r/learnjavascript•

The entire thing works fine except that when you press the "delete" button, the entire list gets deleted. All listitems have their own delete icon and i want them to delete only that listitem.

$(document).on("click", "delete", function(e) {
    node.parentNode.removeChild(node);                                             
});

Full code

var TodoApp = (function (){

var clear = $("#clearButton");
var add = $("#addTodoButton");
var save = $("#saveButton");

function init (){ 
    
    clear.click(function(){localStorage.clear();
    location.reload();});

    save.click(function(){
    var todoList = $("#lista").html();
81


r/techsupport•

Solved!

If anyone finds this in the future: the problem was with the OS. Windows 7 Home premium has some problems with newer intel and amd processeros. An update to windows 10 solved my problem

Hi!

Im not that familiar with computer hardware so hopefully my question doesnt sound too stupid.

I recently had a computer built for me and the processor they put in is a "Intel core i5-6600 @ 3.30GHz". I have been having some lag problems with games that shouldnt be a problem so i decided to check if something was wrong. From what i can tell this CPU is supposed to have 4 cores and 4 threads. This is what show up when i open CPU-Z: https://gyazo.com/8bb1ca0a1adfeda538c57da52902d1ff

59


Ive always been a fan of competitive online games, i love the feeling of improving at a game and gaining ranks. Ive been mainly playing Hearthstone for the past 2 years but its starting to become att bit boring so im looking for a new challenge. I used to love playing Civilization and Warcraft when i was younger so im looking for a game with a bit slower pace. Im not really a fan of Mobas and since im playing on a laptop games with insane graphics are not really a possibility.

41