My roommate loves HTML/CSS/SASS/etc. and designing websites but doesn't like JavaScript. Despite my encouragement he's currently going through his own webdev crisis as well.
Correct. See my edit. I misread his original comment.
My roommate loves HTML/CSS/SASS/etc. and designing websites but doesn't like JavaScript. Despite my encouragement he's currently going through his own webdev crisis as well.
I think that in year 2015 lacking even the basic understanding of JavaScript will severely gimp your abilities as a web developer and even as web designer. Of course you can just develop and design static sites, but the demand might be pretty low for that. Sure you can design your sites in Photoshop or Illustrator too, but the tooling has evolved so much that it's becoming more and more unnecessary if you have the front-end skills to complement that.
Why does JavaScript seem boring to you @Pixeluh? There's much much more to JavaScript than your basic Code Academy course will teach you, but then again you are pretty lost with the bigger picture if you don't learn the basics first.
Even if you worked in a team where say you do the visible parts and someone else does all the scripting, it will still help both of you immensely if you both know what you can and cannot do with. Designing a nice looking concept on paper is nothing if it's not reasonable in implementation phase.
It's hard for me to understand, which is why I'm not enjoying it. When I try to read through some books or such, it's becomes such a headache. I'll probably just try and go through a couple of books anyways. I guess everyone has a beginner's hurdle at some point over something.
Well that I can understand. I guess it will click with you at some point, at least when you notice that some things you can just do much more easier with JavaScript than without. But yeah, the first steps might be tough especially if you haven't coded before.
I don't know if it will help your motivation or not, but here's a random cool thing you can do with JavaScript: remaking the intro from the movie "Birdman" with JavaScript: http://markmarkoh.com/birdman/
Well, in the case of my roommate he doesn't necessarily hate Javascript; he just feels like there's no good way to learn it on your own outside of the basics on Codecademy. I think he has Eloquent Javascript, but he doesn't know what projects to build to grow and challenge himself
I can only speak for myself, but I found the most effective way to learn for me was to just build random crap sites that relied on JavaScript.
Like I made a browser whiteboard, and then a Spotify search page using their API and AJAX calls, among others. And whenever I wanted to solve a programming problem I would try to do it in JavaScript first.
Well that I can understand. I guess it will click with you at some point, at least when you notice that some things you can just do much more easier with JavaScript than without. But yeah, the first steps might be tough especially if you haven't coded before.
I don't know if it will help your motivation or not, but here's a random cool thing you can do with JavaScript: remaking the intro from the movie "Birdman" with JavaScript: http://markmarkoh.com/birdman/
Are back languages fun? I haven't touched or read much about them. I'm still a complete noob to all of this.
This is easier said than done, at least for me. I am also struggling getting my head wrapped around JavaScript.
Before you can just 'learn' from building or recreating sites using JavaScript, you have to have some basic understanding of logic.
I think of JavaScript as a set of plugs you have to connect to your html/css to 'power them Jo's, this has helped my understanding a little to put together scripts that do what I need. And has also helped on how to read them.
But I am still very basic.
Sites like Treehouse, Codecademy don't work for me. You're doing stuff but WHY? What does it do? You're just going through the motions getting achievements...blah.
It doesn't discourage me at all though as I am in this for the long haul. I am currently in school for development. But is one of those accelerated courses. 6 quarters, 10 weeks at a time and it moves fast.
I'm a slow learner lol.
Codecademy was where I started. That quickly got boring though because it was just "do this because reasons" like you mentioned.
I transitioned into making my own stuff by just getting an idea and then Googling/reading until I could actually make it.
Thanks for replying. Did that work? Just googling around? I figure though, a lot of developers are self taught.
I Google around too, I think the most valuable skills are being resourceful, understanding logic, and being creative.
Started a new job on Tuesday, completely new stack for me. Rails, with React on the front end. Taking a little while to get used to.
Anybody else use either?
React is so hot right now.
I love reading about all the new fancy things people use that they'll replace in 6 months.
also, Google just released something called foam
"FOAM is a full-stack, reactive, deeply MVC metaprogramming Javascript framework."
excuse me while I blow my brains out.
if your friend still hates JS I would honestly advise you stay as far away from what's hot right now and make some browser extensions or something. Learn the language because there's some good things in there.
I have a question I recently started developing in JavaScript/Jquery. I have had prior XP with the language yet it was a two lecture dabble in my Web Dev class.
My question is I can I add a string of text to an already existence text, yet I desire to add the added text at the back of the string that is already present.
Illustration: "<existing text>"There goes the guy................Nchracter"
I have added the extra text with the (.append) function yet it is added to the front of the existing text.
Illustration1: <added text>"How goes there"---- "<existing text>"There goes the guy................Nchracter"
So, do I have to write a custom function to read the text of the existing string to see where the last character exist and then add the append text after it. Or is there any native function to the libraries that could help me.
Thanks, Web GAF
Double post time.
Just got offered $3/hr for web dev work.
Sure I'm in school still, but I have a year of work experience already and that's just a slap in the face.
Double post time.
Just got offered $3/hr for web dev work.
Sure I'm in school still, but I have a year of work experience already and that's just a slap in the face.
Ya thats gross.
That's amazing lmao
Where they are divided perfectly and change into 4 boxes vertically if viewed on small screens.
Trying to redesign my personal website landing page, would appreciate some guidance.
If I want to divide it into something like this
Where they are divided perfectly and change into 4 boxes vertically if viewed on small screens.
Is this what Flexbox would be best at? Or should I be trying divs everywhere and try to make the boxes responsive.
Yeah it seems to be a good solution. A bit annoyed by some of the browsers support from IE and Safari.Flexbox is probably what you are looking for. You could do the same with responsive <div>'s in a grid/column, but flexbox would be cleaner I think.
Here's a good writeup with an example towards the bottom that's damn near exactly what you want. https://css-tricks.com/snippets/css/a-guide-to-flexbox/
Thinking about getting a Raspberry Pi to run my personal site. Is this a good solution since I'm not expecting lots of traffic or should I look into website hosting solutions instead? If the Pi route is fine, what software do I absolutely need? Trying to keep things as minimal as possible.
If you are a student you can get I believe 100 dollars credit from Digital Ocean with Github student pack. You can get a lot of free months to host your website this way.I would just go with a $5/mo Digital Ocean or $10/mo Linode VPS if you can afford it. Very reliable and super simple.
If you are a student you can get I believe 100 dollars credit from Digital Ocean with Github student pack. You can get a lot of free months to host your website this way.
Or you can just use Github Pages if you don't expect to run any server side code.
Thinking about getting a Raspberry Pi to run my personal site. Is this a good solution since I'm not expecting lots of traffic or should I look into website hosting solutions instead? If the Pi route is fine, what software do I absolutely need? Trying to keep things as minimal as possible.
Thanks for replying. Did that work? Just googling around? I figure though, a lot of developers are self taught.
I Google around too, I think the most valuable skills are being resourceful, understanding logic, and being creative.
Started a new job on Tuesday, completely new stack for me. Rails, with React on the front end. Taking a little while to get used to.
Anybody else use either?
I would just go with a $5/mo Digital Ocean or $10/mo Linode VPS if you can afford it. Very reliable and super simple.
These are really cool options and I will definitely look into them. I liked the idea of having it local though so I can maintain everything myself. I'm really comfortable with Windows/Linux command line and just completed a networking class so I figured the next step in learning was taking control of my website instead of using Weebly.If you are a student you can get I believe 100 dollars credit from Digital Ocean with Github student pack. You can get a lot of free months to host your website this way.
Or you can just use Github Pages if you don't expect to run any server side code.
Hmmm...now that I think about it, I'm running several resources on my page as blog posts but they could easily be static pages. Might make the Github offer more tempting.The hosting solutions are great, but your Rasp Pi would be perfect for hosting. In fact my coworker hosts his personal site on his Pi with a CMS that he built himself. It's perfectly capable for hosting!
Personally I use GitHub pages for my main site, and DigitalOcean for hosting my blog that runs on Ghost.
Hmmm...now that I think about it, I'm running several resources on my page as blog posts but they could easily be static pages. Might make the Github offer more tempting.
blog posts be static pages.
I was talking with a friend last night that recommended that. Probably the easiest route. Anything else I should consider essential?How about
with something like Jekyll? (http://jekyllrb.com/). If your blog is running on Wordpress or similar, you might even be able to automatically import all your content with jekyll-import.
I was talking with a friend last night that recommended that. Probably the easiest route. Anything else I should consider essential?
Well,
static site generation is covered for you by a lot of systems.
Have a look here https://staticsitegenerators.net or here https://www.staticgen.com
is my code on the HTML page.<img src='Images/palm.jpg' id="large" alt="palm" onmouseover="largerSize();" onmouseout="normalSize();"
function normalSize() {
document.getElementById("large").src="Images/palm.jpg";
}
function largerSize() {
document.getElementById("large").src="Images/largepalm.jpg";
}
// Called when mouse enters the element
$('#large').mouseover(function() {
$(this).attr('src', 'Images/largepalm.jpg');
});
// Called once the mouse leaves the element
$('#large').mouseout(function() {
$(this).attr('src', 'Images/palm.jpg')
});
// Called when mouse enters the element
document.getElementById('large').addEventListener('mouseover', function() {
this.src = 'Images/largepalm.jpg';
});
// Called once the mouse leaves the element
document.getElementById('large').addEventListener('mouseout', function() {
this.src = 'Images/palm.jpg';
});
The mouseover thing can be done just in HTML I think. Maybe. At least I recall a friend doing so when we were messing around with our schools free hosting thing.
<img src='Images/palm.jpg' id="large" alt="palm"
onmouseover="document.getElementById('large').src='Images/largepalm.jpg'"
onmouseout="document.getElementById('large').src='Images/palm.jpg'"
>
Sure can. I feel more comfortable separating my logic from my structure though.
HTML
Code:<img src='Images/palm.jpg' id="large" alt="palm" onmouseover="document.getElementById('large').src='Images/largepalm.jpg'" onmouseout="document.getElementById('large').src='Images/palm.jpg'" >
<img src='http://i.imgur.com/m7DCgSP.png' id="large" alt="palm"
onmouseover="this.src='http://i.imgur.com/PYJNmCb.jpg'"
onmouseout="this.src='http://i.imgur.com/m7DCgSP.png'"
>
div {
display: block;
background-image: url('http://i.imgur.com/m7DCgSP.png');
height: 500px;
width: 500px;
background-repeat: no-repeat;
background-size: contain;
}
div:hover {
background-image: url('http://i.imgur.com/PYJNmCb.jpg');
}