Messsage from sigruna14 in MacGuyver - Skills & Academics #tech


Bobby - Pa 2017-10-09 18:57:43  

https://github.com/rrmarsh1994/todoapp I am trying to learn the DOM right now and i am making a simple app that has a list of things to do, a check box to signal completion and a delete button to delete the completed to do, I am able to get the app creating to dos, having a checkbox but not a delete button that shows or functions, on lines 31-38 i have given my best effort at what I think im supposed to do but im not even close, could someone help me work through this? For someone who knows how this stuff it should be a fairly low teir problem, thanks in advance

Bobby - Pa 2017-10-09 18:58:19  

look at the app.js folder

Deleted User 2017-10-11 03:25:19  

@Bobby - Pa taking a look now

Deleted User 2017-10-11 03:42:23  

https://cdn.discordapp.com/attachments/352761432833523713/367517263009546244/52n8049npqi.png

Deleted User 2017-10-11 03:54:33  

@Bobby - Pa The code seems to be working fine for me. I have some suggestions if you want to hear them, but I can successfully create and delete items.

Deleted User 2017-10-11 03:54:45  

let me know if I'm not understanding the problem you're having

Bobby - Pa 2017-10-11 04:04:29  

sorry i forgot to update the thread, late last night i was able to understand my mistake, my scope was off on my delete button event

Bobby - Pa 2017-10-11 04:04:46  

thanks for taking a look tho @Deleted User i appreciate

Bobby - Pa 2017-10-11 04:04:50  

it

sigruna14 2017-10-11 20:23:38  

Who here can tell me how I can load a Pug template without compiling to HTML using Webpack?

Anti Weeb Aktion 2017-10-18 19:29:38  

Don't forget to Defrag your drives weekly 👍

John O - 2017-10-18 20:28:48  

Do you have a good program for that? I just got a new laptop, and I can't remember what I used on the old one @Gawsh Darn Goy#4287

Deleted User 2017-10-19 15:38:29  

Anyone know much about discord?

Bobby - Pa 2017-10-22 20:24:35  

Hey guys im getting an error in the console that my collection.html isnt calling the state i declared for it when i hit the collection tab in the top right corner. Could someone take a look and give me some advice on what to do? https://github.com/rrmarsh1994/Bloc-Jams-AngularJS

Deleted User 2017-10-23 01:42:41  

@here ☝🏻

sigruna14 2017-10-23 02:03:00  

@Bobby - Pa Copypasta exact error?

Bobby - Pa 2017-10-23 02:04:09  

sounds good

Bobby - Pa 2017-10-23 02:04:23  

angular.js:14525 Error: Could not resolve 'collection.html' from state ''
at Object.z.transitionTo (angular-ui-router.min.js:7)
at Object.z.go (angular-ui-router.min.js:7)
at angular-ui-router.min.js:7
at angular.js:20178
at e (angular.js:6274)
at angular.js:6554
(anonymous) @ angular.js:14525
(anonymous) @ angular.js:11008
(anonymous) @ angular.js:20181
e @ angular.js:6274
(anonymous) @ angular.js:6554
setTimeout (async)
k.defer @ angular.js:6552
f @ angular.js:20176
(anonymous) @ angular-ui-router.min.js:7
hg @ angular.js:3734
d @ angular.js:3722
angular.js:14525 Error: Could not resolve 'collection.html' from state ''
at Object.z.transitionTo (angular-ui-router.min.js:7)
at Object.z.go (angular-ui-router.min.js:7)
at angular-ui-router.min.js:7
at angular.js:20178
at e (angular.js:6274)
at angular.js:6554 "Possibly unhandled rejection: {}"

Bobby - Pa 2017-10-23 02:04:53  

https://cdn.discordapp.com/attachments/352761432833523713/371841378520399872/unknown.png

Bobby - Pa 2017-10-23 02:05:06  

screenshot of error @sigruna14

sigruna14 2017-10-23 02:15:52  

Idk. I'm looking through the code and it looks right, but I really don't know this tech you're using. The error makes it look like the state isn't getting recognized somehow. @Bobby - Pa

sigruna14 2017-10-23 02:17:44  

<div class="links-container">
<a ui-sref="collection.html" class="navbar-link">Collection</a>
</div>

sigruna14 2017-10-23 02:17:47  

This is in your index.html

sigruna14 2017-10-23 02:17:57  

maybe you need ui-sref="templates/collection.html"?

Bobby - Pa 2017-10-23 02:18:04  

darn, I arranged a meeting tomorrow with my mentor so don't spend too much time looking into it, I appreciate the sencond look at my issue tho sig , thanks @sigruna14

Bobby - Pa 2017-10-23 02:18:10  

yeah ill try it let me update u

Bobby - Pa 2017-10-23 02:20:25  

nah same error comes up except it says "templates/collection.html" could not resolve

sigruna14 2017-10-23 02:21:13  

hmph

sigruna14 2017-10-23 02:22:28  

Looks like you're learning Angular 1. Just so you know, they're on like Angular 4 now.

sigruna14 2017-10-23 02:22:35  

It was completely re-done.

sigruna14 2017-10-23 02:22:47  

The only real reason to learn this is basically to work on already-existing projects that were done with Angular 1.

Bobby - Pa 2017-10-23 02:25:42  

really?

sigruna14 2017-10-23 02:26:19  

That's what it looks like to me.

sigruna14 2017-10-23 02:26:31  

I guess I could be wrong but this doesn't look like the kind of Angular syntax I know.

sigruna14 2017-10-23 02:26:36  

And it explicitly says AngularJS.

sigruna14 2017-10-23 02:26:39  

AngularJS = Angular 1.

Bobby - Pa 2017-10-23 02:26:43  

I'll ask about it, I still have plenty to go in the angular library module I'm on, hopefully it becomes more current so if i need help it will be easier

sigruna14 2017-10-23 02:26:48  

www.angular.io

sigruna14 2017-10-23 02:26:52  

This is the latest Angular.

Bobby - Pa 2017-10-23 02:27:50  

ahh ok, yeah this is angular one then, clearly stated that this is angularJS

Bobby - Pa 2017-10-23 02:27:57  

interenting, didnt know that , thanks