• Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Laurent*

  • Rank

Profile Information

  • Gender
  • Interests
    Being a leader.
  1. I'm working in java script and I'm having a hard time finding my error. My error started with a var named fx. fx is a math expression and I was sure I did everything correctly but I don't know. fx is a representation of the math expression below. Please help me fix this syntax error. var xcoord = 0; var ycoord = 100; var degreeOfRotation = 0; var degree = (-degreeOfRotation *Math.PI)/180; var smoother = 10; var tipAdjuster = 2.8; var innerDisplacement = -3; var fx =( smoother * Math.pow ( ( ( (-ycoord*Math.sin(degree))+(-xcoord*cos(degree))-xcoord) + xcoord ) , tipAdjuster ) )
  2. Introduction I want to standardize my approach to building a css style sheet and the way I use my classes in my HTML. I download the w3 architect template along with w3 css style sheet. I've made edits to the HTLM page to my personalize agenda but I'm unsure how to personalize the css file. From my research looking around the web while I waited for approval, I noticed the w3 css style sheet might be badly written due to how often the !important operator is used, and a few naming problem. I'm very unsure what is right and what is wrong. I have 2 primary goals I want to accomplish. 1st: How should I structure the classes in my css? 2nd: How should I apply styles in the html file? Goals I've learned there are many ways to structure classes in css. What would be the best method for structuring class? Which classes should have children? Should one item have multiple classes and if so how many? Regarding the html part of my personal project I've done some experimenting. I noticed classes being override. I tested multiple conditions and I came to conclusion I should have a process so I get exactly what I want with no override. When I mean process I meant the process of applying style. The example below shows I want to apply styles in a step by step fashion. .I fear I might not be covering enough considerations which is why I want determine a routine process for applying any styles. Example: Step 1) Align object -> (Step 2) Determine font -> (Step 3) color ->(Step 4) ect Any advice?